What Is the Idea? Claude Plans the Edit and Prepares the Cut
“Everyone edits their videos with Claude, but nobody shows you how.” That is how the Stapx video “Claude for Editing” opens. And the idea is simple and honest: Claude plans the edit and prepares the cut — and you are the final decision-maker.
This article is the written version of that video. Every step in it was actually executed on a Linux machine (Ubuntu 24.04) and its result verified before it was written down — no invented commands, no untested promises. Its source is a documented verification report dated 2026-12-01, and every number in it comes from a real test.
The idea itself is adapted from a reference video by a Turkish creator (kerembarant), 78 seconds long, showing a 4-step workflow for editing video with Claude. But the Stapx video — 57 seconds, 141 words, in the approved V7 voice — is not a translation of it. It is a rebuild in the Stapx style, with every step actually tested on Linux before it was said aloud.
The Workflow in 4 Steps
The whole workflow is four steps, no more. Each step prepares the next, and none of them works on its own:
| Step | What you do | Result |
|---|---|---|
| 1 — One folder | Create one project folder and put everything in it | An organized project, and Claude can see all your files |
| 2 — One message | Send one message that installs the tools | ffmpeg, faster-whisper and HyperFrames ready |
| 3 — The rules file | Teach Claude your style from reference videos | A rules file that describes your style precisely |
| 4 — Plan, then cut | A scene-by-scene plan you approve, then cutting and subtitles | A cut, subtitled video — and you are the decision-maker |
There is no time promise here. “4 steps” is only the structure of the work — it does not mean “in 30 seconds”, because the reference itself is 78 seconds long, and our verification steps took minutes of compute.
Step 1: One Folder Holds Everything
Before any tool and before any command: create one project folder and put everything about the video in it. Claude works from this folder and sees your files — so if everything is in one place, the plan is more accurate and the result cleaner.
The folder structure
claude-video/ ├── raw/ # Raw video — the footage before editing ├── stapx-rules.md # The rules file — your style (Step 3) ├── transcript.json # The transcript with timing (created in Step 4) └── output/ # The cut version + subtitles + final video
How to create it
mkdir -p ~/claude-video/raw ~/claude-video/output
Then move your raw video files into raw/, and save the rules file (from Step 3) as stapx-rules.md in the folder root.
raw/ as they are, and everything produced goes to output/. That way you can redo any step without losing the original.On Linux — an important note
There is no Claude desktop app on Linux at all, so do not look for one. The work here happens in the terminal (the command line) and CLI tools — and that is what this guide covers in full. Every terminal frame you see in the video comes from a real command that was run and recorded, not from a simulation.
Step 2: One Message Installs the Tools
Send Claude this message verbatim — it is the documented message, tested on Linux:
And the commands it will run are these — just three commands:
ffmpeg -version pip install faster-whisper --break-system-packages npx hyperframes doctor
What does each command do?
| Command | Tested result |
|---|---|
ffmpeg -version |
Checks that ffmpeg exists — in our test it was already installed, version 8.1.2 at /usr/bin/ffmpeg, with Arabic support (libass + libharfbuzz + libfribidi). |
pip install faster-whisper --break-system-packages |
Installs the speech-to-text tool with word-level timing. Verified clean: 19 small packages, and no torch at all. |
npx hyperframes doctor |
Checks the HyperFrames render engine (version 0.10.6) — runs without installation and downloads on first run. |
The cleaner alternative: a virtual environment
Instead of --break-system-packages, you can install in an isolated virtual environment:
python3 -m venv ~/video-tools ~/video-tools/bin/pip install faster-whisper
brew install ffmpeg and pip install openai-whisper) — and neither works on Linux. Do not copy the reference’s commands literally; use the Linux commands documented here. Details are in “Common Mistakes”.Step 3: Teach Claude Your Style — the Rules File
This is the step most people skip — and without it, your video comes out looking like everyone else’s. The idea is simple: give Claude links to videos whose style you like, and it writes you a rules file that describes your style precisely: the font, the colors, the subtitle style, the rhythm.
How to build the rules file
- Pick 2–3 reference videos whose style you like — notice their colors, fonts, cut speed and subtitle style.
- Send their links to Claude and ask it: “Write me a style rules file from these videos.”
- Add your own identity: your logo, your brand colors, your approved font — do not copy the reference’s colors literally.
- Save the file as
stapx-rules.mdin your project folder (Step 1), and Claude will read it before every edit.
A worked example — the Stapx identity
The rules file we built for the Stapx video is genuinely derived from two reference videos: the Turkish kerembarant video (78.1 seconds) and the Stapx Artemis v4 video (49.9 seconds). The Stapx identity in short: a light lavender background #F3EFFD, white cards, a single vivid purple accent #8408E5, black text in Thmanyah Sans Bold — and the original logo as it is, never redrawn and never recolored.
And what we take from kerembarant is the structure, not the palette: his style is a black background #000000, white text, a single orange accent #FF4F00, the Satoshi font only, and large word-by-word subtitles. We take from him: the step-progress bar at the top of the screen throughout the video (1 · 2 · 3 · 4), kinetic word-by-word subtitles with keywords in the accent color, a cut roughly every two seconds with no static shot, the hook in the first 8 seconds (curiosity gap + tangible promise + open loop), real screen recordings instead of fake interfaces, and highlighting the most important step explicitly — in our case: the rules file.
Implementation rules — subtitles and silence cutting
- Timing source: faster-whisper with
word_timestamps— a JSON file of words, no guessing. - Kinetic subtitles word-by-word are built from the real word timings. SRT phrase subtitles are acceptable as an alternative, in the same font (Thmanyah Sans Bold).
- Burning subtitles with ffmpeg works, but under documented conditions: FontSize and MarginV are in the default PlayRes units (288) — FontSize=12 is about 80px on screen, and MarginV=45 is about 300px from the bottom. Do not use MarginV=300 (it hides the subtitles completely). And do not use
original_sizeto enlarge the area — it did not fix the problem in our test. - Correct Arabic direction (RTL + letter joining) — verified visually on burned frames.
- Silence detection: ffmpeg silencedetect (
noise=-40dB, d=0.3) — do not rely on Whisper word gaps alone (we found only 2 gaps longer than 0.3 seconds while silencedetect found 8 silence periods). - Cutting: keep 0.10 seconds of padding on each side of a silence; cut only silences longer than 0.20 seconds.
- Always verify by re-transcribing the cut clip: every word must remain (75/75 in our test), and cumulative timing drift is about 0.04 seconds per cut point (0.36 seconds maximum).
Step 4: From Plan to Finished Video
Now put the raw footage in the project folder, and Claude will show you a scene-by-scene plan — which you approve before anything happens. After approval, it prepares the cut in three stages:
a) Transcribe the audio to text
The faster-whisper tool transcribes audio to text with the timing of every word — tested on Arabic with a language probability of 1.000, and on Turkish too with 1.000. This text is the basis of everything after it: the cut, the subtitles, the timing.
b) Cut the silences automatically
Detection is done with ffmpeg silencedetect — not with Whisper word gaps, because they are not accurate:
ffmpeg -v info -i input.wav -af "silencedetect=noise=-40dB:d=0.3" -f null -
Then the silence is cut and the transcript timings are remapped to the cut clip, keeping 0.10 seconds of padding on each side.
c) Add Arabic subtitles in the Thmanyah font
The subtitles (SRT) are built from the transcript after remapping its timings to the cut clip, then burned into the video with ffmpeg. The working recipe — verified visually — is:
ffmpeg -y -loop 1 -framerate 30 -i frame.jpg -i cut.wav \ -vf "subtitles=cut.srt:fontsdir='.../thmanyahsans/otf':force_style='FontName=thmanyah sans,FontSize=12,Bold=1,PrimaryColour=&H00FFFFFF,OutlineColour=&H00000000,BorderStyle=1,Outline=1,Alignment=2,MarginV=45'" \ -c:v libx264 -pix_fmt yuv420p -c:a aac -t 31.5 output.mp4
-t, or the video will run longer than the audio.d) Review it like a director reviews an editor
Any note you give Claude — just as you would give an editor — updates it immediately, and you are the final decision-maker.
The Result in Real Numbers
The real test was on a raw voiceover take — a genuine take from SaudiWe v3, 46.00 seconds long, with real pauses between sentences. Here are its numbers before and after the cut:
| Before the cut | After the cut | |
|---|---|---|
| Audio duration | 46.00 seconds | 31.50 seconds |
| Removed | — | 14.50 seconds (31.5%) — 8 cuts: 7 pauses of 0.25–0.50 seconds + 12.09 seconds of dead air at the end |
| Words | 75 | 75 — not a single word lost (confirmed by re-transcription) |
| Segments | 12 | 12 |
| Subtitled video | — | 31.50 seconds, 1080×1920, h264 + aac, 1.4 MB — and an SRT file with 12 cues |
An honest note on accuracy: the model predicted 31.07 seconds, and the measured value was 31.50 seconds — because ffmpeg adds about 0.04 seconds at each join point (9 segments). And the drift in segment start times in the re-transcription ranges from +0.00 to +0.36 seconds and grows toward the end — acceptable for phrase subtitles, while word-level kinetic captions should be built from a fresh transcription of the CUT audio, not from remapped timestamps.
Common Mistakes to Avoid
These two commands appear in many foreign tutorials, and neither works on Linux. Do not write them, and do not believe anyone who writes them for you.
❌ Mistake 1: pip install openai-whisper
We tried it twice and it failed twice:
- First attempt: the system refused the install outright — error
externally-managed-environment(PEP 668: Ubuntu 24.04 blocks pip from modifying system packages). - Second attempt (with
--break-system-packages): it started downloading torch 2.15.0 at 539MB, plus triton at 285MB, and about 12 nvidia CUDA packages — more than 1GB in total — then stopped withNo space left on device, because pip uses the/tmpfolder (only 512MB on the test machine).
The fix: use faster-whisper — lighter, faster, with the same accuracy on Arabic (language probability 1.000 in our test), and no torch at all.
❌ Mistake 2: brew install ffmpeg
This is a macOS-only command. On Linux there is no brew at all — and ffmpeg is usually already installed (check with ffmpeg -version). If it is not there, install it through your system’s package manager (apt), not brew.
Limits You Should Know, Honestly
Before you start, these are the limits of the method as we tested it — not as tutorials wish it were:
- Claude plans and prepares; it does not edit fully by itself. The pipeline we proved is ffmpeg + faster-whisper + HyperFrames, orchestrated by scripts — and Claude’s role in it is planning and preparation. No full end-to-end edit was tested, no Premiere handoff, and no Claude Code login.
- There is no Claude desktop app on Linux at all. Do not show its interface or mock it — any frame of that kind would be fake.
- No time promise. “In 30 seconds” is a false promise — the reference itself is 78 seconds, and the verification steps took minutes of compute.
- Silence cutting only pays off on raw takes. Produced videos have almost no gaps, so do not promise a big duration saving except on genuine raw footage.
- Not tested: running Claude Code end-to-end (it needs a login), and installing ffmpeg with
sudo apt install ffmpegon a clean machine (it was already installed on the test machine). - On macOS or Windows some commands may differ — this guide is tested on Linux (Ubuntu 24.04) only, so verify before running it in another environment.
Frequently Asked Questions
Does Claude edit the whole video by itself?
No. Claude plans the edit and prepares the cut — a plan you approve, then silence cutting and Arabic subtitles. A full end-to-end edit was not tested, and there is no documented handoff to Premiere.
Do I need the Claude desktop app?
No — and on Linux there is no app at all. All the work happens in the terminal and command-line tools, and every terminal frame in the video comes from a real command that was run and recorded.
Why faster-whisper and not openai-whisper?
Because openai-whisper fails on Ubuntu: first the system refuses the install (PEP 668), then, with the protection bypassed, it starts downloading more than 1GB of packages (torch 539MB, triton 285MB and CUDA packages) and stops with “no space left”. faster-whisper is lighter and faster with no torch, and with the same accuracy on Arabic (probability 1.000).
Does this work on macOS or Windows?
This guide is tested on Linux (Ubuntu 24.04) only. On macOS some commands may differ — for example, brew exists on macOS and does not exist on Linux — so verify before running it. The Linux commands here are documented; the macOS commands are not documented by us.
Why don’t the subtitles appear in the video even though the command succeeded?
Usually the MarginV mistake: FontSize and MarginV are in the default PlayRes units (288), not pixels. Use FontSize=12 and MarginV=45. MarginV=300 pushes the text completely off-frame so no subtitles appear — we tried it 11 times and confirmed it.
The silence cut found nothing — is the tool broken?
No. If the video is already produced, there may simply be no real silences — and that is normal, not a tool error. Cutting only helps raw footage. And make sure you use silencedetect, not Whisper word gaps, because they are unreliable for cutting.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| The subtitles do not appear even though the command succeeded | The MarginV mistake. A MarginV value of 300 (or anything near 288) pushes the text off-frame because the units are PlayRes units, not pixels. Fix: FontSize=12 and MarginV=45. Check a frame of the video visually before approving the version. |
| The silence cut found nothing to cut | Whisper gaps are unreliable. Always use silencedetect (noise=-40dB:d=0.3). And if the video is already produced, there may be no real silences — that is normal, not a tool error. |
pip install refuses: externally-managed-environment |
PEP 668. Ubuntu blocks pip from modifying system packages. Fix: add --break-system-packages, or better — install in a virtual environment (python3 -m venv). |
pip install stops: No space left on device |
/tmp is full. This happened with openai-whisper (more than 1GB of packages, /tmp at 512MB). Fix: use faster-whisper (small packages, no torch), and check disk space before any large install. |
npx hyperframes doctor says Chrome is unusable |
Home-folder permissions. If the home folder is group-writable, HyperFrames refuses to run Chrome. The tested fix: chmod go-w /home/hatch then npx hyperframes browser ensure until “Browser found / Ready to render” appears. And remember: device memory is limited (0.6GB available in our test) — keep renders small, and if a temporary-storage warning appears, move it with the HYPERFRAMES_EXTRACT_CACHE_DIR variable to a path inside /home. |
Conclusion and Final Checklist
The whole method is four steps: one folder with everything, one message that installs the tools, a rules file that teaches Claude your style, and a scene-by-scene plan you approve before any cut. Claude plans the edit and prepares the cut — and you are the final decision-maker. We tested it for real: a raw 46.00-second clip became 31.50 seconds, and all 75 of its words remained.
Before your first video, check every item:
- The project folder is ready: raw footage in
raw/, and thestapx-rules.mdrules file in the root. - The
ffmpeg -versioncommand works (version 8.1.2 or newer). - The
faster-whispertool is installed (virtual environment or--break-system-packages). - The
npx hyperframes doctorcommand works, and Chrome is ready after the permissions fix if needed. - The rules file is written from real reference videos + your brand identity (font, colors, logo).
- The scene-by-scene plan is shown and you approved it before any cut.
- The cut was done with silencedetect (not Whisper gaps), and the clip was re-transcribed to confirm every word remains.
- The subtitles are burned with the FontSize=12 and MarginV=45 recipe, and a frame of them was viewed with your own eyes.
- The duration is capped with
-tin the burn command, so the video does not run longer than the audio. - Final review: watch the whole video before publishing — you are the final decision-maker.
Watch the Stapx video “Claude for Editing” (57 seconds) to see the four steps in motion, and if you want the complete Arabic setup guide (PDF) step by step — with the same tested commands — contact us on WhatsApp and we will send it to you.


