ffmpeg
Skill4 starsChanged 6 months agoMITView on GitHub
Programmatic ffmpeg wrapper at tools/ffmpeg.js. Use for video/audio manipulation in workflows and automations. Requires: ffmpeg system binary (bash .claude/hooks/install/sys-ffmpeg.sh or winget install Gyan.FFmpeg) All commands output JSON to stdout. Errors go to stderr with exit code 1. Both HH:MM:SS and plain seconds work: - --start 00:01:30 = --start 90 - --end 00:02:00 = --end 120
25 other projects use a version of this.
Adopted by
Most recently taken up by
- OpenMontageInc/OpenMontagetheir own version, first seen Nov 8, 2026
- digitalsamba/claude-code-video-toolkittheir own version, first seen Nov 8, 2026
- calesthio/OpenMontagetheir own version, first seen Nov 8, 2026
- fralapo/awesome-agent-skillstheir own version, first seen Nov 7, 2026
- edenfunf/reelmimictheir own version, first seen Nov 4, 2026
- Hainrixz/editor-pro-maxtheir own version, first seen Oct 25, 2026
Used with
Projects with it also use awwwards-animations, explainer-video-guide and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
wendymardigian-progSkillawwwards-animations
Professional React animation skill for creating Awwwards/FWA-level animations using GSAP (useGSAP), Motion (Framer Motion), Anime.js, and Lenis. Use when building premium scroll experiences, custom cursors, page transitions, text animations, parallax effects, micro-interactions, or any animation that needs to be 60fps and award-worthy. Triggers on requests for smooth scroll, ScrollTrigger, magnetic effects, reveal animations, horizontal scroll, pin sections, stagger effects, useScroll, useTransform, integration with Three.js/WebGL, algorithmic art, mathematical art, generative art, fractals, L-systems, flow fields, strange attractors, sacred geometry, geometric puzzles, Dudeney dissections, tangram, tessellations, Penrose tiles, kinetic typography, glitch effects, text explosion, morphing text, circular text, brutalist design, minimalist animation, neo-brutalism, or design philosophy mixing. React-first approach with proper cleanup and hooks.
Also in 3 projects that use this
wendymardigian-progSkillexplainer-video-guide
Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline
Also in 3 projects that use this
freshtechbroSkillanimated-component-libraries
Pre-built animated React component collections combining Magic UI (150+ TypeScript/Tailwind/Motion components) and React Bits (90+ minimal-dependency animated components). Use this skill when building landing pages, marketing sites, dashboards, or interactive UIs requiring pre-made animated components instead of hand-crafting animations. Triggers on tasks involving animated UI components, Magic UI, React Bits, shadcn/ui integration, Tailwind CSS components, or component library selection. Alternative to manually implementing animations with Framer Motion or GSAP.
Also in 3 projects that use this
ncklrsSkillmotion-designer
Advanced motion designer with decades of After Effects and motion graphics experience, specialized in creating engaging video specifications for Remotion. Use when creating video specs, planning motion graphics, designing animations, or when asked to "create a video", "design motion graphics", "plan video content", or "spec out a video". Produces detailed scene-by-scene specifications with timing, audio, sound effects, and animation descriptions.
Also in 3 projects that use this
OpenAISkillremotion-render
Export a Remotion video
Also in 3 projects that use this
VercelSkillremotion-best-practices
Best practices for Remotion - Video creation in React
Also in 6 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- calesthio/OpenMontage★ 78ksame name
- OpenMontageInc/OpenMontage★ 78ksame name
- digitalsamba/claude-code-video-toolkit★ 2.5ksame name
- edenfunf/reelmimic★ 1.8ksame name
- rendi-api/ffmpeg-cheatsheet★ 1.7ksame name
- Hainrixz/editor-pro-max★ 279same name
- magnus919/agent-skills★ 172same name
- LinHao-city/StoryMind★ 10same name
- n0an/ffmpeg-skill★ 8same name
- badgids/Story-Film-Skills★ 4same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository79 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 21st-magicSkill
- alpacaSkill
- ask-mattSkill
- autoresearchSkill
- auto-stage-commitSkill
- browser-harnessSkill
- codebase-designSkill
- codeburnSkill
- codex-reviewSkill
- compact-memorySkill
- connect-recommendSkill
- connect-required-verification-informationSkill
- decision-mappingSkill
- delegate-taskSkill
- design-an-interfaceSkill
- design-mdSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- edit-articleSkill
- extract-designSkill
- find-skillsSkill
- firecrawlSkill
- generateSkill
- git-guardrails-claude-codeSkill
- grillingSkill
- grill-me-codexSkill
- grill-meSkill
- grill-with-docs-codexSkill
- grill-with-docsSkill
- gwSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- kie-aiSkill
- lightragSkill
- llmfitSkill
- loop-meSkill
- migrate-to-shoehornSkill
- notebooklmSkill
- obsidian-vaultSkill
- openspaceSkill
- playwrightSkill
- prototypeSkill
- qaSkill
- request-refactor-planSkill
- resolving-merge-conflictsSkill
- reviewSkill
- roastSkill
- scaffold-exercisesSkill
- session-handoffSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- site-teardownSkill
- skill-discoverySkill
- skilluiSkill
- spline-3dSkill
- stripe-appsSkill
- stripe-best-practicesSkill
- stripe-directorySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
All commands output JSON to stdout.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/ffmpeg — Video & Audio Processing
Programmatic ffmpeg wrapper at tools/ffmpeg.js. Use for video/audio manipulation in workflows and automations.
Requires: ffmpeg system binary (bash .claude/hooks/install/sys-ffmpeg.sh or winget install Gyan.FFmpeg)
Commands
# Inspect metadata (duration, codec, resolution, fps, bitrate)
node tools/ffmpeg.js probe <input>
# Re-encode video (default: mp4, CRF 23)
node tools/ffmpeg.js transcode input.avi [output.mp4] [--format mp4|webm|mov] [--quality <crf>] [--resolution 1280x720] [--fps 30]
# Cut a segment (stream-copy — instant, no re-encode)
node tools/ffmpeg.js trim input.mp4 [output.mp4] [--start 00:00:30] [--end 00:01:00] [--duration 30]
# Extract a single frame as JPEG
node tools/ffmpeg.js thumbnail input.mp4 [output.jpg] [--at 00:00:10] [--width 640]
# Rip audio track
node tools/ffmpeg.js extract-audio input.mp4 [output.mp3] [--format mp3|wav|aac|flac] [--bitrate 192]
# Join multiple files (stream-copy — all inputs must share codec/resolution)
node tools/ffmpeg.js concat a.mp4 b.mp4 c.mp4 [--output merged.mp4]All commands output JSON to stdout. Errors go to stderr with exit code 1.
When to Use
| Task | Tool |
| Understand / analyze video content | /watch (claude-video) |
| Compress, trim, extract audio, generate thumbnail | node tools/ffmpeg.js |
| Download from YouTube / TikTok | yt-dlp (used by claude-video) |
| Large-scale batch video scraping | Apify (/apify-ultimate-scraper) |
Common Patterns
# Compress for upload (reduce file size)
node tools/ffmpeg.js transcode big.mp4 small.mp4 --quality 28 --resolution 1280x720
# Thumbnail for a video at 5-second mark
node tools/ffmpeg.js thumbnail video.mp4 thumb.jpg --at 00:00:05 --width 1280
# Extract audio for transcription
node tools/ffmpeg.js extract-audio interview.mp4 interview.mp3 --bitrate 128
# Trim highlights reel
node tools/ffmpeg.js trim raw.mp4 highlight.mp4 --start 00:02:15 --end 00:04:30
# Probe before processing (check codec/resolution/duration)
node tools/ffmpeg.js probe input.mp4In Trigger.dev Automations
import { execSync } from 'child_process';
const result = JSON.parse(
execSync(`node tools/ffmpeg.js thumbnail ${inputPath} ${thumbPath} --at 00:00:05`).toString()
);
if (!result.success) throw new Error(result.error);Time Format
Both HH:MM:SS and plain seconds work:
--start 00:01:30=--start 90--end 00:02:00=--end 120
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.

