/vibe-editing:renderfrom Vibe Editing
Manifest-driven, stage-cached rendering engine for video clips. Each clip is a recipe with editable source files; re-run after edits to surgically rebuild only changed stages.
Ships in Vibe Editing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The problem this solves: delivered .mp4s are flat — all the layers (cuts, reframe, grade, captions, music) baked into one file. Any revision = either re-render from scratch (which can change unrelated things) or overlay hack (which is fragile). This skill makes revisions surgical by keeping every stage's output cached and re-running only what changed.
A clip is a recipe: manifest.json references source files for each layer.
project/
manifest.json # the recipe
00_SOURCE/ # raw masters
10_WORK/
cuts.json # in/out per segment (editable)
captions.ass # caption source (editable)
music.json # music + leveling (editable)
stages/ # cached intermediate renders
cut/<hash>.mp4
reframe/<hash>.mp4
grade/<hash>.mp4
captions/<hash>.mp4
mix/<hash>.mp4
leadfix/<hash>.mp4
20_DELIVER/v<N>/
<Brand-named>.mp4
Engine reads manifest → for each stage in pipeline order:
stages/<stage>/<hash>.mp4 exists → cache hit, skip renderFinal stage's output is copied to 20_DELIVER/v<N>/<Brand-named>.mp4.
# First render of a new clip
python3 ${CLAUDE_PLUGIN_ROOT}/skills/render/engine.py <project_dir>
# Revise — engine auto-detects which source changed and rebuilds from there
python3 ${CLAUDE_PLUGIN_ROOT}/skills/render/engine.py <project_dir>
# Force re-render from a specific stage (skip cache from this stage forward)
python3 ${CLAUDE_PLUGIN_ROOT}/skills/render/engine.py <project_dir> --from captions
# Deliver to a new version folder (default: v1; bumps if --bump)
python3 ${CLAUDE_PLUGIN_ROOT}/skills/render/engine.py <project_dir> --bump
Each clip type has a stage chain defined in pipelines/<type>.json. Project's manifest.json references one via "pipeline": "listicle".
| Pipeline | Stages | Use for |
|---|---|---|
listicle | cut → reframe → grade → captions → mix → leadfix → deliver | Rapid-fire numbered shorts (build_short.py output) |
qa (todo) | qa_assembly → captions → mix → deliver | Q&A multicam from stage footage |
podcast (todo) | scene_split_reframe → dual_color_captions → mix → deliver | Two-speaker podcast |
single (todo) | cut → reframe → grade → captions → mix → deliver | Single talking-head |
Each stage is a Python module in stages/<stage>.py exposing:
VERSION = "1.0.0" # bump to invalidate cache for ALL prior outputs
def run(work_dir: Path, config: dict, inputs: dict) -> dict:
"""
work_dir: the project's 10_WORK/ directory
config: this stage's config from the manifest
inputs: {"<prior_stage_name>": "/abs/path/to/output.mp4", ...}
returns: {"out": "/abs/path/to/this/stage/output.mp4"}
"""
Engine handles caching, hashing, and chaining. Stages are pure: given the same inputs+config+VERSION, they produce the same output.
See manifest_example.json for a working example. Required keys:
title — short slug (e.g. BusinessAdvice14Years)pipeline — name matching a pipelines/<name>.jsonoutput.name — final delivered filenameoutput.dir — relative to project, default 20_DELIVER/v1/stages — per-stage config (keys match stage names in the pipeline)10_WORK/captions.ass10_WORK/cuts.json10_WORK/music.jsoncaptions.preset (static Y) or, on a split+close-up clip,
captions.closeup_y_pct (close-up below-chin Y; split panels always ride the 50% seam). This is
a BURN-only change → the GEN (transcribe+director) cache-HITs and is skipped (~60s saved, captions
byte-identical). See the GEN/BURN split below.reframe block in manifest.jsonreframe.split in manifest.json:
{"segments": [<cut-seg idx>], "top": {preset/roi/zoom/eye_y}, "bottom": {...}, "crop_y": 192, "detw": 2560}
(stage v2.4.x: full single-pass reframe still runs; flagged segments are rebuilt as two
ROI-restricted qa_reframe_v2 tiles + h2v make_splitscreen.py --width 2160, spliced in
frame-exactly; audio passes through untouched. Set each tile's roi from the MEASURED
face positions in the wide shot — wrong ROI = silent ROI-center fallback, tile shows furniture.)python3 ${CLAUDE_PLUGIN_ROOT}/skills/render/engine.py <project>20_DELIVER/v<N>/The captions stage (stages/captions.py v2.4.0) splits caption work into two halves with different
dependencies, so a reframe/zoom/grade/caption-height tweak doesn't pay the ~40-80s LLM director again:
10_WORK/caption_gen_cache/<genkey>/ keyed pixel-independently (cut-id, not the reframed video).generate_spice --burn onto the framed video. Depends on the PIXELS; re-runs
whenever the framing changes. Captions must sit on the final picture, so the burn can't be reused.
Result: a pixel-only re-render logs caption-gen HIT — transcribe+director skipped and goes straight
to the burn (faster + byte-identical captions, no director re-roll drift). A CUT change correctly
regenerates (audio/timing moved). spice_caption.py modes: --gen-only, --burn-from <dir>,
--layout-file <json> (full mode unchanged for the caption-app).If the stage code changes (bug fix, new feature), bump its VERSION constant. The hash changes → all cached outputs for that stage become stale → next render re-runs that stage and everything downstream. This is the cache-invalidation switch.
Legacy delivered .mp4s (pre-render skill) have no manifest. Revisions on them use the overlay hack (caption layer over the burned video). Going forward, every NEW project goes through render.py and gets the layered cache.
engine.py (opens in a new tab)pipelines/anthropic-demo.json (opens in a new tab)pipelines/listicle.json (opens in a new tab)pipelines/qa.json (opens in a new tab)pipelines/single.json (opens in a new tab)scripts/init_manifest.py (opens in a new tab)stages/__init__.py (opens in a new tab)stages/_util.py (opens in a new tab)stages/audio_mix.py (opens in a new tab)stages/captions.py (opens in a new tab)stages/cut.py (opens in a new tab)stages/grade.py (opens in a new tab)stages/leadfix.py (opens in a new tab)stages/mix.py (opens in a new tab)stages/reframe.py (opens in a new tab)stages/remotion_render.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-rendering, stage-cache, clip-pipeline, surgical-revision
npx claudepluginhub maddexritter-rgb/vibe-editing --plugin vibe-editing19 skills in this plugin
/audit-audioDedicated audio auditor. Receives a rendered clip and checks ONLY audio quality: word clipping, pops/clicks at splice points, level consistency, buzz/hum, music bed balance, clean open/close. Runs in fresh context — audio only, no video. Returns structured pass/fail per check with timestamps for failures. Part of the post-render audit fan-out at edit step 9.
/audit-captionsDedicated caption auditor. Receives a rendered clip and checks ONLY caption quality: accuracy vs spoken audio, speaker color attribution, timing sync, formatting, emphasis, and positioning. Runs in fresh context with NO knowledge of how the clip was made. Returns structured pass/fail per check with specific timestamps for failures. Part of the post-render audit fan-out at edit step 9.
/audit-scriptDedicated editorial/script auditor. Receives ONLY the transcript text of a rendered clip (no video, no audio). Checks logical flow, context-before-payoff, cold viewer comprehension, one-arc structure, hook quality, brand safety, and SOP compliance. Uses all editorial SOPs (post bible, scorecard, Q&A SOP, hooks taxonomy). Runs in fresh context with NO knowledge of how the clip was made or what footage it came from. Returns structured pass/fail per check with specific line references. Part of the post-render audit fan-out at edit step 9.
/audit-visualDedicated visual auditor. Receives a rendered clip with audio STRIPPED and checks ONLY visual quality: face tracking stability, framing consistency, jump cuts, frozen frames, black frames, rendering artifacts. Cannot see captions (they're burnt in — use audit-captions for that). Runs in fresh context with NO editing knowledge. Returns structured pass/fail per check with frame numbers for failures. Part of the post-render audit fan-out at edit step 9.
/caption-clipsTHE single caption skill. There is ONE caption style for ALL footage — "spice" (the locked the reference editor look). Burns it onto any short-form clip via ONE engine. Default and only style. Use whenever the user says "caption this", "add captions", "pro/speaker/spice/montserrat captions", "caption these clips", "split this reel and caption each one", or "/glow" (glow is retired → produces spice). Trigger keywords caption this clip, add captions, pro captions, spice captions, speaker captions, montserrat captions, caption these, reel captions, subtitle, burnt-in captions, word-by-word captions, glow./editOrchestrate raw footage into short-form clips: ingest, source inspection, moment selection, cutting, reframing, captions, music, rendering and checks. Use for make clips, make shorts, cut clips, mine clips, podcast clips, Q&A clips, hotline clips or multicamera edits. Connect the current editing providers through onboarding before first production use.
Other plugins' skills for the same job