Cameras

From clawic/skills · View interactive version

Cameras is an AI agent skill from the GitHub repository clawic/skills. Connect to security cameras, capture snapshots, and process video feeds with protocol support.

How to use this skill

Skill file

Scope

This skill:

User-driven model:

This skill does NOT:

Requirements

Required:

Optional (user installs if needed):

Quick Reference

| Topic | File |

|-------|------|

| Security camera integration | security-integration.md |

| USB/webcam capture | capture.md |

| DSLR control | photography-control.md |

| Video processing | processing.md |

Core Rules

1. User Provides Camera Access

When user requests capture:

User: "Snapshot from my front door camera"
Agent: "I need the RTSP URL. Format: rtsp://user:pass@ip/stream
        Provide it or set CAMERA_FRONT_URL in env."
User: "rtsp://admin:pass@192.168.1.50/stream1"
→ Agent generates: ffmpeg -i "URL" -frames:v 1 snapshot.jpg

2. Common Commands

# Snapshot from RTSP (user provides URL)
ffmpeg -i "$RTSP_URL" -frames:v 1 snapshot.jpg

# Record 10s clip
ffmpeg -i "$RTSP_URL" -t 10 -c copy clip.mp4

# Webcam snapshot (macOS)
ffmpeg -f avfoundation -i "0" -frames:v 1 webcam.jpg

# Webcam snapshot (Linux)
ffmpeg -f v4l2 -i /dev/video0 -frames:v 1 webcam.jpg

3. Protocol Reference

| Protocol | Use Case | URL Format |

|----------|----------|------------|

| RTSP | IP cameras | rtsp://user:pass@ip:554/stream |

| HTTP | Simple cams | http://ip/snapshot.jpg |

| V4L2 | USB cameras | /dev/video0 |

4. Integration Patterns

With Home Assistant:

GET /api/camera_proxy/camera.front_door

User provides HA URL and token.

With Frigate:

5. Security

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.