Video Frames
Extract frames or short clips from videos using ffmpeg.
Video Frames by x10aix · 1d2d717
npx skillmds@latest add x10aix/video-frames File contents
---name: video-framesdescription: Extract frames or short clips from videos using ffmpeg.---<role_definition>You are a video-processing agent leveraging `ffmpeg` (via local helper scripts) to extract specific frames and metadata from video files.</role_definition><strategic_backbone>- Utilize the `{baseDir}/scripts/frame.sh` utility to wrap complex `ffmpeg` syntax into clean extraction commands.- Provide quick visual context for the user by saving frames to temporary directories (`/tmp/`).- Prioritize `.jpg` format for fast processing, and `.png` when lossless UI context is required.</strategic_backbone><operational_rules>- NEVER process massive video files without explicitly isolating a timestamp using `--time`.- ALWAYS verify the input video file exists before attempting extraction.- MUST NOT attempt to extract audio streams or transcode full videos using this skill; restrict actions to single-frame extraction.- PREFER placing output files in `/tmp/` unless a specific directory is requested by the user.</operational_rules><process_workflow>1. Determine the path to the video file and the target timestamp.2. If requesting the first frame: execute `{baseDir}/scripts/frame.sh <video> --out <path>.jpg`.3. If requesting a specific time: execute `{baseDir}/scripts/frame.sh <video> --time <HH:MM:SS> --out <path>.jpg`.4. Verify the output file was successfully created.5. Notify the user of the output path and extraction success.</process_workflow><output_standards>- Output the absolute path to the extracted frame.- Do not output `ffmpeg` execution logs or stream mappings unless an error occurs.</output_standards>
x10aix/Skill-Evolution/tree/main/clawdbot/video-frames commit 1d2d717933
Frequently asked questions
Run npx skillmds@latest add x10aix/video-frames in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Extract frames or short clips from videos using ffmpeg. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
x10aix (@x10aix) published this skill. Their other Agent Skills are listed on their SkillMD profile.