camsnap

Capture frames or clips from RTSP/ONVIF cameras using ffmpeg.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/hcnimi/clawdis --skill camsnap-hcnimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: camsnap
Source: https://github.com/hcnimi/clawdis/tree/main/skills/camsnap
Command: npx skills add https://github.com/hcnimi/clawdis --skill camsnap-hcnimi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users quickly capture live frames or short video clips from RTSP/ONVIF cameras, enabling monitoring, archiving, or incident review without manual screen grabs.

Core Features & Use Cases

  • Snapshot: grab a still image from a configured camera.
  • Clip: record a short video clip for quick review.
  • Motion watch: trigger actions based on motion events from cameras.
  • Setup: configure camera endpoints and credentials and reuse across sessions.

Quick Start

Use camsnap to capture a snapshot from the kitchen camera and save it to shot.jpg.

Frequently Asked Questions about camsnap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a snapshot from an RTSP or ONVIF camera?

You can capture a snapshot from an RTSP or ONVIF camera by running a simple command referencing your configured camera endpoint, which grabs a still frame and saves it to a specified file like shot.jpg.

Can I record a short video clip from an RTSP stream for quick review?

Yes, you can record a short video clip from an RTSP stream to quickly review or archive live footage without needing manual screen captures or full video suites.

Do I need ffmpeg installed to capture ONVIF camera frames?

Yes, ffmpeg must be installed and available on your system's PATH to process the video streams, as this frame and clip capture mechanism relies on it to handle the RTSP and ONVIF protocols.

How do I configure camera endpoints and credentials for motion watch?

You configure camera endpoints and credentials by defining them in a config.yaml file located at ~/.config/camsnap/, which allows you to persistently set up streams for snapshots, clips, and motion watch across sessions.

What is motion watch and how does it trigger actions for my cameras?

Motion watch monitors configured RTSP or ONVIF camera streams and triggers actions based on detected motion events, enabling automated incident review and archiving without continuous manual monitoring.