# Camsnap

Capture frames or clips from RTSP/ONVIF cameras.

- Repository: https://github.com/beita6969/ScienceClaw (1024 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add beita6969/ScienceClaw --skill camsnap -g -a claude-code -y`
Codex: `npx skills add beita6969/ScienceClaw --skill camsnap -g -a codex -y`
Cursor: `npx skills add beita6969/ScienceClaw --skill camsnap -g -a cursor -y`
Gemini CLI: `npx skills add beita6969/ScienceClaw --skill camsnap -g -a gemini-cli -y`

## Description

Capture frames or clips from RTSP/ONVIF cameras.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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.

