
A straightforward CLI for pulling frames and video clips from RTSP and ONVIF cameras without wrestling with ffmpeg syntax yourself. You store camera credentials in a config file, then grab snapshots or timed clips with simple commands. The motion watch mode is nice if you want to trigger actions based on camera activity. It's Homebrew installable and the doctor command helps debug connectivity issues before you waste time on a long capture. Mainly useful if you're building home automation stuff or need programmatic access to IP cameras and want something more ergonomic than raw ffmpeg invocations.
$ npx -y skills add steipete/clawdis --skill camsnap --agent claude-codeInstalls into .claude/skills of the current project.
Use camsnap to grab snapshots, clips, or motion events from configured cameras.
Setup
~/.config/camsnap/config.yamlcamsnap add --name kitchen --host 192.168.0.10 --user user --pass passCommon commands
camsnap discover --infocamsnap snap kitchen --out shot.jpgcamsnap clip kitchen --dur 5s --out clip.mp4camsnap watch kitchen --threshold 0.2 --action '...'camsnap doctor --probeLocal webcams (macOS)
camsnap devicescamsnap snap --device 0 --out webcam.jpgcamsnap ptz status --device 0camsnap ptz goto --device 0 --pan 45 --tilt -18camsnap ptz move (relative deltas) and camsnap ptz home.Notes
ffmpeg on PATH.camsnap holds a capture session open for the operation.Sponsors