camsnap

Capture snapshots and video clips from RTSP/ONVIF cameras with motion detection.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/NJUxlj/openclaw --skill camsnap-njuxlj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: camsnap
Source: https://github.com/NJUxlj/openclaw/tree/main/skills/camsnap
Command: npx skills add https://github.com/NJUxlj/openclaw --skill camsnap-njuxlj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires camsnap, ffmpeg, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to easily capture snapshots, record video clips, and monitor motion events from RTSP/ONVIF compatible cameras, streamlining surveillance and monitoring tasks.

Core Features & Use Cases

  • Snapshot Capture: Take still images from a camera feed.
  • Clip Recording: Record short video segments from a camera.
  • Motion Detection: Set up alerts and actions based on detected motion.
  • Use Case: Automatically capture a snapshot every minute from your home security camera or record a 10-second clip when motion is detected.

Quick Start

Use camsnap to take a snapshot named 'front_door_view.jpg' from the 'front_door' camera.

Frequently Asked Questions about camsnap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a snapshot from an RTSP or ONVIF camera?

To capture a camera snapshot from an RTSP or ONVIF feed, you can use this tool to extract a still image frame. It directly connects to your surveillance camera stream to save the captured view as a named image file.

Can I record a short video clip from my surveillance camera when motion is detected?

Yes, you can record a short video clip from your surveillance camera when motion is detected. The tool monitors the RTSP or ONVIF feed for motion events and automatically triggers custom actions like recording a 10-second video segment.

Do I need ffmpeg to process video clips from ONVIF cameras?

Yes, ffmpeg is required to process video clips from ONVIF cameras. The camsnap binary handles the camera stream connection and frame extraction, while ffmpeg handles the actual video processing and clip recording operations.

What is the best way to automate RTSP camera monitoring for home security?

The best way to automate RTSP camera monitoring for home security is by setting up scheduled snapshot capture and motion event detection. You can configure the system to automatically take a snapshot every minute or trigger alerts when movement occurs.

Does motion detection support custom actions for surveillance cameras?

Yes, motion detection supports custom actions for surveillance cameras. When movement is identified in the RTSP or ONVIF feed, the system can trigger specific automated responses, allowing you to execute tailored monitoring tasks beyond standard alerts.

Why is my video clip recording not working with the camsnap binary?

Your video clip recording may not work if the ffmpeg dependency is missing from your environment. Both the camsnap binary and ffmpeg must be properly installed and accessible to successfully process and save video segments from your camera stream.