Camsnap

openclaw/openclaw/skills/camsnap

by openclawb0c330d27df4a528f65185cc3e509284d1b218d9No license395K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated today

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

Instructions onlyOther
AI-generated overview

Captures snapshots, clips and motion events from RTSP/ONVIF cameras and local webcams, with USB pan/tilt/zoom control.

What it does
This skill drives the camsnap command-line tool to grab still snapshots, short video clips and motion-triggered events from configured network cameras and local webcams. It covers camera setup and discovery, saving captures to files such as JPEG images and MP4 clips, and controlling USB pan/tilt/zoom hardware, including reading PTZ position and ranges and moving a gimbal camera to absolute or relative positions. It also provides a diagnostic probe command and notes on verifying that motion commands reached the intended position.
When to use it
Use it when you need to take a picture or record a clip from an IP camera or a local webcam, watch a camera for motion, or reposition a motorized USB camera. It is also useful for checking camera connectivity and PTZ status before running longer captures.
Requirements
Requires the camsnap binary on PATH, installable via Homebrew, and ffmpeg on PATH. Cameras must be configured in ~/.config/camsnap/config.yaml with host and credentials; network access to the cameras is needed. PTZ on macOS requires Camera permission. No scripts ship with the skill.

How AI overviews are written and checked

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) and camsnap ptz home.

Notes

  • Requires ffmpeg on PATH.
  • Prefer a short test capture before longer clips.
  • PTZ needs macOS Camera permission: these cameras only service UVC controls while streaming, so camsnap holds 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.

Source and attribution

Source:openclaw/openclawinskills/camsnapat commitb0c330d

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Add a badge to your README

Show readers this skill is listed on SourceWeft. The badge links to this page.

Preview of the “Listed on SourceWeft” badge
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-openclaw-openclaw-camsnap-skills-camsnap-cadcf8d5747fe2a5.svg)](https://sourceweft.com/skills/gh-openclaw-openclaw-camsnap-skills-camsnap-cadcf8d5747fe2a5?utm_source=readme&utm_medium=badge)

Report or request removal