Raw Clip Motion Editor
ASecurityEdits a narrated screen-recording ("raw clip") tutorial into a polished video by deciding, on its own, where to keep the raw footage and where to switch to motion graphics. Transcribes the voice (its own transcription first, Whisper as a fallback, with an honest quality check), measures on-screen activity, then builds an edit decision list (intro/outro motion graphics, motion-graphics explainers wherever the screen sits still while the creator talks, smooth zooms, arrows and click highlights ...
- 5 stars
- 0 votes
- 0 copies
- 0 views
- Added November 29, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 20 files and shows the line behind each finding
npx -y skills add rahadexe/agent-video-editor --skill raw-clip-motion-editor --agent claude-codeAre you the author of Raw Clip Motion Editor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/rahadexe-raw-clip-motion-editor)---
name: raw-clip-motion-editor
description: Edits a narrated screen-recording ("raw clip") tutorial into a polished video by deciding, on its own, where to keep the raw footage and where to switch to motion graphics. Transcribes the voice (its own transcription first, Whisper as a fallback, with an honest quality check), measures on-screen activity, then builds an edit decision list (intro/outro motion graphics, motion-graphics explainers wherever the screen sits still while the creator talks, smooth zooms, arrows and click highlights on the raw footage) and renders it with Remotion + ffmpeg. Handles Bangla and mixed Bangla-English voice. Asks the user for logos, assets, font and colour choices first. Use this skill whenever the user wants to edit, polish, or add motion graphics, zooms, captions, arrows or an intro/outro to a screen recording, tutorial, or voice-over video, even if they never say "motion graphics" or "skill".
compatibility: Needs Node.js 18+, ffmpeg/ffprobe, Python 3 with numpy, a Whisper implementation (faster-whisper or whisper.cpp) as a fallback transcriber and Remotion (npx create-video). Network access is needed once for installs and Google Fonts.
---
# Raw Clip Motion Editor
The creator records a screen tutorial while talking. Most of the final video is that raw footage. Motion graphics are used only where raw footage would be dull or unhelpful: the intro, the outro, and the stretches where the screen sits still while the creator explains something. Your job is to work out those places yourself so the creator never has to mark them.
The voice track is the master clock. Every cut, zoom and graphic is timed to the voice, and any trimming of the raw clip must stay in sync with it.
## Workflow
Follow these steps in order. Each one feeds the next.
### 1. Intake (ask once, in one message)
Ask for everything you need in a single batch so the creator is not interrupted later. Read `references/intake.md` for the exact checklist and the palette and font menus. In short:
- **Input mode (support BOTH cleanly without breaking either style):**
- **Mode A — Hybrid Screen Tutorial (classic):** raw screen recording + voiceover; keep real screen action as `RAW` and use `MG` for intro, outro, and static talking stretches.
- **Mode B — Pure Audio / Faceless Motion Graphics:** clean raw-cut voiceover only (no face cam, no screen recording); build 100% continuous editorial motion graphics timed phrase-by-phrase to the voice (skip step 4 `analyze_activity.py` and build beat-driven `MG` segments directly from the verified transcript).
- **Visual style preset:**
- **Preset 1 — Classic / Custom Brand Theme:** use the creator's custom palette or `references/style-system.md`.
- **Preset 2 — Clean Light Studio Minimal:** bright clean diagonal studio canvas (`#FAFCFF → #E0ECFA`), Navy `#0F172A`, Blue `#1E6FB8`, brand terracotta/accent, Emerald `#10B981`, Red `#E0343B`; ultra-minimal floating hero visuals with zero redundant labels or cluttered pills.
- **Audio preference:** voice + subtle UI SFX (default for Mode A), optional ducked music, OR **Raw Voiceover Only** (untouched clean voice converted straight to `48 kHz` stereo PCM WAV — zero SFX, zero music).
- **Target format & quality:** `16:9` or `9:16`; `1080p` (`CRF 18` fast or `CRF 16 + PNG` master) or **Native 4K UHD** (`--scale=2`, `3840×2160`, `CRF 16 + PNG`).
- **Assets & branding (Ask First + Autonomous Fallback):** Real brand/creator assets always elevate quality — ask the creator once for their official logos/favicon, brand colors, channel screenshot, or thumbnails, AND clearly let them know that if they don't have them, you can autonomously fetch official SVGs online, generate custom visuals with an image model, or build clean vector graphics in Remotion. Never block on a missing asset.
If the creator says "you decide", use the defaults in `references/style-system.md` (or Preset 2 for pure-audio videos). Never block on a missing asset: use the text-badge fallback and list what was missing in the final report.
### 2. Set up the environment
Check for node, ffmpeg, python3 and a Whisper install. Install what is missing (ask permission if the host requires it). If working inside the full `agent-video-editor` pipeline, use the pre-configured Remotion engine in `./engine/` (create new project modules inside `engine/src/projects/<slug>/` and active media inside `engine/public/media/<slug>/`; see `AGENTS.md`). If installed standalone as a skill, scaffold a fresh Remotion workspace with `npx create-video@latest --blank`. Remotion renders Bangla correctly because it uses Chrome, but the font must be loaded explicitly, see `references/bangla.md`.
### 3. Transcribe (own transcription first, Whisper second)
Read `references/transcription.md` and follow its order:
1. **Try to transcribe the voice yourself.** Extract the audio and, if you can take audio or have a speech tool, produce sentence-level text with times, then `python scripts/align_words.py sentences.json --out transcript.json` for word times.
2. **If you cannot, use Whisper** (language `bn`, word timestamps, VAD on, the largest model the device can run; never `tiny` or `base` for Bangla).
3. **Always run the quality check:** `python scripts/check_transcript.py transcript.json --duration <seconds>`. If it says WARN or BAD, retry with a better setup once. If it is still weak, **tell the creator plainly** (method, model, CPU or GPU, and the failing numbers such as "21% wrong script") and offer the options in `transcription.md`. Do not carry on silently with a bad transcript.
Then read the transcript yourself and:
- fix mis-heard tool names, English words, numbers and prices (they appear on screen in large type)
- list every tool, product, site and brand mentioned, then ask the creator for any logos still missing
- mark the sentence where the intro ends (for example "চলুন শুরু করি", or when the creator moves to the screen)
### 4. Measure what is happening on screen
```bash
python scripts/analyze_activity.py raw.mp4 --out activity.json
```
This samples the footage at 2 fps and reports, for each moment, how much of the screen changed and the bounding box of the change. It also lists `static_spans` (the screen is still) and hard `cuts`. Cursor-only movement counts as still on purpose, because a still screen with a moving cursor is exactly where the creator is usually just talking.
### 5. Propose the edit decision list
```bash
python scripts/segment.py --activity activity.json --transcript transcript.json --out edl.json
```
The script only proposes. You decide. Open `references/segmentation.md` and apply its rules to review every proposed segment against the transcript, then fix the EDL by hand. The key judgement is whether the screen is *showing what the voice is describing*:
- **Voice describes an action that is visible** (writing, clicking, scrolling, dragging, something loading): keep RAW.
- **Screen is still, or irrelevant to the words** (explaining a concept, a price, a comparison, a list of reasons, a warning, a recap): switch to a motion-graphic scene built from the words being said.
- **Intro and outro**: always motion graphics, plus a short raw preview of the result if the creator has one.
Two things the creator stressed:
- **Motion graphics go wherever the screen has nothing to show, and you decide how long, not a fixed time.** Usually that is the opening hook (the creator talks before any real screen work, so it is motion graphics until he turns to the task: it may be 8 s or 40 s), but it can equally be in the middle (an explanation while the screen is still or off) or at the end (recap, call to action). Read the transcript and the activity data and mark every such place yourself. Use the hype style in `references/hype-hook.md` for the hook and the calm light style for explanations.
- **Screen-off or talking-only stretches** (black screen, still screen, or the creator just speaking for a long time) become `MG`, however long. `analyze_activity.py` reports `dark_spans` for black screens and `segment.py` turns them into `MG`. Real screen action stays `RAW`, and there the only effects are smooth zoom in/out when something is typed or shown, and an arrow plus click ring on a button click.
Motion graphics should usually be 10–25% of the runtime (8-10 min video: roughly 1-2.5 min). If your EDL is above 35%, you are probably replacing useful raw footage. Then split every INTRO, MG and OUTRO segment into beats and validate:
```bash
python scripts/make_beats.py --edl edl.json --transcript transcript.json --out edl.json
python scripts/make_beats.py --edl edl.json --validate
```
This guarantees no motion-graphic scene holds still for more than 4.5 s and that no template repeats back to back. The script proposes a template and a transition per beat from keywords; you then adjust each beat by meaning using `references/scene-design.md` (for example a beat about a price should be `price-tag`, a process should be `flow-diagram`), confirm or change its suggested `mockup` from `references/mockup-kit.md`, and **set a `treatment` for every beat** (`text-only`, `text+visual` or `visual-only`, chosen by what the words need, see `visual-translation.md`) **write an `on_screen` label of 0-3 words, a `camera` motion and 2-4 `elements` with their `anim`** (see `references/motion-elements.md`; a UI card is never the hero) (the spoken sentence is never displayed), and **write a `visual_brief` for every beat** (what appears, what moves inside it, what is emphasised) using `references/visual-translation.md`. Each beat also gets `sync_events` (proposed by the script at key spoken words): for every one, write the `action`, meaning what changes on screen at that word, so the visual follows the voice phrase by phrase and nothing sits unchanged for more than 1.5 s. Finish with `python scripts/make_beats.py --edl edl.json --validate --strict`, which fails while any beat lacks a visual brief, any event lacks an action, or any gap between events is too long.
Print the EDL as a short table (start, end, type, one-line reason) in your reply so the creator can veto anything. Continue without waiting unless something is genuinely ambiguous.
### 6. Build the composition
Read `references/polish-and-craft.md` **first** (motion philosophy, spacing laws, shape harmony, anti-pattern blacklist, transitions, and exact sync standards), alongside `references/motion-elements.md`, `references/less-text-more-motion.md`, `references/raw-clip-effects.md`, `references/style-system.md`, `references/scene-design.md`, `references/hype-hook.md`, `references/visual-translation.md`, and `references/mockup-kit.md`. Every beat's visual is designed from its own words—never from a generic template or recycled artwork. Start from the three ready-made asset modules in `assets/`:
- `assets/motion-primitives.tsx` (critically-damped zero-bounce `Wrap`, arrow-safe `<Line>`, smoothly absorbing `<Travel>`, Ken Burns `<Phone>`, distinct `9:16` `<Grid>`, `round`/`tile={false}` `<Logo>`, high-contrast `<Vault>`, type-safe `<Count>`)
- `assets/transitions-and-arrows.tsx` (`TransitionWrapper` for 12-frame `MG ↔ RAW` rounded-card reveals & dissolves, `CurvedRedArrow`, and `groupBeatChains` so `continues: true` chains never flash)
- `assets/motion-kit.tsx` (`CameraRig`, `Cursor`, `ProgressRing`, `DeviceFrame`, `Pin`, `Bubbles`)
Reuse shared primitives in `engine/src/shared/` (or copy updated modules from `skills/raw-clip-motion-editor/assets/` into `engine/src/shared/`) and compose every beat by its unique `beat.mockup` key inside `engine/src/projects/<slug>/` driven by `edl.json` and registered in `engine/src/Root.tsx`. Never hard-cut abruptly between `MG` and `RAW`, never clutter clean studio backdrops with random particles or decorative rings, never invent unstated numbers, and verify every RAW arrow coordinate on its exact extracted frame.
### 7. Sound
- **Raw Voiceover Only (when requested):** Convert the creator's clean voice file straight to uncompressed `48 kHz` stereo PCM WAV (`ffmpeg -i voice.mp3 -ar 48000 -ac 2 -c:a pcm_s16le voice_raw.wav`) for microsecond-accurate Remotion sync, with **zero SFX, zero music, and zero processing**.
- **Voice + UI SFX (default when SFX desired):** Voice stays untouched except for light loudness normalisation to about `-16 LUFS`. Add short UI sounds (pop, tick, soft whoosh) on graphic entrances and zooms at low volume (`-18 dB` relative to voice, `>= 0.45 s` spacing). No music bed unless the creator asked for one; if so, duck it to roughly `25 dB` below the voice. See `references/style-system.md` for the SFX map.
### 8. Preview, render and check
Always verify with a live preview or short preview + spot stills before committing to a long full render (see render flags in `references/polish-and-craft.md` §7):
1. **Pre-render gates.** Run `python skills/raw-clip-motion-editor/scripts/make_beats.py --edl projects/<slug>/edl.json --validate --strict` (0 errors, 0 warnings) and `npm run typecheck` inside `engine/` (0 errors).
2. **Environment-smart preview / delivery (NEVER auto-render final MP4 before approval):**
- **Local / CLI Agent (Antigravity, Claude Code, Cursor, Codex):** Launch live **Remotion Studio (`npx remotion studio src/index.ts`)** (plus fast `--scale=0.5` spot stills inspected visually; on Windows pass `--browser-executable` pointing to local Chrome) and wait for creator approval before running the full MP4 render.
- **Web / Cloud Chat Agent (Claude Web, ChatGPT Web, etc.):** Do **NOT** render a heavy MP4 inside the cloud sandbox; instead package the complete ready-to-run **Remotion project as a `.zip` file** (with `npm install && npx remotion studio src/index.ts` instructions) so the user can preview and render locally.
3. **Full render (1080p or Native 4K UHD, 30 fps).** Stop any live Remotion Studio server first so all CPU cores are free:
- **1080p Standard:** `--codec=h264 --crf=18 --pixel-format=yuv420p --image-format=jpeg --jpeg-quality=95 --concurrency=5`
- **1080p Master High Quality:** `--codec=h264 --crf=16 --pixel-format=yuv420p --image-format=png --audio-bitrate=320k --concurrency=5`
- **Native 4K UHD (`3840×2160`):** `--scale=2 --codec=h264 --crf=16 --pixel-format=yuv420p --image-format=png --audio-bitrate=320k --concurrency=4`
4. **Visual & craft audit** across every `MG ↔ RAW` transition, rapid-list beat, RAW arrow target, and the outro (`references/polish-and-craft.md` §4):
- **Spacing & overlap:** >= 90–120 px clear gap between gear teeth/emblems and titles; zero overlapping outro icons; `whiteSpace: 'nowrap'` on all short chips; zero broken Bangla conjuncts.
- **True motion & zero recycling:** Every beat changes scenes or evolves cleanly via `continues: true` (never a scene vanishing and popping right back in, never aimless bouncing/shaking, never idle >= 1.5 s).
- **Exact sync:** Phrase-locked beat cuts; rapid 3–4 item lists verified directly against audio waveform onsets; long mid-tutorial frozen talking stretches (`12–25 s`) converted to `MG`.
- **Geometry & truthfulness:** Arrow dots fade before arrowheads; flying clips absorb behind target logos; curve-riding icons track the exact Bézier tip; every shown platform receives curves/clips; displayed counts match actual visible items; zero invented numbers; RAW arrows pixel-calibrated on extracted frames.
5. **Deliver** the final mp4, `edl.json`, and a concise report: transcript quality, spot-checked frames, and any subtle notes.
## Principles worth remembering
- **True motion graphics, not fake movement.** Motion must express meaning—drawing, traveling & absorbing, counting, transforming, revealing in 3D depth. Never recycle the same scene back-to-back or fake motion with bouncy shaking.
- **Restraint and negative space beat clutter.** Keep 65–85% of the frame open. Two pure hero objects floating on a clean studio backdrop always beat a crowded multi-widget UI card.
- **Text is minimal, motion is the point.** One idea per 2–4 s beat, 0–3 words on screen. Never display the spoken sentence, and never invent numbers the creator did not speak.
- **Raw footage is the product.** Interrupt the real screen only when the screen sits still or has nothing to show—and always transition smoothly (`12-frame` overlap) between `MG` and `RAW`.
- **Graphics follow the voice word by word.** Verify rapid cues against the real audio waveform so every visual lands right on the spoken word.
- **Re-runnable.** Everything flows from transcript, activity and `edl.json`, so any timing or visual tweak is a clean, surgical re-render.
Files in this skill
- SKILL.md
- assets/motion-kit.tsx
- assets/motion-primitives.tsx
- assets/transitions-and-arrows.tsx
- references/bangla.md
- references/hype-hook.md
- references/intake.md
- references/less-text-more-motion.md
- references/mockup-kit.md
- references/motion-elements.md
- references/polish-and-craft.md
- references/raw-clip-effects.md
- references/run-prompt.md
- references/scene-design.md
- references/segmentation.md
- references/style-system.md
- references/transcription.md
- references/visual-translation.md
- scripts/align_words.py
- scripts/analyze_activity.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.