camsnap
它能做什么
它指导 AI 智能体使用 camsnap 工具,从网络摄像头和普通摄像头中捕捉图片和视频。它适合希望智能体查看摄像头或保存录像的人。
适用场景
- ✓你想获取家中或办公室摄像头的快照的时候。
- ✓需要获取你已设置好的摄像头的一段短视频的时候。
- ✓想使用平移、俯仰或变焦控制来调整摄像头方向的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/camsnap/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请从厨房摄像头拍一张快照,并保存为 kitchen.jpg。”
每周 5 个新技能,1 分钟读完。
工作原理
技能使用 camsnap 工具,从已配置的摄像头或本地网络摄像头捕捉画面或片段。它也可以检查摄像头设置,并把可平移俯仰的摄像头移动到设定位置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
Local webcams (macOS)
- List devices:
camsnap devices - Snapshot from a local camera:
camsnap snap --device 0 --out webcam.jpg - PTZ position and ranges:
camsnap ptz status --device 0 - Move a gimbal camera:
camsnap ptz goto --device 0 --pan 45 --tilt -18 - Also
camsnap ptz move(relative deltas) andcamsnap ptz home.
Notes
- Requires
ffmpegon PATH. - Prefer a short test capture before longer clips.
- PTZ needs macOS Camera permission: these cameras only service UVC controls while streaming, so
camsnapholds a capture session open for the operation. - Motion commands verify the settled position and exit non-zero if the camera did not reach it. On-camera AI framing can override manual positioning; disable tracking if moves keep missing.
常见问题
我需要额外的软件吗?
需要。该工具需要安装 ffmpeg,并且可以在系统路径中找到。
它能控制可以移动的摄像头吗?
可以。对于平移、俯仰和变焦摄像头,技能可以读取位置并移动摄像头。
为什么摄像头有时无法执行移动?
摄像头自带的追踪功能可能会覆盖手动定位,因此如果移动总是失败,技能会建议关闭追踪。
详情
作者的原始描述
Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #47
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。