Scene expander

From event4u-app/agent-config · View interactive version

Scene expander is an AI agent skill from the GitHub repository event4u-app/agent-config. When expanding a one-line idea into the 12-block Cinematic Scene Blueprint — optional dialogue + ambient. Triggers 'expand this scene', 'blueprint for X'. 11-block refine → video-director.

How to use this skill

Skill file

scene-expander

Expand a one-line idea or script line into the **Cinematic Scene

Blueprint** — 12 labeled blocks consumed by

CODE0. Picks

hollywood-director for live-action; hands off animated beats to

CODE0. Output is

provider-agnostic — provider tuning is

CODE0.

When to use

adapter runs.

needs each scene expanded.

Do NOT use when:

video-director directly to refine it.

motion-choreographer.

Procedure

Step 0: Inspect

  1. Read the input line. Classify as live-action / photoreal or

animated / stylized.

  1. Live-action → load hollywood-director voice. Animated → hand

off to CODE0 (its

procedure carries the acting / beat-decomposition lens). Hybrid

(live-action with VFX) → hollywood-director; record VFX intent

in ENVIRONMENT.

  1. Check for an existing character.json lock under

agents/reference/ai-video/<project>/characters/.

Step 1: Emit the 12 blocks

One label per line. Order is mandatory.

  1. STYLE — stylistic anchor (live-action: film stock + decade,

e.g. "Kodak 5219, 2015"; animated: specific film + year).

  1. SUBJECT — character read; verbatim identity tokens when a

lock exists.

  1. ENVIRONMENT — location, time-of-day, weather, era; what the

world does in response to the subject.

  1. ACTION — anticipation / action / reaction with beat counts

(0.5s / 1.2s / 0.8s). No adjective paragraphs.

  1. CAMERA — position, height, distance, move as an INTENT

class (static hold, push-in, pull-back, lateral track, handheld

drift, orbit). Intent vocabulary, never one provider's move

grammar — the per-provider encoding happens in

CODE0.

Off-axis when on-axis is default.

  1. LENS — focal length in mm and aperture intent. "Cinematic"

alone fails. mm + aperture are cinematography units, not provider

tokens — they stay.

  1. LIGHTING — key / fill / back / practical named; "golden

hour" requires a sun angle.

  1. MOOD — one emotional read.
  2. DIALOGUE — optional. If present: speaker: "line", one per

line. Marks audio: native capability requirement.

  1. AMBIENT SOUND — optional. Layer list (wind, traffic,

crowd, ocean). Marks audio: native or routes to ffmpeg mux.

  1. DURATION — seconds (integer or one decimal). Free value;

per-provider clip-length clamping is the encoder's concern, not

the blueprint's.

  1. NEGATIVE — clichés to reject, load-bearing order top-first.

Always names: centered framing, symmetric composition, generic

"cinematic", soap-opera contrast.

Step 2: Self-review

  1. Live-action / animated classification consistent across blocks?
  2. LENS present with mm (live-action) OR stylistic anchor with

film+year (animated)?

  1. LIGHTING with a direction?
  2. ACTION names beat counts, not adjectives?
  3. DIALOGUE / AMBIENT SOUND present → the run requires `audio:

native` adapter OR ffmpeg-mux fallback declared.

  1. NEGATIVE ≥ 4 entries, load-bearing top?
  2. SUBJECT verbatim from character.json when a lock exists?

Any "no" → revise that block.

Step 3: Validate

  1. Pipe output through scripts/ai-video/lib/parse-blueprint.sh —

exits 0 and emits valid adapter-contract JSON.

  1. No provider tokens (no aspect / model / duration flags).

Output format

  1. scenes/<id>/prompt.txt — 12 labeled blocks, ready for

parse-blueprint.sh.

  1. scenes/<id>/blueprint.json — parser output, adapter-stdin

ready.

  1. scenes/<id>/review.md — one-paragraph rationale per

non-obvious choice.

Gotcha

silently — if they could plausibly belong, emit them; the parser

treats missing blocks as null, not as an error.

adapters need verbs with beat counts.

orchestrator so it picks an audio-native adapter

(capability.audio = native).

Do NOT

blueprint is the decoupling layer; the anti-leak schema test scans

it for provider tokens.

anchors in the same scene — pick one mode.

Policies

Paths, enforcement model, and the full set: the

media policy preamble.

The 12-block Cinematic Scene Blueprint is the policy choke point — every downstream skill (motion-choreographer, video-director) inherits whatever the blueprint encodes. Before emitting:

Refuse-and-surface at the blueprint layer; do not push policy questions down to the adapter.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.