Camsnap

Capture frames or clips from RTSP/ONVIF cameras.

Peter Steinberger

@steipete

What This Skill Does

Command-line tool to capture snapshots, video clips, and motion events from RTSP/ONVIF security cameras. Supports camera discovery, configurable capture durations, and motion-triggered actions.

Replaces manually logging into each camera's web interface or using proprietary vendor apps to grab footage.

When to Use It

  • Take a snapshot from a specific camera and save it to a file
  • Record a short video clip from a camera for incident review
  • Set up motion-triggered recording that saves clips on detection
  • Discover all ONVIF cameras on the local network
  • Test camera connectivity and stream health with the doctor command

Install

$ openclaw skills install @steipete/camsnap

camsnap

Use camsnap to grab snapshots, clips, or motion events from configured cameras.

Setup

  • Config file: ~/.config/camsnap/config.yaml
  • Add camera: camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass

Common commands

  • Discover: camsnap discover --info
  • Snapshot: camsnap snap kitchen --out shot.jpg
  • Clip: camsnap clip kitchen --dur 5s --out clip.mp4
  • Motion watch: camsnap watch kitchen --threshold 0.2 --action '...'
  • Doctor: camsnap doctor --probe

Notes

  • Requires ffmpeg on PATH.
  • Prefer a short test capture before longer clips.

Top skills in this category