# How to Add the Character Films Skill to Your AI Agent

Category: Video

Use when producing a narrative video about historical figures, fictional stories, day-in-the-life pieces, educational explainers with a protagonist, brand mascot stories, and any narrative video that depends on a consistent main character across scenes. Methodology for producing multi-scene character-driven short films: covers the full 11-phase pipeline — creative brief, style reference, character sheet, scene stills, animation, voiceover, per-clip audio mix, stitching, music with proper fade technique, optional subtitles, and optional Fin card — plus approval gates, parallelization strategy, asset naming, and the prompting principles that hold across video models. Tool and model selection is delegated to model-recommendations.

Raw file: https://spiral.ai/skills/character-films/SKILL.md

## Tools Character Films uses

- [FFmpeg Media Editor](https://spiral.ai/tools/spiral/ffmpeg)

## How to add Character Films to your agent

Pick the way that suits you. Each takes about two minutes.

### Save SKILL.md into your agent's skills

1. **Download the skill**: Claude Code, and other agents that read Agent Skills, load it from this folder when they start.

```bash
mkdir -p ~/.claude/skills/character-films
curl -fsSL https://spiral.ai/skills/character-films/SKILL.md -o ~/.claude/skills/character-films/SKILL.md
```

2. **Connect Spiral**: The skill runs its tools through Spiral. Send your agent this message once to set it up.

```
set up https://spiral.ai/SKILL.md
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

2. **Read the skill**: Built-in skills are on for every organization: the CLI prints this one with all its files.

```bash
spiral agent-skills get character-films --json
```

### Read it from the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Fetch the skill**: The answer holds SKILL.md and every other file of the skill, in path order.

```bash
curl https://api.spiral.ai/v1/skills/character-films \
  -H "Authorization: Bearer $SPIRAL_API_KEY"
```

Then ask your agent for the task: it loads Character Films when a request matches the skill's description.

## Instructions (SKILL.md)

# Character Films

This skill is the **methodology** — phases, approval gates, prompting principles, mix intent. Tool and model choices are not pinned: pick them at execute time using the `model-recommendations` skill plus the steps to find a tool and read its input schema. Confirm input field names and allowed values via the schema; never assume them from this document.

---

## The 11-Phase Pipeline

```
1. Creative Brief → 2. Style Reference → 3. Character Sheet → 4. Scene Stills →
5. Animation → 6. Voiceover → 7. Per-Clip Audio Mix → 8. Stitch →
9. Music → 10. Subtitles (optional) → 11. Fin Card (optional)
```

---

## Approval Discipline

At every ✋ gate below, **STOP** and show the user what was generated. Never auto-proceed through multiple phases without sign-off. At each gate: display the output, describe what comes next, and offer clear choices (approve / tweak / regenerate specific item). Use button-style choices — never make the user type yes/no.

---

## Phase 1: Creative Brief

Before generating anything, establish 5 things:

| Question        | Details                                                                                                                                        |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| **1. Subject**  | Who or what is the story about?                                                                                                                |
| **2. Style**    | What does it look, feel, and sound like? Ask for or identify a reference image if possible. If none exists, generate a hero style frame first. |
| **3. Length**   | How many scenes? A reasonable default is around 8 scenes with mixed durations.                                                                 |
| **4. Format**   | Vertical (short-form social), landscape, or square — match the user's destination.                                                             |
| **5. Narrator** | What voice tone? Use a voice picker if needed.                                                                                                 |

**Present a complete scene plan and script BEFORE generating anything.** Use a formatted table and get explicit approval.

✋ **APPROVAL GATE:** Show full plan. Ask: "Happy with this plan?"

---

## Phase 2: Style Reference

Visual style is the anchor for the entire production. Establish it once and reference it in **every single prompt**.

### If the user provides a reference image

- Name it at once (e.g. `style-ref-main`) and track its URL under that name
- Analyze it thoroughly: medium, lighting, color palette, texture, mood, composition style, grain/softness
- Pass it as an image reference in **every** scene-still call going forward (the field name varies by image model — confirm it when you read its input schema)

### If no reference is provided

- Generate a hero style frame based on the brief
- Display it and get approval before using as anchor

### Key style descriptors to always include in prompts

- **Lighting quality:** flat / dramatic / candlelit / fluorescent / overcast
- **Color treatment:** oversaturated / muted / warm / cool / washed out
- **Texture:** grain / sharp / soft / analog / digital noise
- **Setting type:** studio / location / painted backdrop / real environment
- **Overall vibe:** 1–2 sentence description

✋ **APPROVAL GATE:** Display style reference. Confirm before proceeding.

---

## Phase 3: Character Sheet

### Generating the character sheet

- Format: **3 views — FRONT / THREE-QUARTER / PROFILE**
- Aspect ratio: pick one wide enough to fit all 3 views side by side
- Include: costume, hair, distinctive features, expression
- Pass the style reference image as an input reference

Display the character sheet immediately after generation.

✋ **APPROVAL GATE:** "Happy with this character? This face goes into every scene." Offer: approve / try another version / tweak details.

### Using the character sheet in every subsequent prompt

Once approved, this face is **locked**. It goes into every single scene still.

**In every scene prompt:**

- **Start with:** "THIS EXACT FACE and identity of the character in the reference image — same [feature 1], same [feature 2]…"
- **End with:** "CRITICAL: PRESERVE THE FACE IDENTITY OF THE CHARACTER IN THE REFERENCE IMAGE PERFECTLY."
- **Always pass** the character sheet as an input image reference — never describe it from memory in lieu of including the actual image

### Age progression

If the story spans a lifetime, describe age explicitly in each prompt. Same face structure, just aged: "the same man, now in his 60s, grey hair at the temples, deeper lines around the eyes."

---

## Phase 4: Scene Stills

Generate all scene images **in parallel**.

### Settings (intent, not literals)

- Pick an image model from the `model-recommendations` skill — favor one known for character consistency
- Resolution: high enough to drive the video model cleanly (confirm via the video model's schema)
- Aspect ratio: match the final video format
- Always include **both** the character sheet and the style reference as image inputs (field names vary by model — confirm them when you read its input schema)

### Scene variety rules

Think like a director:

- Every scene = different moment, location, time
- Mix indoor and outdoor settings
- Vary camera distance: close-up → medium → wide → extreme close-up
- Narrative arc: establish → intimate → action → reaction → climax → resolution
- Never make 4 identical medium shots of the same character in the same setting

### After generation

1. **Name ALL assets at once** (see Asset Naming Convention)
2. **Show ALL of them to the user together**
3. **Check every image:** face consistency, style match, text overlays (remove any with a targeted edit), composition quality

✋ **APPROVAL GATE:** Gallery of all stills. "Happy with all scenes? Any to regenerate before we animate?" Only proceed when **every** still is approved.

---

## Phase 5: Animation

Pick a video model from the `model-recommendations` skill, following the `video-generation-rules` rule "Same character across multiple video segments". Generate each clip with reference-to-video: pass the character sheet on every clip, with the clip's approved still as an extra reference for its composition. Set the final video's aspect ratio on each call rather than cropping afterwards. Favor native ambient audio if available.

### Varied scene lengths — this is critical

Never use the same duration for every clip. A well-paced video uses contrast. For ~8 clips, aim for a rough mix:

| Type       | Approx count | Typical length | Use for                                                                       |
| ---------- | ------------ | -------------- | ----------------------------------------------------------------------------- |
| **SHORT**  | 2–3 clips    | ~5–6s          | Punchy quick cuts — action moments, reveals, punchlines                       |
| **MEDIUM** | 3–4 clips    | ~8–10s         | Standard scenes with movement                                                 |
| **LONG**   | 1–2 clips    | ~12–14s        | Slow, contemplative, emotional beats — opening establishing shot, final scene |

The "Typical length" column is calibration for planning the rhythm — actual second-counts depend on what the chosen video model supports. Read the duration field's allowed values from its input schema and round each planned length to the nearest supported option. Plan each clip's duration based on:

- **Emotional weight** of the scene (heavier = longer)
- **VO length** for that clip
- **Pacing rhythm** (vary short/long, don't cluster all long clips together)

**Always plan VO length to fit the clip BEFORE generating video.** A useful estimate is roughly ~2.5 words per second at moderately slowed speech (around speed 0.85 if the TTS model exposes a speed control — confirm via schema).

### Prompting rules

These hold across most video models. Confirm exact input fields and allowed values per model when you read its input schema.

#### 1. Every clip needs specific ACTION

Describe exactly what moves and happens. Video models need motion direction.

❌ Bad: "Leonardo painting the Mona Lisa"
✅ Good: "Leonardo applies a brushstroke, steps back squinting, then leans in again with renewed focus"

#### 2. AMBIENT AUDIO — always specify

If the chosen video model generates native audio, always describe fitting ambient sounds (SFX and ambience only). **End every prompt with "no music."** and never prompt music: it is added in post (Phase 9) and prompted music clashes with that track.

Example: "sounds of bustling marketplace chatter, distant horse hooves on cobblestones, the scrape of a wooden cart wheel. no music."

#### 3. CAMERA MOVEMENT — always describe

For example "slow push in", "shaky handheld", "tracks alongside".

#### 4. NEVER unusual capitalization in dialogue

Write speech in normal sentence case only. Video models can interpret ALL CAPS as instructions to spell out individual letters.

❌ "The narrator says: 'THIS IS AMAZING'"
✅ "The narrator says: 'This is amazing'"

### Generation

- Generate **all clips in parallel** (one batch)
- Name all raw clips at once after generation

✋ **APPROVAL GATE:** Show ALL clips together. "Happy with all clips? Any to regenerate before we stitch?" Wait for explicit approval. Regenerate rejected clips individually. Only proceed when every clip is approved.

---

## Phase 6: Voiceover

Generate VO **per clip** — never as one long continuous track. Pick a TTS model from the `model-recommendations` skill ("Speech / narration / TTS").

### Voice sample first

Generate a SHORT sample first so the user can approve the voice before committing to the full run. Let the user pick voice via a voice picker if not already established.

✋ **APPROVAL GATE (voice):** Play sample. "Happy with this voice?" before generating all clips.

### Generate all VO clips + music in parallel

Once voice is approved, generate all VO clips simultaneously. Also generate the music track in parallel (see Phase 9) to save time.

### Critical duration check

**Always capture ALL durations** from generation metadata after generation. If duration metadata is missing, probe the asset (for example with FFprobe).

Each VO must fit within its clip with breathing room:

- **Aim for:** VO duration ≤ clip duration minus ~1.5s
- **VO too long?** Regenerate with fewer words or a slightly faster speech rate
- **Never regenerate video to match VO** — audio is cheap, video is expensive

Display VO clips so the user can listen before mixing.

✋ **APPROVAL GATE:** Play all VOs. Confirm before mixing.

---

## Phase 7: Per-Clip Audio Mix

Mix VO onto each clip — **all in parallel** — with `spiral/ffmpeg` (the **media-editing** Skill's dialogue-and-music mix), or hand the per-scene audio to a composition render.

### Mixing intent

| Layer                        | Intent                                                                            | Calibration (0–1 scale)         |
| ---------------------------- | --------------------------------------------------------------------------------- | ------------------------------- |
| Voiceover                    | Dominant — full-volume, primary audio                                             | ~1.0 (VO at full)               |
| Native ambient SFX from clip | Preserved but quiet — subtle background atmosphere (footsteps, rain, crowd noise) | ~0.15 (subtle bed under the VO) |

The calibration column assumes the tool uses 0–1 mix-ratio fields, which is the common case but not universal. Before calling: read the tool's schema to find the actual field names, confirm the value scale (some tools use dB or percent), and translate the intent above accordingly. The principle is what matters: VO leads, the clip's native audio sits quietly underneath.

---

## Phase 8: Stitch

Stitch all mixed clips in correct narrative order using whichever stitching/concatenation tool is appropriate for the project (read its input schema to confirm options). Pass clips in narrative order.

Display stitched video.

✋ **APPROVAL GATE:** "Happy with the cut before we add music?"

---

## Phase 9: Music

### Generate music

- Pick a music-generation model from the `model-recommendations` skill ("Music generation")
- Instrumental, no lyrics
- Duration: total video length + ~15s buffer (so the fade-out has room)
- **Generate during Phase 6** (alongside VO) to save time — music generation is independent

### The critical fade rule

**⚠️ MUSIC FADE = MUSIC FILE ONLY — NEVER on the final video.**

Applying a fade to the final video fades ALL audio including VO and SFX.

### Correct workflow

**Step 1:** Probe total video duration.

**Step 2:** Apply fade to the **music file only**: one `spiral/ffmpeg` run with FFmpeg `afade`, the music file as `{in0}`:

```
ffmpeg -i {in0} -af "afade=t=out:st=42:d=8" music-faded.mp3
```

Set `st` to the video duration minus 8 (here a 50 s video, so `st=42`). This creates an 8-second fade-out ending at the end of the music.

**Step 3:** Mix the faded music onto the stitched video. The intent for this mix:

| Layer                           | Intent                                            | Calibration (0–1 scale)        |
| ------------------------------- | ------------------------------------------------- | ------------------------------ |
| Music                           | Quiet bed under voice — never overwhelming the VO | ~0.10–0.15 (well below the VO) |
| Existing video audio (VO + SFX) | Fully preserved — the prior mix stays untouched   | ~1.0 (passthrough)             |

Calibration assumes 0–1 mix-ratio fields. Confirm the tool's actual fields and value scale via its schema and translate accordingly — what matters is the relative balance, not the literal numbers.

Display result.

✋ **APPROVAL GATE:** "Happy with the audio mix and music level?" Unless the brief already settled them, offer subtitles and a Fin card in one line here. Go to Phase 10 only if subtitles are wanted, to Phase 11 only if a Fin card is wanted; otherwise deliver.

---

## Phase 10: Subtitles (optional)

Add subtitles only when the brief asks for them or the user accepts the offer at the music-mix gate. Then add them after the music mix. Load the **video-captions** Skill and follow its primary path (subtitle-style picker, then the one-step subtitler); use its custom caption fallback only when the user wants styling the presets can't match. For vertical short-form, favor a bold, high-contrast style placed in the lower third.

Display result.

✋ **APPROVAL GATE:** Final video with subtitles. "Happy with this?" Continue to Phase 11 only if a Fin card was asked for or accepted.

---

## Phase 11: Fin Card (Optional)

### Generate the Fin card image

Use whichever image model the project has been using (or pick from `model-recommendations`):

**Prompt:** "Elegant cinematic title card. Deep black background. The text 'Fin' centred, refined antique serif typeface, slightly aged, like a 1970s French art house film. Soft warm candlelight glow behind the text fading to pure black. Understated, dark, classy. Cinematic vignette."

- Aspect ratio: match the final video format
- Resolution: high enough to match the rest of the production

### Convert to a 5s video with fade in/out

One `spiral/ffmpeg` run, the Fin card image as `{in0}`:

```
ffmpeg -loop 1 -t 5 -i {in0} -filter_complex "[0:v]scale=720:1280,format=yuv420p,fade=t=in:st=0:d=1.5,fade=t=out:st=3.5:d=1.5[v];anullsrc=r=44100:cl=stereo,atrim=0:5[a]" -map "[v]" -map "[a]" -t 5 -c:v libx264 -c:a aac -preset fast fin-card.mp4
```

(Adjust `scale=` to match the final video resolution.)

Keep the `anullsrc` silent audio track: stitching with clips that have audio needs it.

### Stitch onto the end

Stitch the Fin card onto the end of the final video. Display the complete result.

✋ **FINAL APPROVAL GATE:** "That's a wrap!"

---

## Asset Naming Convention

| Phase              | Naming Pattern              | Example                      |
| ------------------ | --------------------------- | ---------------------------- |
| Style reference    | `style-ref-[name]`          | `style-ref-renaissance`      |
| Character sheet    | `[subject]-character-sheet` | `leonardo-character-sheet`   |
| Scene stills       | `s[n]-[description]`        | `s1-childhood-workshop`      |
| Raw animated clips | `raw-[n]-[description]`     | `raw-1-childhood-workshop`   |
| VO clips           | `vo-[n]-[description]`      | `vo-1-childhood-workshop`    |
| Mixed clips        | `mixed-[n]-[description]`   | `mixed-1-childhood-workshop` |
| Music              | `music-[style]`             | `music-orchestral`           |
| Stitched video     | `[subject]-stitched`        | `leonardo-stitched`          |
| With music         | `[subject]-with-music`      | `leonardo-with-music`        |
| Final              | `[subject]-final`           | `leonardo-final`             |

Name every asset **at once** after generation and track its URL under that name; where your files can be renamed, give the file that name. Never leave assets with default names.

---

## Parallelization Strategy

Run each group (stills, clips, VO + music, duration probes, per-clip mixes) as one parallel batch, and overlap naming with the next generation. The dependency chain is:

```
Brief → Style Ref → Character Sheet → Stills → [Animated clips + VO + Music] → Per-clip mix → Stitch → Music mix → Subtitles (optional) → Fin card (optional)
```

Animated clips depend on approved stills. VO depends on approved voice. But VO, animated clips, and music can all run in parallel once their respective inputs are ready.

---

## Handling Failures

- **Off-style or off-character still?** Regenerate that one image only.
- **Face consistency failing?** Try a different image model (pick another from `model-recommendations`) for that specific still.
- **Animated clip has artifacts or weird motion?** Regenerate that one clip only.
- **After 2–3 failed attempts on any single asset?** Flag it to the user and ask how to proceed. Don't silently proceed with broken assets.

## More skills

- [Frame Chaining](https://spiral.ai/skills/frame-chaining)
- [Gemini Omni Video](https://spiral.ai/skills/gemini-omni-video)
- [HyperFrames Animation](https://spiral.ai/skills/hyperframes-animation)
- [HyperFrames Audio](https://spiral.ai/skills/hyperframes-audio)

## Questions about Character Films

### Character Films

**What does the Character Films skill do?**

Use when producing a narrative video about historical figures, fictional stories, day-in-the-life pieces, educational explainers with a protagonist, brand mascot stories, and any narrative video that depends on a consistent main character across scenes. Methodology for producing multi-scene character-driven short films: covers the full 11-phase pipeline — creative brief, style reference, character sheet, scene stills, animation, voiceover, per-clip audio mix, stitching, music with proper fade technique, optional subtitles, and optional Fin card — plus approval gates, parallelization strategy, asset naming, and the prompting principles that hold across video models. Tool and model selection is delegated to model-recommendations.

**Which tools does Character Films use?**

It runs FFmpeg Media Editor through Spiral, each at the price on its tool page.

**Does the Character Films skill cost anything?**

The skill is free. The tools it runs are billed pay-as-you-go from your Spiral balance at each tool's stated price, with no plan.

**How does my agent know when to use Character Films?**

An agent reads each skill's description and loads its instructions when a request matches it.

**How do I add Character Films to Claude Code?**

Save its files into ~/.claude/skills/character-films/ with the commands on this page; Claude Code loads it when it starts.

**Can I use Character Films in other agents?**

Yes. Any agent that reads Agent Skills folders loads the same files, and any other agent reads the skill with `spiral agent-skills get character-films --json` or the Spiral API.

**Is Character Films on for my Spiral organization?**

Yes. Built-in skills are on for every organization; an admin can turn Character Films off on the console's Skills page.

**Where is the Character Films SKILL.md file?**

At https://spiral.ai/skills/character-films/SKILL.md, with no key needed. On the console's Skills page, Customize saves a copy you can edit as your organization's own skill.

