Take your AI-edited videos further
Watch the video first to see each step on screen. Then follow this guide: every prompt comes in full, in the order it goes into one Claude Code chat, with what you get after it and what to do before the next one.

Before you start
You’ll need
- Claude Code with a paid Claude plan, Pro or higher. It runs every step and controls the editing app.
- A Gemini API key. Gemini watches the reference videos with picture and sound. The free tier has a daily request limit per model, and the API isn’t available in every country.
- An editing app: FilmCraft, CapCut, DaVinci Resolve Studio or Adobe Premiere Pro.
- Your material: the script, the raw footage, music you have the rights to, three or more videos by one creator whose editing you like (the files and their YouTube links) and your brand kit: logo, fonts, colors. A sound-effects pack is optional.
How to use the prompts
- Send the prompts one after another in a single Claude Code chat: the agent keeps the context from step to step.
- Where a step needs your hands, a “Before the next step” note says what to do before you send the next prompt.
- Replace the words in [SQUARE_BRACKETS] with your own details.
- In the fix examples, XX:XX is a timecode on your timeline and K10 is a scene number from the agent’s scene plan.
Step 1: set up the project folder
Three folders: Files for the script and the style guide, Media for the footage and sound, References for videos you like and your brand kit.
Prompt 1 · Create the project folder
Create a project folder for my next video in [PROJECT_LOCATION] and name it [YOUR_PROJECT_NAME]. This is the project we'll work on in this chat, from setup to export.
Inside it, make three subfolders:
Files – for the script and every file we create while editing: the style guide, the scene plan, edit notes and project backups.
Media – for the raw footage from every camera, music, sound effects, screen recordings and any other media.
References – for videos whose editing I like, with two subfolders inside: B-roll examples and Brand kit (my logo, fonts, colors and brand guidelines).
Then show me the folder tree and tell me what to put where. From now on, refer to these folders by name and keep every new file inside the project.
Working rules for this chat:
- Build every new version as a new sequence in the same project instead of a new project file, and save a backup of the project before any big rebuild.
- Never undo my manual edits: before you rebuild, compare the project with your last build and keep everything I changed by hand. If a request is unclear, ask me before you rebuild.
- After every build, check it before you show it to me: frozen frames, jumps, cut-off words, overlapping elements and anything too close to the frame edge. Tell me what you couldn't check.Before the next step
Fill the folders:
- Files: the script.
- Media: the raw footage from every camera, any B-roll footage, photos and screen recordings, the music and the sound pack, if you have one.
- References: the reference video files.
- References/Brand kit: your logo, fonts and colors.
Step 2: install the editing setup
One prompt installs five video skills, connects Gemini and connects Claude to your editing app.
Gemini is there because Claude Code can’t watch a video: it reads a timestamped transcript and still frames. Gemini takes in the picture and the sound together, so it can describe how a creator times cuts, zooms, animations and music.
The default editing app is FilmCraft, a free open-source editor with its own command line and MCP server: the agent opens, edits and renders the project directly. DaVinci Resolve, Adobe Premiere Pro and CapCut connect through MCP servers built by their user communities.
The agent will ask you for the Gemini key, which editing app you use and a confirmation before each installer.
Prompt 2 · Install the editing setup
Now set up the editing workspace for this project. Install every piece from its official source, read its README or install guide first, and ask me before you run any installer, change system settings or use a paid service.
1. Skills. First install FFmpeg, Python 3.10 or newer and Node.js 22 or newer if they're missing: the skills need them. Install the skills globally, so every project can use them:
- video-use (https://github.com/browser-use/video-use): transcribes raw takes and cuts them by the script. Follow its install.md, but set it up to transcribe with a local speech model instead of its default ElevenLabs, so no extra key or paid service is needed. Use ElevenLabs only if I ask for it.
- HyperFrames (https://github.com/heygen-com/hyperframes): graphics and animation rendered from HTML to video. Install the core skills as its README describes and run its doctor check.
- cursorcam (https://github.com/Avijit07x/cursorcam): screencasts with auto-zoom, a smooth cursor and click animations.
- ffmpeg-skill (https://github.com/kajisho5/ffmpeg-skill): sound, captions, loudness and the final export.
- sound-effects (the skills/sound-effects folder of https://github.com/Barty-Bart/motion-graphics): the sound-effects pass.
2. Gemini API: walk me through creating a free API key in Google AI Studio and save it as GEMINI_API_KEY in a local env file your tools can read, never in the project folder or in git. Run one test request on a short public YouTube video. If the API answers that my location is not supported, tell me and stop retrying.
3. Editing app: ask me which editing app I use (FilmCraft, DaVinci Resolve, Premiere Pro, CapCut or another one) and check how you can control it: its own MCP server, a community MCP server, a command-line tool or a scripting API. For DaVinci Resolve, check that I have the Studio version: the free one doesn't accept outside control. For CapCut, tell me that you'll write its project files and I'll open them in CapCut to watch and export. If I don't have an editing app, install FilmCraft from the latest release on https://github.com/storytold/filmcraft together with filmcraft-cli and check the download against its published checksums. Connect to the app, create the editing project for this video inside our project folder (empty for now) and open it, so I can see that it works.
4. At the end, check that every skill loads and the Gemini test request answers. Then write a short setup note to Files/setup.md: what you installed, the versions, the check results, where the keys are stored and how to reconnect to the editing app. Tell me what I still need to do by hand, and whether I need to restart Claude Code for a new connection to work.Before the next step
If the agent asks you to restart Claude Code, reopen the same chat afterwards, so the context stays.
Step 3: study the references
Give the agent three or more videos by one creator. Gemini watches them with picture and sound, and the agent saves the creator’s editing system to a style guide that every later prompt follows. The analysis takes two prompts: the A-roll and sound first, then the B-roll.
A-roll and sound
Cuts and pauses, shot changes, how the zooms move, the music bed and the sound effects.
Prompt 3 · A-roll and sound analysis
The setup works, so let's study the references before we edit anything. I've put three or more videos by the same creator in References; their YouTube links: [REFERENCE_VIDEO_LINKS]. Study them with Gemini.
How to run the analysis:
- Send each video to Gemini by its YouTube link or as an uploaded file. Split long videos into windows of about 3 minutes, so Gemini doesn't skip short moments.
- Prepare as much as you can on your side first (durations, scene changes, the transcript) and send Gemini fewer, more precise requests: the free tier has a daily limit per model. If the limit runs out, save what you have and tell me; we'll continue tomorrow from the same window.
- Ask Gemini for a timecode (mm:ss) for every example and to say when it's unsure. Nothing goes into the guide that isn't on screen or in the audio.
Analyze the A-roll.
The setup: how the speaker is filmed, how many camera angles, which shot sizes.
The cuts: the cut types (jump cuts, hard cuts between angles, J- and L-cuts), how breaths, pauses and filler words are removed, which pauses stay on purpose and why, how the creator handles stumbles, and the average shot length in the hook and in the body.
The shot changes: a table of every punch-in, push-in, punch-out, reframe and camera change, with the timecode, the approximate scale (for example 1.0 → 1.2), the words being said and what each one is for (emphasis, a joke, a new point, hiding a jump cut, rhythm).
The zoom motion: for every zoom, whether it's a hard cut to a new size or an animated move. For animated moves, give the duration, the start and end scale, the easing (linear, ease in, ease out, ease in and out, overshoot) and what the zoom is anchored on (the eyes, the face, the center of the frame). Note how long each size holds before the next change and whether sizes step up within a run or jump back and forth. Describe each curve so it can be rebuilt with two keyframes in an editing app.
The hook: a second-by-second breakdown of the first 60 seconds: what's on screen, what's said and which edit event happens.
Analyze the music and sound design.
- Also send Gemini the audio track of each video without the picture to map the music, and the hook at a higher frame rate, where the sound effects are densest.
- The music bed: how many tracks each video uses, where each one starts, changes or stops, its genre, tempo and energy, whether it loops, how much quieter than the voice it plays (approximate dB), whether it ducks under speech or rises in pauses, whether it cuts out under inserts that carry their own sound, and how the hook and the ending differ from the body.
- The sound effects: every kind (whooshes, pops, clicks, risers, impacts, typing, dings) and the edit event each one marks (a cut, a graphic appearing or leaving, a zoom, a chapter bumper). Does the sound land with the first frame of the graphic or ahead of it? How loud is it compared with the voice, and does that depend on how much of the frame the graphic fills? How many effects per minute play in the hook and in the body?
- The voice: how evenly it's compressed, how loud the final mix is, and where silence is used on purpose.
- Gemini reliably names a sound and the moment it marks, but its timecodes can drift by a few seconds and it often hears music changes that aren't there. If you can measure the audio yourself (loudness, pauses, the voice and the music separated), check its timecodes and its music claims against your measurements, and mark which facts are measured and which are only heard.
Then compare the videos and highlight what repeats in all of them, starting with the hook and the pacing. Separate the creator's signature moves (in every video, or clearly a habit) from one-off ideas, with evidence timecodes from each video.
Finish with 10–15 short rules an editor could follow for the picture and 5–10 for the sound, like "Cut every breath between sentences", "Push in from 1.0 to 1.1 over two seconds with ease in and out" or "Keep the music bed about 28 dB under the voice".
Save it as the A-roll and sound sections of the project's style guide in Files/style-guide.md.B-roll and a library of examples
The four B-roll formats (demonstration, visualization, cutaway, graphic elements) and a screenshot with an animation note for every technique.
Prompt 4 · B-roll analysis and examples library
Now the B-roll in the same videos: everything that covers the speaker or appears on top of the shot. Analyze it, then build a library of examples from it.
Sort every insert into exactly one of four formats:
- Demonstration: shows the thing being talked about as it really is (a screen recording, a real product, a real post, real footage of the action).
- Visualization: turns an idea, a process or a number into a picture (diagrams, charts, animated metaphors, lists that build up, frameworks).
- Cutaway: illustrative footage that isn't a literal demo (a meme or movie clip, stock or archive footage, a reaction shot).
- Graphic element: text, icons, stickers, arrows, logos, lower thirds, bumpers, transitions and kinetic type over or beside the speaker.
For every insert, log the start and end timecode, the format, the coverage (full screen instead of the speaker, split screen, over the speaker, picture-in-picture), what's on screen (text verbatim), the words spoken at that moment and what the insert adds to the words (proof, clarity, a joke, emphasis, a memory hook, pacing). Include inserts shorter than a second. Use the same 3-minute windows as for the A-roll and list everything in each window.
Then count the inserts per format, the share of runtime covered by B-roll, the average insert length, inserts per minute in the hook and in the body, and the longest stretch with no B-roll.
Highlight what repeats in every video:
- the graphics style: fonts (closest family, weight, case), colors (approximate hex), backgrounds, corner radius, shadows, frames around screenshots, icon style, how text animates in and out;
- the captions: burned in or not, style, position, words per screen, highlight color, animation;
- the transitions between sections and how the video moves from one part to the next.
Separate the signature moves from one-off ideas, mark which one-off ideas are worth reusing, and add it as the B-roll section to the style guide. End with one deduplicated catalog of B-roll techniques: the name, the format, signature or one-off, and the best example (video and timecode).
Then build the examples library from the catalog:
- For each technique, take its best example and have Gemini describe the animation frame by frame, the way a motion designer would need it to rebuild the scene: what's on screen at each change (positions as % of the frame, sizes, colors, text), the entry, hold and exit, the duration, the easing (ease out, overshoot, snap), the stagger between elements, camera moves inside the insert, the font and colors, the sound tied to each frame, the word that triggers the entry and the exit, and a 4–8 step recipe to rebuild it.
- To save Gemini requests, cut only the moments with graphics out of the videos yourself and send them in one request per video, with a map of which clip comes from which timecode.
- Save a screenshot of the frame where each technique is fully on screen to References/B-roll examples, named after the technique, and add the animation descriptions to the style guide next to each technique.Step 4: cut the A-roll
The agent cuts the talking head by the script and the style guide: the best takes, natural pauses and a check of every cut.
Prompt 5 · Cut the A-roll
The style guide is ready, so let's start editing. Cut the A-roll from my footage in Media with video-use to match the script in Files. Follow the A-roll section of the style guide. If there's a second camera or an external microphone in Media, sync them to the main camera by the sound first and cut them together with it.
Takes:
- Remove stumbles, mistakes and false starts. For every line, keep the last clean take: by then I've said it a few times and found the rhythm.
- Fewer cuts come first, though. If I said several lines in one go without a slip, keep them as one clip, even if there are separate clean takes of each line later. When two options need the same number of cuts, use the later one.
- If you can't tell which of two clean takes sounds better, put both on the timeline one after another and mark the alternative with a color label. I'll pick one myself.
Pauses and breaths:
- Don't remove every pause and breath. Keep natural pauses inside a clip up to about 1.2 seconds, and keep one pause with the breath before each key line.
- Never cut in the middle of a stumble or a word: cut before it starts or after it ends, and only in silence. Before you cut a short sound the transcript doesn't explain, check it: it's often a short word the transcription missed.
Check before you hand it over:
- Export the cut's audio, transcribe it again and compare it with the script: no lost or repeated words at any cut.
- List every place where my wording differs from the script and every cut you're unsure about, with timecodes, in Files/edit-notes.md.
If I reframe the first clip by hand and tell you, apply the same framing to every clip.
Build the cut on the A-roll track in the editing app we connected, as a new sequence in the project, and open it when it's ready.Before the next step
If the agent left two takes of a line one after another under a color label, keep the one you like and delete the other on the timeline.
Shot changes and color
With the takes picked, the agent adds zooms on their own track, eased the way the style guide measured them, and a light exposure fix if the camera got it slightly wrong.
Prompt 6 · Shot changes and color
I've picked the takes. Close any gaps left where I deleted takes, then add the shot changes to this cut, following the A-roll section of the style guide.
- Put every zoom on its own track above the A-roll, so I can see and adjust them separately. Zoom the whole frame, speaker and background together.
- Alternate shot sizes the way the guide describes: a punch-in on a key word, a slow push-in on an important thought, a reset to the wide shot at the start of each section. Hide visible jump cuts with a change of size.
- Animate push-ins the way the guide measured them, with two eased keyframes (ease in and ease out), never with frame-by-frame linear keys. Within a run of punch-ins, step up in size instead of jumping back and forth between sizes.
- If there's a second camera, switch to it at the moments where the guide uses camera changes.
- If I trim the cut by hand later, move the zooms, and later the B-roll, back onto their words, and don't bring back the parts I removed.
Then check the picture. If the footage is over- or underexposed, correct it on one clip first: move exposure, highlights, whites and contrast by no more than 3–5 points from the source and leave the colors alone. Show me a before-and-after frame, and after my OK, apply the same correction to every clip shot in the same light.Before the next step
- Reply to the before-and-after frame: “OK, apply it to the clips shot in the same light”, or ask for a lighter correction.
- Watch the whole cut with your own eyes and write down every problem with its timecode.
A-roll fixes in one prompt
Send all the fixes from your notes in one prompt, one per paragraph, so the agent rebuilds the project once.
Prompt 7 · A-roll fixes (example)
Fixes for the A-roll, one per paragraph. Apply all of them and rebuild the project once:
XX:XX – switch to the second camera for this line.
XX:XX – before "[KEY_LINE]", make the pause a full second.
XX:XX – the end of the phrase is cut off: bring back the missing words.
XX:XX – I deleted a line here by hand: close the gap, keep my edit and move the zooms back onto their words.Before the next step
- Watch the rebuilt cut and send what’s left in the same format. After a few rounds, the A-roll is ready.
- Fix small details by hand in the editing app when that’s quicker: the agent keeps your manual edits.
Step 5: build the B-roll
Every scene comes as a static mockup first: the agent animates only what you approve.
Prompt 8 · Build the B-roll
The A-roll is done. Now add the B-roll on top of it, following the B-roll section of the style guide.
Plan the scenes first:
- For each line of the script, pick the one B-roll format that fits (demonstration, visualization, cutaway or graphic element), or leave the speaker alone. Vary the techniques across the video instead of repeating one scene after another.
- Number the scenes (K01, K02 and so on) and list them in Files/broll-plan.md with the line, the format, the layout and what's on screen.
- Use the screenshots in References/B-roll examples and their animation descriptions in the style guide as examples.
Sources:
- Use my own footage from Media for the demonstration scenes, and record the screencasts you need with cursorcam from the real sites and web apps instead of drawn imitations. For desktop apps, ask me to record the screen into Media.
- For cutaways (memes, movie clips, stock or archive footage), use only clips from Media or ones I have the rights to, and ask me before you search for stock.
- Build the visualizations and graphic elements (text, lower thirds, transitions and bumpers) with HyperFrames.
- Take the layouts and motion from the style guide, but fonts, colors and logo from References/Brand kit. Use the official logos and icons of the products you show, never redrawn copies.
Layout rules:
- Screen demonstrations go in a split screen: me on the left, the screen on the right.
- Mobile first: all text must be readable on a phone screen. No small text, file names or technical labels.
- Keep safe zones: nothing closer than 96 px to the left and right edges of the frame or 64 px to the top and bottom, at least 24 px of padding inside cards, labels and buttons, at least 40 px between elements, and groups aligned to a shared grid.
- No more than three things competing for attention in a scene, and each one stays in focus for at least 2 seconds before the next one appears.
- Motion follows the 12 principles of animation: eased and slow enough to follow, with no linear moves and no shine effects.
- Join sections with seamless transitions: place the cut where a shape covers the whole frame, so the next scene is already underneath when the shape moves away.
Approval first:
- Before you animate anything, place static mockups of every scene on the timeline, so I can review the whole video in context, and send me screenshots of every graphic element to check.
- Then stop and wait for my reply: I'll list the scenes I approve and the fixes for the rest. Animate only the approved scenes.
Keep my voice running under every insert, and never cut my words to fit a scene. Put each type of element on its own track above the A-roll, each with its own label color.Before the next step
- If the agent asked for screen recordings of desktop apps, record them into Media and tell it they’re there.
- Look through the mockups on the timeline and in the screenshots, and note, scene by scene, what to change.
Approve and fix the B-roll in one prompt
Reply to the mockups in one message: first any change that applies to all scenes, then the scenes you approve, then one fix per paragraph for the rest. Start each fix with the scene number from the plan or a timecode, so the agent finds the place without guessing.
Prompt 9 · Approve and fix the B-roll (example)
All scenes – make the text bigger and remove the small labels.
Approved with that change: K01–K09, K11 and K13. Animate them now.
Fixes for the other scenes, one per paragraph. Apply all of them, rebuild once and show me the fixed mockups before you animate them:
Scene K10 – the diagram covers my face: move it to the right.
XX:XX – show the screencast a second earlier.
Scene K12 – the composition is unbalanced: the check mark is off-center in its circle and the card is too close to the frame edge.
XX:XX – this line needs no B-roll: leave me on screen.Before the next step
- Answer the fixed mockups in the same format until every scene is approved.
- Then watch the animated B-roll and send motion fixes the same way, for example “Scene K05 – the card enters too fast”.
Step 6: sound, captions and export
One last prompt adds the music and sound effects, styles the captions and exports the video with its subtitle file.
Prompt 10 · Polish and export
Last step: finish the edit. Follow the style guide for the sound and the captions.
Music:
- Pick a music bed from Media that fits the energy described in the style guide. If the guide uses a separate, more energetic track for the hook or a separate track for the ending, add those too.
- Lay the main bed as one continuous clip to the ending: from the end of the hook if the hook has its own track, otherwise from the very start, so later cuts never make it jump. Under speech, keep it as far below my voice as the sound section of the guide measured (usually 20–30 dB), and let it rise in pauses and on bumpers the way the guide describes.
Sound effects (the sound-effects skill):
- Place them where the style guide does, but keep them sparse: main transitions and section bumpers first, in pauses, never over my words.
- Prefer classic, soft whooshes to digital or synth sounds. Take sounds from the sound pack in Media if there is one, otherwise from the sound-effects skill's own library, and ask me before downloading any new sounds.
- Keep them quiet. Send me the list of sound cues with timecodes and wait for my OK before you mix.
Captions:
- If the style guide burns captions into the picture, burn them in, styled by the guide.
- Either way, make a subtitle file (.srt): one or two lines of up to 47 characters, each caption on screen for 1–5.5 seconds, back to back inside speech, with a break wherever I pause for 0.4 seconds or more. Check names and terms against the script.
Export:
- Export the final video as MP4 with the H.264 codec, 1920×1080 at the project's frame rate, with AAC audio, together with the subtitle file (.srt). Save both to a new Export folder in the project.
- Normalize loudness to −14 LUFS with true peaks no higher than −1 dBTP, measured on the exported file. These targets override the skills' own defaults.
- Before you send it to me, check the export for frozen frames, black frames, flashes and cut-off words, and list what you checked.Before you publish
- Reply to the list of sound cues: “OK”, or which cues to move, swap or drop.
- Watch the final video like a viewer, with fresh eyes: cut what gets in the way and add your own touch.
The MP4 and its .srt are the two files to publish: upload the video, then add the .srt to it and make the subtitle track available in the player, so viewers can turn subtitles on. If the captions are already burned into the picture, keep the player’s subtitles off by default.
Edit with AI — we’ll handle delivery
Host your finished video on Kinescope and embed it anywhere.



















