Skip to main content
skill CX Codex

stage-consistency — Claude Code skill: what it does, install

Keeps characters, framing, and visual style aligned across shots and scenes. It targets multi-shot videos and long stories, not one-off generation.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Orkas-AI/Orkas-VideoStudio --skill stage-consistency -a claude-code
Open on GitHub

What stage-consistency does

This skill turns a script into a character bible stored at project/characters/bible.json. It separates fixed identity traits from changing details, merges aliases into one canonical character, and records front, side, and back portraits. A front portrait is created once and kept as the visual anchor; alternate views are derived from it by reference editing. A user photo can serve as a character’s front portrait.

For each shot, the skill matches visible characters with the needed camera view and adds the latest frame from the same scene when available. It binds each reference to a clear purpose, creates the first frame before animation, and then uses ovs video for image-to-video generation. The resulting frame can be pulled with ovs edit extract-frame and carried into the next shot. Long scripts are handled through chunking and retrieval of relevant source sections. Default limits are ≤ 3 characters, ≤ 3 scenes, and ≤ 6 shots; exceeding them requires approval of the full count and rough billable generation total before work starts. Generation must wait for the user’s approval.

What it helps with

  • keep one character’s appearance stable across shots
  • match reference portraits to camera angles
  • carry lighting and composition into the next shot
  • turn a long script into scenes and events
  • review a keyframe before video generation

Example prompts for the agent

  • Build a character bible for this script and save it to project/characters/bible.json.
  • Plan this multi-scene story with locked character looks, view-matched references, and carry-forward frames.
  • Create and check the first frame before calling ovs video, then extract a representative frame with ovs edit extract-frame.

How to install stage-consistency

1Skills CLI (Vercel)

npx skills add Orkas-AI/Orkas-VideoStudio --skill stage-consistency -a claude-code

2Manually: put the files in place

~/.claude/skills/stage-consistency/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stage-consistency/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about stage-consistency

How do I install stage-consistency in Claude Code?

Run npx skills add Orkas-AI/Orkas-VideoStudio --skill stage-consistency -a claude-code. Then check ~/.claude/skills/stage-consistency/SKILL.md.

What does stage-consistency do?

It keeps character identity, scene continuity, and visual style aligned across generated shots. The workflow covers a character bible, locked portrait anchors, reference selection, keyframe review, and frame carry-forward.

What are the default scope limits?

The default scope is ≤ 3 characters, ≤ 3 scenes, and ≤ 6 shots. Larger plans require confirmation of the full count and a rough billable image/video generation total before generation begins.

Source text

SKILL.md · MIT
---
name: stage-consistency
description: Multi-shot narrative & character consistency — a character bible with a locked front-portrait anchor, view-matched reference selection, recent-frame carry-forward, Cameo (a user photo as the lead), and global planning for long scripts/novels. Trigger on top of the generation line when the SAME character must look the same across many shots/scenes, or for long-form story→video; do NOT trigger for one-off single-shot generation.
---

# stage-consistency

How to keep characters, settings, and style **consistent across many generated shots** (and across scenes in a long story). This is the depth layer on top of the generation line: the generation line makes clips; this skill makes the SAME character look the same in every clip. Describe the outcome; the tools are `ovs image` for portraits (incl. reference-image editing), `ovs video` for image-to-video, `ovs edit extract-frame` to pull an anchor frame, and a long-document strategy (chunking + retrieval/RAG over the source) for long sources (or the equivalent MCP tools).

## 1. Character bible (extract once, lock the look)

From the script/idea, extract every recurring character into `project/characters/bible.json`. For each character separate:

- **static features** — the *immutable* visual identity: face, hair, body shape, ethnicity, age range. These NEVER change shot-to-shot.
- **dynamic features** — changeable: clothing, accessories, expression.
- a single **canonical name** (merge every alias/pronoun for the same person to one id).

```json
{
  "alice": {
    "static": "early-20s East-Asian woman, oval face, long black hair, slim build",
    "dynamic": "green linen dress, small gold earrings",
    "portrait": { "front": "characters/alice_front.png", "side": "characters/alice_side.png", "back": "characters/alice_back.png" }
  }
}
```

## 2. Portrait anchor (generate once, then LOCK)

For each character, generate ONE **front portrait** (full-body, front view, plain background) from its static+dynamic features with `ovs image`. **This is the anchor — never regenerate it.** Derive side/back views by reference-image editing the front portrait (so all three views are the same person). Save paths into the bible.

- **Cameo** (the user uploads a photo to BE a character): use that photo AS the front portrait — skip generation for that character. Everything downstream references it.

## 3. Storyboard with character binding

Decompose the script into shots. Each shot records:

- which characters are visible (and at what camera angle — front / side / back),
- a first-frame description and the motion,
- **describe motion by VISUAL FEATURES, not names** — write "the figure in the green dress turns to the figure in the blue shirt", NOT "Alice turns to Bob". (Generators ground on appearance, not names.)

## 4. Per-shot reference selection (the core consistency mechanism)

