Codeywood - Hollywood sign reimagined as pixel art

CODEYWOOD

AI Video Story Generation System

From concept to episode, powered by Claude Skills

SCROLL

[ OVERVIEW ]

Codeywood is an open-source, modular system for autonomous AI video story generation. Using Claude Skills as instruction sets, it transforms sparse user requirements into complete episodic content.

Modular Skills

Self-contained instruction sets that Claude reads and follows. Each skill has clear inputs, outputs, and quality gates.

Reference-Based Pipeline

Visual consistency through reference images, not just prompts. Characters and locations stay on-model across hundreds of shots.

Community-Driven

Open source from day one. Contribute skills, improve workflows, share results. Built in public on GitHub.

[ HOW IT WORKS ]

01

Story Intake

Answer 8-10 questions about your show concept. Genre, protagonist, relationships, themes, setting.

Outputs: CREATIVE_BRIEF.md POWER_STACK.md
02

Character & Story

Deep character psychology, relationship matrices, episode beats, scene breakdowns.

Outputs: CHARACTER_SHEETS/ EP_BEATS.md
03

Visual References

Generate character turnarounds, expressions, locations. Build the reference library.

Outputs: CHARACTER_REFS/ LOCATION_REFS/
04

Shot Production

Generate consistent shot images using references. Validate quality. Animate to video.

Outputs: SHOTS_EP01/ VIDEO/

The Key Insight: Reference-Based Generation

Story ─────► Character/Location ─────► Reference ─────► Shot ─────► Video
             Definitions                Library          Images
                  │                         │               │
                  └─────── Each stage uses previous stage's ──────┘
                           outputs as REFERENCE INPUTS
                        

Unlike prompt-only approaches, Codeywood builds a library of locked visual references. Every shot image is generated with character and location references attached, ensuring consistency across hundreds of frames.

8 Quality Gates

Production passes through sequential quality gates. Each gate must be validated before proceeding:

Gate 0 Intake complete
Gate 1 Logline locked
Gate 2 Characters complete
Gate 3 Story structured
Gate 4 Script complete
Gate 5 Story approved
Gate 6 References complete
Gate 7 Shots validated

[ SKILLS ARCHITECTURE ]

Skills are self-contained instruction sets that Claude reads and follows. Each skill declares its inputs, produces specific outputs, and can be improved independently.

Writer Role

  • story-intake 8-10 questions to creative brief
  • writers-room 5-agent round-robin story development
  • logline-development Lock the logline
  • character-creation Deep character psychology
  • story-structure Episode beats & scene lists
  • screenplay Write episode scripts
  • dialogue-polish Voice & subtext refinement
  • story-critique Quality gate evaluation

🎨 Production Role

  • style-guide Lock visual style DNA
  • character-design Generate character references
  • location-design Generate location references
  • storyboards Generate storyboard grids
  • shot-list-generator Screenplay to shot specs
  • shot-image-generator Reference-based shot images
  • shot-quality-validator QA pass on shots
  • visual-continuity-validator Cross-shot consistency

Meta / Producer Role

  • orchestrate Execute plans, invoke skills, validate gates
  • canon-database-manager Machine-readable source of truth
  • reference-library-updater Improve refs from good shots

[ GLOSSARY ]

Codeywood uses a precise taxonomy to organize its components. Understanding these terms is essential for navigating the system.

📋

Plans

High-level production pipelines tailored to specific modalities (animated series, live-action YA, vertical microdrama).

Scope: End-to-end project (5-7 phases)

Contains: Phases → Gates → Skills → Deliverables

Location: PLANS/{name}/PLAN.md

Example: The "Animated Series" plan defines 6 phases from Intake through Shot Production, with gates like "Story Structured" and "References Complete".

Skills

Self-contained, role-based instruction sets that Claude reads and follows. Each skill has a single responsibility with clear inputs, outputs, and validation criteria.

Scope: Single responsibility (story intake, character creation, etc.)

Roles: Writer, Production, Meta (Orchestration)

Location: skills/{role}/{name}/SKILL.md

Example: The "story-intake" skill conducts an 8-10 question interview and outputs CREATIVE_BRIEF.md and POWER_STACK.md.

Workflows

Reusable execution patterns modeled after design pattern language. Document the sequence of steps in multi-step processes, including decision points and error handling.

Scope: Single multi-step process

Execution: Manual (Claude follows), Scripted (Python), or Hybrid

Location: WORKFLOWS/patterns/{name}.md

Example: The "writers-room" workflow defines 5 agents (Chaos Architect, Internal Logician, etc.) collaborating across 3 rounds.

💻

Scripts

Command-line tools that implement specific functionality. Called by Workflows or invoked directly by users for reproducible operations.

Scope: Atomic operations (generate image, validate file)

Language: Python

Location: scripts/generate/

Example: fal_generate.py handles image generation with flags like --hero, --identity, --location.

Services

External APIs and their documented capabilities, limitations, and prompting best practices. Different services respond to different prompting vocabularies.

Scope: API integration documentation

Contains: TECHNIQUES.md, LIMITATIONS.md, parameter conventions

Location: references/services/

Example: Nano Banana Pro documentation covers two modes (text-to-image, multi-reference) with specific parameter formats.

How They Relate

PLAN (e.g., Animated Series)
 └── Phase 2: Story Development
      ├── Gate 3: Story Structured
      └── SKILLS invoked: logline-development, character-creation, story-structure
           └── May reference WORKFLOWS: writers-room pattern
                └── Calls SCRIPTS: fal_generate.py for visual tests
                     └── Uses SERVICES: Nano Banana Pro API
                

Plans sequence Skills. Skills implement or reference Workflows. Workflows may call Scripts. Scripts integrate with Services.

[ ROADMAP ]

v0.1

Story Foundation

IN PROGRESS

Complete pilot script + story bible from 8-10 user questions. All core skills operational.

  • Story intake & creative brief
  • Character architecture
  • Episode beats & scene lists
  • Screenplay generation
  • Quality validation
v0.2

Complete Image Assets

NEXT

All reference images + shot images generated with visual consistency.

  • Character reference generator
  • Location reference generator
  • Shot list & image generation
  • Quality validation pipeline
v0.3

Scene Generation

FUTURE

2-3 minute animated scene with audio. Image-to-video pipeline.

  • Video animation (Kling/Veo)
  • Audio integration
  • Scene assembly
v1.0

Full Episode

ASPIRATIONAL

Complete 20-30 minute episode from sparse requirements. Requires breakthroughs in consistency.

[ GETTING STARTED ]

1

Clone the Repo

git clone https://github.com/kaigani/codeywood.git
cd codeywood
2

Start with Story Intake

Read and follow the skill instructions:

skills/writer/story-intake/SKILL.md

Answer 8-10 questions to generate your creative brief.

3

Follow the Workflow

Work through skills sequentially. Each builds on the previous. See QUICKSTART.md for the full guide.

4

Contribute Back

Found something that works? Something that doesn't? Open an issue or PR. This project grows through community iteration.

Ready to build your story?

Check out the sample project to see a complete worked example.

View Sample Project