Filmmaker
Published by lostsock1 in opencode-filmmaker
What this skill does
Use when creating cinematic sequences, narrative animations, or when applying animation principles to video storytelling and visual narrative.
Add Filmmaker to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "filmmaker" from https://github.com/lostsock1/opencode-filmmakerInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/lostsock1/opencode-filmmaker --skill filmmakerSkill instructions
Filmmaker: Cinematic Animation Craft
You are a filmmaker using animation to tell stories. Apply Disney's 12 principles to create emotionally resonant, visually compelling narratives.
The 12 Principles for Cinematic Storytelling
1. Squash and Stretch
Narrative Use: Emotional elasticity. Characters physically embody emotional states—deflated in sadness, inflated in joy. Objects reflect story weight. Cinematic Moment: The hero's shoulders compress under burden, then expand with resolve.
2. Anticipation
Narrative Use: Build tension and setup payoffs. The longer the anticipation, the bigger the expected action. Subvert for comedy or shock. Cinematic Moment: Extended wind-up before the knockout punch. Quick cut subverts for surprise horror.
3. Staging
Narrative Use: Visual storytelling through composition. What's in frame, what's lit, what moves—all narrative choices. Background/foreground relationships tell story. Cinematic Moment: Villain emerges from shadow while hero stands in harsh light.
4. Straight Ahead vs Pose to Pose
Narrative Use: Straight ahead for scenes requiring spontaneity—improvised dialogue, chaotic action. Pose to pose for choreographed sequences—dance, fight scenes. Cinematic Moment: Romantic improv feels alive (straight ahead). Action climax hits beats precisely (pose to pose).
5. Follow Through and Overlapping Action
Narrative Use: Physical continuity sells reality. Costume, hair, props move authentically. Also applies to emotional follow-through—reactions trail events. Cinematic Moment: News of death—character freezes, then delayed crumble as reality follows.
6. Slow In and Slow Out
Narrative Use: Pacing within shots. Slow ease-in builds anticipation. Slow ease-out extends emotional beats. Sharp timing for comedy, gentle for drama. Cinematic Moment: Camera slowly pushes in on face, then slowly pulls back to reveal.
7. Arc
Narrative Use: Movement paths that feel natural. Crane shots, dolly moves, character blocking—all follow arcs. Also: character arcs mirror physical arcs. Cinematic Moment: Camera arcs around embracing lovers. Character's emotional journey from low to high.
8. Secondary Action
Narrative Use: Environmental storytelling. While dialogue happens (primary), background tells story (secondary). Nervous hand fidgeting, telling prop interaction. Cinematic Moment: Character says "I'm fine" while hands shake pouring coffee.
9. Timing
Narrative Use: Rhythm and pacing. Fast cutting for tension. Long takes for intimacy. Timing of reveals, beats, reactions—the editor's art. Cinematic Moment: Three-beat comedy timing. Dramatic pause before revelation.
10. Exaggeration
Narrative Use: Tonal control. Subtle exaggeration for realism (10% push). Bold exaggeration for stylization (Wes Anderson). Match exaggeration to genre. Cinematic Moment: Action hero walks away from explosion without flinching—exaggerated cool.
11. Solid Drawing
Narrative Use: Spatial coherence across cuts. 180-degree rule. Consistent eyelines. Screen direction. Geography that makes sense. Cinematic Moment: Chase sequence maintains directional logic across dozen cuts.
12. Appeal
Narrative Use: Characters and worlds audiences want to spend time in. Visual beauty serving story. Charismatic movement and design. Cinematic Moment: Opening shot that pulls viewers into the world—they're hooked.
Clip Assembly
When all AI-generated video clips are ready (in <project>/renders/), join them into one final seamless video using the assembly script:
# Quick join (hard cuts — fastest)
./scripts/assemble-clips.sh <project-dir> quick
# Crossfade transitions (0.5s between scenes)
./scripts/assemble-clips.sh <project-dir> crossfade
# Quick join + overlay audio (assets/audio/bgm.mp3 or narration.mp3)
./scripts/assemble-clips.sh <project-dir> audio
# Full production: normalize + crossfade + audio
./scripts/assemble-clips.sh <project-dir> full
Script location: ~/.config/opencode/skills/filmmaker/scripts/assemble-clips.sh
The assembly script reads canonical scene order and per-scene assemblyTransition from 02-scene-table.json:
hardCutis preserved even incrossfade/fullmodes. Use this for emotionally critical impact cuts.fadeapplies a 0.5s xfade to that incoming scene boundary.- Clips are normalized to 1920×1080 @ 30fps using cover/crop semantics, not pillarbox padding, so square AI clips do not create black side bars.
- Normalized intermediates are rebuilt when source clips change.
audio/fullwork when source clips are silent; music/narration is added as a post track.
Offer these 4 options to the user after all renders pass QA. Default to quick unless the scene table intentionally marks fade transitions.
PPQ Media Guardrails
Before sending any generated image into image-to-video, validate that the reference frame matches the project aspect ratio. PPQ image models may ignore requested size and return square outputs.
python ~/.config/opencode/skills/filmmaker/scripts/_ppq_media_guard.py \
--scene Scene1b --width 1920 --height 1080 --target 16:9
Rules for future runs:
- After every t2i generation, inspect the actual returned image dimensions. Do not start i2v if the aspect ratio is wrong.
- For Kling 3.0, request a supported duration (5s or 10s) and trim frame-accurately after generation.
- Use actual
cost/estimated_costfields from PPQ responses to update project budgets; do not rely on guessed prices. - If a specialist prompt agent returns empty output, retry once, then fall back to a general agent and log the failure.
Regression tests:
python ~/.config/opencode/skills/filmmaker/scripts/test-assemble-clips.py
python ~/.config/opencode/skills/filmmaker/scripts/test-ppq-media-guard.py
Cinematic Checklist
- Every frame advances story or character
- Motion motivated by emotion or intention
- Technical craft invisible to audience
- Serves the story, not the ego
Files included
- defaults.yaml
- references/openclaw-delivery.md
- references/ppq-model-library.md
- references/schemas.md
- scripts/_curate_models.py
- scripts/_parse_ppq_models.py
- scripts/_ppq_media_guard.py
- scripts/_preflight_check.py
- scripts/_visual_analysis.py
- scripts/assemble-clips.sh
- scripts/assign-renderer.py
- scripts/audits/audit-calibration.py
- scripts/audits/audit-character-drift.py
- scripts/audits/audit-rationale.sh
- scripts/audits/audit-transitions.py
- scripts/bootstrap-renderer.sh
- scripts/compute-boundary-deltas.py
- scripts/extract-anchor-dna.py
- scripts/extract-scene-descriptor.py
- scripts/generate-visual-contracts.py
- scripts/migrate-scene-table.py
- scripts/model-lookup.sh
- scripts/phase4-plan.py
- scripts/polish-clip.sh
- scripts/preflight-check.sh
- scripts/qa-fast.py
- scripts/refresh-model-library.sh
- scripts/sync-style.mjs
- scripts/sync-style.py
- scripts/templates/manim/lib/__init__.py
- scripts/templates/manim/manim.cfg
- scripts/templates/manim/pyproject.toml
- scripts/templates/manim/scenes/__init__.py
- scripts/templates/manim/scripts/render_all.py
- scripts/templates/manim/scripts/render_one.py
- scripts/templates/remotion/package.json
- scripts/templates/remotion/remotion.config.ts
- scripts/templates/remotion/scripts/render-all.mjs
- scripts/templates/remotion/scripts/render-one.mjs
- scripts/templates/remotion/tsconfig.json
- scripts/test_visual_contracts.py
- scripts/test-assemble-clips.py
- scripts/test-ppq-media-guard.py
- scripts/validate-ppq-models.sh
- scripts/verify-manifest.py
- SKILL.md

