Communitygithub.com

hearof-video

A general-purpose educational animation generator that assembles a full 25-person Disney/Pixar-style production team to turn any topic into a professional explainer video with voiceover, dynamic graphics, and tight AV sync.

What is hearof-video?

`hearof-video` is an AI agent skill designed for tools like Claude Code, Cursor, or Codex that transforms any given topic into a professional-quality popular science or educational animation video. It simulates a complete 25-person animation production team inspired by Disney/Pixar workflows, spanning 7 departments (Production, Creative, Art, Animation, Audio, Post-Production, Quality Control). Each team member has a dedicated prompt, task list, and acceptance criteria, and tasks are dispatched to independent sub-agents using the `16-team-dispatch.py` script. The user only needs to make decisions at 5 key checkpoints. The skill enforces strict rules for asset usage, visual-first development, audio-visual synchronization, and a chief inspector with veto power over each step, ensuring high-quality, consistent output without requiring any API keys.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/heardof/new-video/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

hearof-video · Full Animation Production Team Edition

Turn any topic into a professional educational animation with voiceover + dynamic graphics + tight audio-visual sync. A 25-person animation production team works for you: each expert has their own prompt, task, and acceptance criteria—no empty seats. You only make decisions at 5 key checkpoints.

1. The Team (Single Source of Truth: config/production-team.json)

DepartmentExpert (id)Core ResponsibilitySteps
ProductionProducer producerTurn requirements into verifiable production brief (scope, duration, success criteria, rework budget)0,1,8
Scheduler schedulerProduce expert task graph: who at which step, dependencies, outputs, what can be parallelized0
Director directorCreative vision; review every step for quality; creative veto power (shared with CI)0-3,5,7,8
CreativeStory Supervisor story-supervisorThree-act story skeleton, emotional arc, hooks & callbacks, cognitive load2
Domain Expert domain-expertKnowledge points, evidence ledger (source/URL/confidence), no fabrication allowed2
Audience & Learning Designer audience-designerVocabulary/sentence length/metaphor density constraints, comprehension checks, attention drift warnings2
Screenwriter screenwriterWrite voiceover script after on-screen text is finalized, align sentences to visual elements6
ArtArt Director art-directorStyle bible (color palette HEX/typography/shape language/color script/taboos)3,5
Visual Development visual-devQuantify "Disney standard" into benchmarks and checklists3
Character Designer character-designerCharacter specifications (head-to-body ratio, signature features, 6 expressions, mouth shapes, rendering method)3
Environment Designer environment-designerBackground/midground/foreground/decorations per scene, props that convey knowledge3
Storyboard Artist storyboard-artistPer shot: camera distance, composition, unique focal point, on-screen text, transitions, camera3
Asset Supervisor asset-supervisorAsset search, testing, licensing, cross-site coverage, full delivery4
AnimationAnimation Director animation-directorP0 Process demonstration step table (one sentence per step), easing, focus rules3,5
Layout & Camera layout-cameraCamera positions, camera motion parameters, layout values, safe zones, continuity3,5
Information Designer info-designerChart selection, step-by-step revealing, annotations & sources3,5
Technical Animation TD technical-directorImplement in Remotion code and pass all machine gates5
AudioVoice Director voice-directorCasting, emotion, emphasis, pauses, homographs6
Sound Designer sound-designerBGM/SFX cue sheet, mix to -14 LUFS6,7
Post-ProductionEditor editorRebuild timeline from recorded audio, pacing/transitions/editing decisions7
Subtitle Specialist subtitle-specialistWord-by-word sync, ≤22 chars/line, zero hanging lines, speaker labels7
Finish Artist finish-artistReview full video for artifacts, AV sync, assign responsibility7
Quality ControlRender Engineer render-engineerExport + ffprobe/ffmpeg integrity verification + delivery checklist8
Test Audience test-audienceRephrase every sentence from target audience perspective, identify drifting points, comprehension score8
Chief Inspector chief-inspectorGate checks per step + independent semantic spot checks, sign/override, directly accountable to user0-8

Full prompts and tasks are in references/TEAM-ROSTER.md (generated by 16-team-dispatch.py roster).

2. ★ Expert Dispatch Protocol (Mandatory—Without This, Experts Are Just Titles)

  1. Main thread only plays the Producer: dispatch, summarize, report to user; do not make professional judgments on behalf of any expert, do not perform multiple roles.
  2. Each expert must be executed by an independent sub-agent. Task briefs are generated by a script and passed as the full prompt to the sub-agent:
    python scripts/16-team-dispatch.py step 3            # All expert briefs for step 3 + parallel groups
    python scripts/16-team-dispatch.py brief art-director # Single expert full brief
    python scripts/16-team-dispatch.py brief td --no-embed # Skip embedding input for large code, list paths only
    
    Brief = identity & rules (system prompt) + project context + task list + embedded input materials + output format + acceptance self-check + work discipline. Recommended Dispatch Pattern (to avoid stuffing long briefs into conversation):
    mkdir -p src/team-briefs && python scripts/16-team-dispatch.py brief <id> --max-chars 2500 > src/team-briefs/<id>.md
    
    Then dispatch an independent sub-agent using an Agent tool, with a prompt of only:

    You are an expert in the hearof-video production team. Working directory <project directory>. Your full task brief is at src/team-briefs/<id>.md. First read it completely, then strictly execute tasks one by one according to "3. Tasks", write files per "5. Output Requirements", write a report src/team-reports/<id>.json per "7. Work Discipline", and finally return a summary of ≤200 characters. Do not modify outputs from others outside your brief.

  3. Dispatch by parallel groups: The script performs topological layering based on "input dependencies not yet generated". Experts in the same group are dispatched concurrently within one message; groups execute sequentially. director and chief-inspector are fixed as the last group (reviewers).
  4. Experts must deliver a work report src/team-reports/<id>.json (verdict/summary/evidence/issues). Use board to see who has delivered; verify <step> to check if output files exist.
  5. No Empty Seat (no_empty_seat): If any active expert in a step lacks a report → CI must not sign that step.
  6. Separation of Powers: Director manages "is it good?" (creative/narrative/aesthetic), CI manages "does it pass?" (gates/compliance). Neither may be performed by the same sub-agent; CI's semantic spot checks must not rely on self-evaluation from the inspected expert.
  7. Be Factual: If input is missing, unverifiable, or assets cannot be found, the expert writes BLOCKED in the report with an explanation. Fabricating data or falsifying outputs is forbidden.

3. Iron Rule: Storyboard Written ≠ Code Implemented

Storyboard is a promise; code must be delivered. Machine gates enforce this (checked by TD, reassessed by CI):

  • G-ASSET-USE: Asset reference rate 100% (12-asset-usage-audit.py)
  • G-ELEM-LAND: Element landing rate per scene ≥80%, no bare text labels (11-landing-audit.py)
  • G-TRANS: Adjacent scenes have a transition component, camera field is consumed, no bare Sequence hard cuts
  • G-ALIGN: Before export: landing-report fully green + audit-truth passes, otherwise block export (13-audit-truth.py)
  • G-CLOCK: Process demonstration steps must be driven by the current voiceover sentence useStep. Forbidden: using in-sentence progress lp to do floor(lp*N). Otherwise every sentence will replay all steps. Correct: steps = current voiceover sentence; in-sentence lp only drives micro-actions; scene-level progress (step+lp)/lines.length is monotonically increasing.

4. Focus Point Iron Rule: Highlight What's Being Spoken

When there are many elements, they cannot all move at once—whatever is being spoken must be highlighted, others dimmed and frozen. See references/FOCUS-DIRECTING.md:

  • FOCUS_MAP[global sentence index] = focused element, absolutely deterministic, seekable
  • Focus: scale 1.08 (fine-grained 1.14) + glow + border + z-index 20
  • Non-focus: opacity 0.32 + saturate 0.32 + brightness 0.75, internal animation frozen (component receives motionFrame prop, passes freeze frame when non-focus)
  • Composition passes lineStart to scene; elements use useFocus(id, lineStart, lines) adaptively
  • Acceptance: in the same frame, focus is clearly bright/large, others clearly dim/static; no step jumps within the same sentence

5. ★ Visual-First Rule (Order Irreversible)

First create the visuals, then the voiceover and subtitles!

  1. First create static visual drafts for all pictures (including all text/data to be displayed)
  2. Compile all text appearing on screen into screen-text.json (annotated per entry: scene/text/is data/data source/suggested changes)
  3. Pause for user review—check which data needs changing
  4. Adjust on-screen text per user feedback
  5. Then the screenwriter writes the voiceover script, the voice director handles casting, and the voiceover & subtitles are generated (now voiceover/subtitles are consistent with on-screen text)
  6. Finally, bind the timeline (voiceover → plan.json → scenes driven by speech boundaries)

Generating voiceover or subtitles before the user reviews on-screen text is absolutely forbidden. Therefore, screenwriter is fixed at Step 6.

6. Step 0: Video Project Isolation (Mandatory, One New Directory Per Video)

Run python scripts/00-init.py <topic name> [--audience <audience>] [--duration <seconds>] [--title <title>]:

  • Creates <WORKSPACE>/videos/<timestamp>-<topic name>/, containing config/ src/ public/ scripts/ references/ out/ research/
  • Topic/audience/duration written back to the project's config/theme.json step1_theme (read by expert briefs as project context)
  • ISOLATION.md isolation declaration + src/isolation-report.json; use --from to copy dependencies, --dir to specify directory
  • Different videos have zero sharing, zero contamination. See references/PROJECT-ISOLATION.md

7. Steps 0-8 Workflow = Who Works When

StepActive Experts (ordered by parallel groups)OutputsUser Approval
0 Requirementsproducer → scheduler → director (creative vision) → CIproduction-brief.json pipeline-plan.json creative-vision.json—
1 Define Topicproducer finalizes requirements → director gives opinion → CIFinalized requirements checklist① Topic
2 Contentstory-supervisor → (domain-expert ∥ audience-designer) → director → CIstory-spine.json outline.json evidence-ledger.json learning-design.json② Content Outline
3 Storyboard & Visuals(art-director ∥ visual-dev) → (character ∥ environment) → storyboard-artist → (animation-director ∥ layout-camera ∥ info-designer) → director → CIstyle-bible.json taste-recipe.json characters.json environments.json storyboard.json animation-spec.json camera-plan.json data-viz-spec.json—
4 Assetsasset-supervisor → CIasset-review.json + public/ assets—
5 Visuals & Texttechnical-director implements → (art-director ∥ animation-director ∥ layout-camera ∥ info-designer) review → director → CIlib.tsx scenes.tsx Composition.tsx landing-report.json screen-text.json③ Keyframes ④ On-Screen Text & Data
6 Voiceoverscreenwriter → voice-director → sound-designer → director → CIvoice-lines.json casting.json narration-full.mp3 sound-plan.json—
7 Editing & Subtitles(editor ∥ subtitle-specialist ∥ finish-artist ∥ sound-designer mixing) → director → CIplan.json edit-decision-list.json subtitles.json finish-report.json—
8 Export & Deliveryrender-engineer → test-audience → director/producer → CIout/final.mp4 render-report.json audience-test.json inspection-log.json⑤ Final Video

Specific check items per step are in config/chief-inspector-system.json (6 items per step); expert task briefs per step from 16-team-dispatch.py step <n>. Rework: expert rejects → responsible expert reworks → resubmit → until PASS. Max 3 rounds per step, 9 rounds globally; escalate to user if exceeded.

8. Assets & Characters Iron Rule (Steps 3-4, executed by asset-supervisor / character-designer, reviewed by art-director)

  • Assets First: If an asset can represent it, use it; never convert semantics directly into text. Only subtitle bars and data values may be text.
  • 3D Characters First: For presenter characters, prioritize network 3D animated characters/transparent PNG assets; only if unavailable, use programmatic rendering and note the reason in characters.json.render_method. Do not copy copyrighted character likenesses, only reference "types".
  • Asset Diversity: Each scene must use assets from at least 2 stock sites; the full video must cover ≥3 sites (Pexels / Unsplash / Pixabay / Mixkit / Tabler / Lucide). asset-review.json records sources and licenses.
  • Element Richness: Each scene must have at least 3 types of visual elements (background + main graphic + emphasis annotation). Data-driven scenes must include chart elements.

9. Chief Inspector Expert — Confirms Every Step, Holds Veto Power

System defined in config/chief-inspector-system.json, script scripts/15-chief-inspector.py:

  • 6 checks per step (machine verification + CI's own semantic spot checks of ≥3 samples); first verify that team-reports for that step are complete
  • Any machine gate FAIL → CI MUST VETO, cannot override; gate PASS but semantic FAIL can still VETO
  • Signature chain inspection-log.json with SHA256; max 3 rework rounds per step, 9 globally
  • Subtitle Band Clean: No other text allowed within the subtitle band area. Scene text must be ≥40px from the subtitle band.
python scripts/15-chief-inspector.py all                 # Full pipeline final check
python scripts/15-chief-inspector.py check 5             # Check a specific step
python scripts/15-chief-inspector.py sign 5 PASS "notes"  # Sign and unlock the next step

10. One-Click Orchestration & Landing

  • scripts/run.py all one-click pipeline; run.py check artifact status; run.py team team dashboard
  • scripts/16-team-dispatch.py list|step|brief|prompt|board|verify|log|roster expert dispatch
  • scripts/09-review-log.py init/check director logs, user decisions, final video checklist
  • scripts/10-package.py pack/snapshot/rollback release packaging + rollback snapshots
  • Studio localization: new projects automatically run 08-localize.py; export with --bundle-cache=false

Dependencies

  • Node.js 20+ / npm, Remotion 4.x
  • Python 3.9+: pip install edge-tts imageio-ffmpeg pymupdf pillow
  • No API key required; expert execution relies on orchestration layer to dispatch sub-agents (Agent)

Full guide in references/GUIDE.md; all team prompts in references/TEAM-ROSTER.md.

Related Skills