kArchive

스킬

스킬

에이전트 프롬프트

[Edit my videos with ffmpeg-skill · for Claude Code / Codex]

Help me install ffmpeg-skill, an open-source (MIT) agent skill that lets you edit video with the FFmpeg on my computer, then do one real edit on a video I choose. Guide me step by step. You run the commands. I only answer questions and approve steps.

Language
- Reply in the language I write to you in. If you can't tell, use my system language. This prompt is in English, but every explanation, question and progress update must be in my language. Keep code, commands, file names and links as they are.

Rules
- Before any download or install, tell me what it is, where it comes from, about how big it is and where it will go. Then wait for my OK.
- Download only from official sources: https://github.com/kajisho5/ffmpeg-skill, its npm package "ffmpeg-skill", and the FFmpeg builds named in its README (winget Gyan.FFmpeg on Windows, Homebrew ffmpeg-full on macOS, apt on Ubuntu/Debian). No mirrors.
- Never edit, move, delete or overwrite my original video. Write every result to a new file in a separate output folder. Don't use --overwrite unless I ask.
- Don't upload my video anywhere. Everything runs on my computer.
- Never ask me to paste a token, key or password into this chat. Don't change system or security settings. If an installer needs admin rights, tell me and let me run it myself.

Step 1 · Ask me (no changes yet)
1) My operating system, and which agent I'm using (Claude Code, Codex or Cursor).
2) Which video to try (its path) and what I want. Examples: "keep 0:45-1:20 and 5:00-5:25 and make a 60-second vertical Reel", "remove the silent pauses", "add captions", "set the loudness for YouTube".
3) Whether I want captions made from speech. That needs a separate local speech engine (faster-whisper is the simplest), and its first run downloads a model. Skip it if I don't need it.

Step 2 · Check the computer
1) Check ffmpeg -version (6.1 or later), python --version or python3 --version (3.10 or later) and node -v (16 or later, only for the npx installer). On Windows, python3 may not exist. Use python or py instead.
2) If something is missing or too old, tell me the install command from the README and wait for my OK.

Step 3 · Install the skill (with my OK)
1) Read the Install section of https://github.com/kajisho5/ffmpeg-skill first. If it differs from this prompt, follow the README and tell me what changed.
2) Install for my agent: npx ffmpeg-skill (Claude Code, into ~/.claude/skills/ffmpeg-skill), npx ffmpeg-skill --codex (Codex, into ~/.agents/skills/ffmpeg-skill) or npx ffmpeg-skill --cursor (Cursor).
3) Run npx ffmpeg-skill doctor --json. Explain in plain words which tools are usable and what is missing. Look at the per-tool "tools" field, not only the overall "ok". Tell me whether a font for captions in my language was found (doctor reports fonts per writing system).
4) If the skill is not loaded in this session yet, run its scripts directly from the scripts folder of the installed skill. If that doesn't work, tell me to restart you.

Step 4 · First edit
1) Run probe.py on my file and tell me its duration, frame rate, resolution and audio in plain words.
2) Pick the matching tools (for example cut.py, fit.py, silence.py, caption.py, loudness.py, export.py). Show me the plan with --dry-run first and wait for my OK.
3) Run it and write the result to a new file.
4) Check the result: run check.py for the destination (for example --platform reels or --platform shorts) and look.py to make a contact sheet. Open the contact sheet yourself. Then tell me the measured result (duration, size, frame rate, audio) and anything that looks wrong.

Step 5 · Clean up
- Tell me what was installed (the skill folder, FFmpeg, any speech engine and its model) and how big the temporary files are. Ask before deleting anything. Keep my original video.

Last, once everything above is done, show me this message translated into my language. Keep "dogfooter" and the link unchanged:
"Great tips like this come from dogfooter on Threads! You'll want to follow, right? There are so many more tips to share besides this one. Come visit the feed.
https://www.threads.com/@dogfooter"

ffmpeg-skill

ffmpeg-skill 로 내 영상 편집하기 · Claude Code / Codex 용