For each shot, before generating it, assemble the reference images and bind them explicitly:

1. **Candidates** = for every visible character, the portrait view that MATCHES the shot's camera angle (front shot → front portrait, profile → side portrait) **plus** the most recent already-generated frame that shares this scene/camera.
2. **Priority**: a recent prior frame of the same camera > an older frame > portrait-only; same-camera > different-camera. Keep relative positions (if a character was on the left, keep them on the left). Don't pick two references that show the same face.
3. **Explicit binding**: write a generation prompt that maps each reference to what it's for — "ref 1 (front portrait) → facial features & hair; ref 2 (previous frame) → lighting & background". 
4. Generate the shot with `ovs video` **image-to-video** using those reference images.

## 4b. Verify the keyframe BEFORE you pay to animate

For a character-critical shot, generate the **first-frame image** first (cheap), check it, and only then drive the video from that locked frame — catching drift at the still is far cheaper than discovering it after paying to animate.

- **Check the keyframe against the bible** on the identity axes, in priority order: 1) character — gender, age, ethnicity, facial features, body shape, hairstyle; 2) spatial — relative positions/perspective match the reference (left stays left); 3) accuracy — matches the shot's description. Read it yourself if multimodal; if you cannot see images, mark it unverified and lean harder on a strong locked reference.
- **Re-roll the cheap image**, not the expensive video, until it matches; generate a few candidates and keep the most consistent one. Never hard-fail — pick the best and note its shortcoming.

## 5. Carry-forward (continuity between shots)

After a shot is generated, pull its representative frame with `ovs edit extract-frame` (e.g. its last frame) into `project/frames/`. That frame becomes a high-priority reference for the NEXT shot in the same scene — this is what carries lighting, composition, and the exact current look forward, so drift doesn't accumulate.

**Cache the decision, not just the pixels.** Record each shot's chosen references + the binding prompt (e.g. in the plan/segment) alongside the produced frame. A resumed run then reuses the SAME references and prompt and reproduces the same frame, instead of re-rolling the selection and silently drifting from the earlier run.

## 6. Long script / novel → movie (global planning first)

For long-form, plan globally BEFORE generating:

1. Chunk the source; for a very long novel, use a long-document strategy (chunking + retrieval/RAG over the source) and retrieve the relevant chunks per event instead of holding it all at once.
2. Extract **events → scenes**; extract characters per scene.
3. **Merge characters** so the bible is global: same person across scenes → one entry (track the name variant each scene uses); same name but conflicting static features (e.g. a child vs. the adult years later) → split into two characters. New character → append.
4. Carry the ONE global bible (locked portraits) through every scene, so a character looks identical across the whole story.

## Default scope caps (cost control)

A story multiplies billable calls (portraits per character + clips per shot + carry-forward frames). Default bounds unless the user explicitly asks for more: **≤ 3 characters**, **≤ 3 scenes**, **≤ 6 shots total**. Above these, state the full count + the rough number of billable image/video generations in the pre-generation confirmation and get the user's explicit OK before generating anything.

## Rules & boundary

- **The anchor is sacred**: a character's front portrait is generated once and reused; never silently regenerate it (that's how looks drift).
- **Cost discipline**: portraits + per-shot generation are billable; state the exact character/shot counts in the pre-generation confirmation and never start generating before the user approves.
- This skill is the consistency METHOD; it does not itself author HTML (stage-compose) or cut user footage (stage-edit). It sits on top of the generation line.

© Orkas-AI · MIT · Orkas-AI/Orkas-VideoStudio

Similar skills

SKILL.md skills catalog →

From the same set14

stage-plan Ingests raw media files and generates a validated cross-modal video plan in plan.json for multi-axis production. CX Codex +1 ★ 329repo stars stage-generate Generate footage shot by shot, then assemble it while keeping the approved plan’s settings. Use it for talking-head clips or an AI b-roll montage. CX Codex +1 ★ 329repo stars stage-edit A skill that cuts, joins, burns captions and places overlays on footage you already shot. Useful once the clips exist and the edit decisions are made. CX Codex +1 ★ 329repo stars stage-decide Inspects raw footage to remove dead air, cut filler words, and rank repeated takes into an evidence-based rough cut. Useful when turning long recordings into tight edits. CX Codex +1 ★ 329repo stars stage-compose This skill gives the agent authoring knowledge for Orkas/OVS HTML compositions and runs them through ovs draft to produce an mp4. Useful for explainers, titles and motion graphics. CX Codex +1 ★ 329repo stars stage-assemble Assembles a validated cross-modal EDL from plan.json into a final video using ovs CLI and FFmpeg tiers. Runs only after plan approval. CX Codex +1 ★ 329repo stars orchestration Coordinates video creation and editing from the initial concept to the final export, pausing for user approval before important production decisions. CX Codex +1 ★ 329repo stars gate-control Sets the rules for what a video approval actually authorizes and which step comes next. Useful once edits start arriving after a gate. CX Codex +1 ★ 329repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor