RTSP Snapshot
Skill8 starsChanged 7 months agoApache-2.0View on GitHub
Capture JPG frames or short MP4 clips from RTSP/HTTP IP cameras via ffmpeg.
In this repository38 other files it gives its agents.
- Brave SearchSkill
- BrowserSkill
- CloudflareSkill
- DNS ToolsSkill
- Docker APISkill
- Endpoint CheckSkill
- Fetch URLSkill
- GitHubSkill
- Google OAuthSkill
- GoogleSkill
- GoPlacesSkill
- LoopSkill
- Microsoft Edge TTSSkill
- 1PasswordSkill
- OpenAI WhisperSkill
- OpenStreetMapSkill
- PDF ExtractSkill
- ProxmoxSkill
- RememberSkill
- RSS / AtomSkill
- Session LogsSkill
- SimplifySkill
- SkillifySkill
- SpotifySkill
- SSH ExecSkill
- StuckSkill
- SummarizeSkill
- TaskFlowSkill
- Tesseract OCRSkill
- tmuxSkill
- TranslateSkill
- Update ConfigSkill
- VerifySkill
- Video FramesSkill
- WeatherSkill
- WikipediaSkill
- Wolfram AlphaSkill
- yt-dlpSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use to grab stills or short clips from IP security cameras (RTSP, HTTP HLS) so Kate can report what is happening in a scene or store …
- Distinctive: line 49
Prefer TCP transport to avoid packet loss over Wi-Fi/VPN
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RTSP Snapshot
Use to grab stills or short clips from IP security cameras (RTSP, HTTP
HLS) so Kate can report what is happening in a scene or store
evidence. All output stays under a sandbox dir (RTSP_SNAPSHOT_OUTPUT_ROOT,
default $TMPDIR).
Use when
- "take a snapshot from the garage camera"
- "record 30s from the doorbell now"
- "is there motion? capture and send me a snapshot"
Do not use when
- The camera is not reachable over LAN/public RTSP/HTTP URL
- Necesitas streaming continuo o WebRTC
- Clips > 5 minutes (hard cap by design)
Tools
status
ffmpeg bin + sandbox + limits.
snapshot { url, output_path, transport?, width? }
url—rtsp://user:pass@host/stream,rtsps://,http://,https://(NOfile://, NOconcat:)output_path— must stay under the sandbox root;.jpgrecommendedtransport—tcp(default, estable sobre NAT) oudpwidth— resize manteniendo aspecto
Returns {url, output_path, bytes, transport}.
clip { url, output_path, duration_secs, transport? }
duration_secs1..=300- Uses stream copy (no re-encode) — very fast
Returns {url, output_path, bytes, duration_secs, transport}.
Execution guidance
- Prefer TCP transport to avoid packet loss over Wi-Fi/VPN
- Credentials are inline in URL (
rtsp://user:pass@host/...); store them in 1Password and read them withread_secretwhen reveal is enabled - Output path outside sandbox →
-32034IoError; adjust operator config - Unreachable camera →
-32032NonZeroExit with ffmpeg stderr included - Motion detection is out of scope here — chain with a vision-enabled pipeline
Pipelines
Snapshot + vision
1. rtsp-snapshot.snapshot { url, output_path: "/sandbox/cam1.jpg" }
2. (futuro) vision-lm.describe { path: "/sandbox/cam1.jpg" }Clip + transcribe
1. rtsp-snapshot.clip { url, output_path: "/sandbox/ring.mp4", duration_secs: 30 }
2. video-frames.extract_audio { path, output_path: "/sandbox/ring.wav", codec:"wav", mono:true, sample_rate:16000 }
3. openai-whisper.transcribe_file { file_path: "/sandbox/ring.wav" }Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

