camsnap

Take webcam snapshots with path validation, safe resource handling, and flexible output options.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "camsnap" with this command: npx skills add terrycarter1985/camsnap-snap

Camsnap

Camera snapshot utility for AI agents.

Features

  • Safe webcam capture with guaranteed resource release
  • Path traversal protection and extension validation
  • Configurable camera index and output directory
  • Structured logging (no print statements)
  • Type-annotated API

Usage

python3 camsnap.py
python3 camsnap.py --output-dir ./photos
python3 camsnap.py snapshot.png --camera 1

As a module

from camsnap import take_snapshot

path = take_snapshot(output_dir="snapshots", camera_index=0)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Baoyu Post To Weibo

Posts content to Weibo (微博). Supports regular posts with text, images, and videos, and headline articles (头条文章) with Markdown input via Chrome CDP. Use when...

Registry SourceRecently Updated
1.5K1jimliu
General

Baoyu Infographic

Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends layout×style combinations, and generates publicati...

Registry SourceRecently Updated
2.9K2jimliu
General

Baoyu Translate

Translates articles and documents between languages with three modes - quick (direct), normal (analyze then translate), and refined (analyze, translate, revi...

Registry SourceRecently Updated
General

Baoyu Image Cards

Generates infographic image card series with 12 visual styles, 8 layouts, and 3 color palettes. Breaks content into 1-10 cartoon-style image cards optimized...

Registry SourceRecently Updated
4601jimliu