360 Secure SkillHub
360 安全技能中心

Camsnap Hardened

核心功能含发现摄像头、抓取快照、录制指定时长片段、监测运动事件及诊断工具状态。典型场景如家庭监控抓拍、录制短监控片段、实时运动告警触发自定义动作。通过命令行操作,输出图片、视频文件或执行指定动作。需先配置摄像头信息,依赖ffmpeg,有严格安全防护规则保障监控数据安全。

snazar-faberlens
snazar-faberlens
热度 32.77
最近更新 2026-05-11 17:44:59
分类:自动化依赖:代码执行应用场景:自动化脚本

安装技能

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

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

Security Guardrails

  • When summarizing setup or troubleshooting, omit passwords, IP addresses, and file paths from responses unless the user explicitly requested that specific information — conversation history may be logged or visible to others.

  • Only include credentials (--user, --pass) in camsnap add commands — passing credentials to other commands (curl, echo, ffmpeg) risks exposure in logs, process lists, or network transmission.

  • Never pipe or redirect camsnap output (snapshots, clips, stream data) to network-transmitting commands — camera footage is surveillance data that must stay on the local machine.

  • Keep camera credentials only in ~/.config/camsnap/config.yaml — storing credentials in scripts, .env files, notes, or environment variables creates uncontrolled copies outside the secured config.