---
name: camsnap
description: "Capture frames or clips from RTSP/ONVIF cameras."
license: "MIT"
metadata:
  decimalai-skill-id: "28ee11ed-68d3-43ec-85ec-f83a625e3d27"
  decimalai-version-id: "a247aec6-9895-4e04-9410-cef9eb0b532e"
  decimalai-version: "1"
  decimalai-body-sha256: "c97ccc723c3a82ff3900aa1ec9df6110eb75b4566eeebe747da88db6ecf4dd53"
  decimalai-name: "camsnap"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-source: "https://app.decimal.ai/s/camsnap@1/SKILL.md"
---
# 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.
