commit 7d8fde9f0c7202baa3f93bc7d55eec50c1c30357 Author: zlei9 Date: Sun Mar 29 14:20:23 2026 +0800 Initial commit with translated description diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..ea99791 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,25 @@ +--- +name: camsnap +description: "从RTSP/ONVIF摄像头捕获帧或剪辑。" +homepage: https://camsnap.ai +metadata: {"clawdbot":{"emoji":"📸","requires":{"bins":["camsnap"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/camsnap","bins":["camsnap"],"label":"Install camsnap (brew)"}]}} +--- + +# 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. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..db6add6 --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "camsnap", + "version": "1.0.0", + "publishedAt": 1767545306244 +} \ No newline at end of file