360 Secure SkillHub
360 安全技能中心

Camsnap

该 Skill 说明如何使用 camsnap 命令从已配置的 RTSP/ONVIF 摄像头发现设备、抓取快照、录制指定时长的视频片段并监听运动事件;依赖 camsnap 二进制与 ffmpeg,摄像头配置保存在本地配置文件中,可通过 brew 安装。

steipete
steipete
热度 99.83
最近更新 2026-05-19 04:10:45
分类:自动化依赖:读写文件 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add camsnap
Metadata
name
camsnap
description
Capture frames or clips from RTSP/ONVIF cameras.
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.