story-systems-template
AGENTS.md68 starsChanged 4 months agoMITView on GitHub
This project uses an 11-agent team for collaborative creative development. Writers don't need to learn CLI commands. They just talk. The agents handle all tooling via @wtfb/cli. The CLI is infrastructure, not interface. The other agents focus on craft (story, dialogue, structure) and don't run commands — their tools: sets omit Bash (least privilege).
In this repository25 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-descriptionSkill
- arc-checkSkill
- character-arcsSkill
- character-dialogueSkill
- character-interviewSkill
- continuity-trackingSkill
- dialogue-craftSkill
- format-exportSkill
- fountain-syntaxSkill
- glossary-referenceSkill
- loglineSkill
- page-estimationSkill
- pitch-worksheetSkill
- power-analysisSkill
- rewriting-methodologySkill
- scene-analysisSkill
- scene-headingsSkill
- story-checkSkill
- story-structureSkill
- synopsisSkill
- theme-discoverySkill
- title-pageSkill
- transitionsSkill
- writers-roomSkill
The file
Files
Agent Team Reference
This project uses an 11-agent team for collaborative creative development.
Team Structure
┌─────────────────────────────────────────────────────────────────┐
│ SESSION MANAGER │
│ (Coordination & Workflow) │
└─────────────────────────────────────────────────────────────────┘
│
┌───────────────────────┼───────────────────────┐
│ │ │
▼ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ STORY & │ │ WRITING │ │ QUALITY & │
│ STRUCTURE │ │ │ │ CONTINUITY │
├───────────────┤ ├───────────────┤ ├───────────────┤
│ Story Analyst │ │ Dialogue │ │ Continuity │
│ Story │ │ Writer │ │ Editor │
│ Architect* │ │ Scene Writer │ │ Script │
│ │ │ Scene │ │ Supervisor* │
│ │ │ Annotator │ │ Standards │
│ │ │ │ │ Reviewer │
└───────────────┘ └───────────────┘ └───────────────┘
│
┌─────────────────────┘
▼
┌───────────────┐
│ RESEARCH & │
│ PRODUCTION │
├───────────────┤
│ Research │
│ Specialist │
│ Production │
│ Coordinator │
└───────────────┘
* Has veto/gate authorityAgents as UX: The Writer's Interface
Writers don't need to learn CLI commands. They just talk.
The agents handle all tooling via @wtfb/cli. The CLI is infrastructure, not interface.
How It Works
Writer (conversation)
↓
AI Agent (understands intent)
↓
WTFB Agents (craft expertise + authority)
↓
@wtfb/cli via Bash (execution)
↓
Output (PDF, FDX, HTML, validated files)Example Interactions
| Writer Says | Agent Runs |
| "Export my script to PDF" | wtfb export-pdf |
| "Check my formatting" | wtfb validate |
| "I need a Final Draft file" | wtfb export-fdx |
| "Make sure everything looks right" | wtfb validate --fountain |
| "Give me an HTML preview" | wtfb export-html |
Which Agents Use the CLI?
| Agent | CLI Commands |
| Script Supervisor | wtfb validate, wtfb validate --fountain |
| Production Coordinator | wtfb export-pdf, wtfb export-fdx, wtfb export-html |
| Session Manager | git (session / branch integration) |
| Continuity Editor | npm run lint:bible, npm run bible:drift |
The other agents focus on craft (story, dialogue, structure) and don't run commands — their
tools: sets omit Bash (least privilege).
Agent Profiles
Story & Structure
| Agent | Role | Authority |
| Story Analyst | Break down concepts into scene-by-scene analysis | Domain |
| Story Architect | Define and validate narrative structure | VETO (structure) |
Writing
| Agent | Role | Authority |
| Dialogue Writer | Create distinct character voices and subtext | Domain |
| Scene Writer | Handle visual storytelling and action | Domain |
| Scene Annotator | Manage notes, synopses, organization | Domain |
Quality & Continuity
| Agent | Role | Authority |
| Continuity Editor | Track chronology and consistency | Domain |
| Script Supervisor | Verify format and syntax | GATE (quality) |
| Standards Reviewer | Ensure industry-standard compliance | Domain |
Research & Production
| Agent | Role | Authority |
| Research Specialist | Handle accuracy and authenticity | Domain |
| Production Coordinator | Manage exports and delivery | Domain |
| Session Manager | Initialize sessions, coordinate tasks | Workflow |
Model Routing
Each agent role has a recommended model tier so prose quality, reasoning, and cost each land
where they belong. See .claude/model-routing.md for the full policy and rationale.
| Tier | Model | Roles |
| Prose | Claude Fable 5 | Dialogue Writer, Scene Writer |
| Reasoning | Claude Opus 4.8 | Story Architect, Story Analyst, Continuity Editor, Script Supervisor, Standards Reviewer, Research Specialist, Session Manager |
| Mechanical | Claude Haiku 4.5 | Scene Annotator, Production Coordinator; and mechanical commands (/page-count, /scene-list, /check-format) |
The model: assignment is now wired into each agent's frontmatter (STO-11).
.wtfb/ai-harness/schema.json still carries model on the 8 canonical schema agents; the
remaining roles are reconciled into the schema in STO-12.
Invocation Patterns
Direct Invocation
Acting as the Story Architect, evaluate the three-act structure of this screenplay.Task-Based Routing
The Session Manager routes tasks to appropriate agents based on context:
- Scene writing → Scene Writer
- Dialogue polish → Dialogue Writer
- Format check → Script Supervisor
- Export → Production Coordinator
Multi-Agent Collaboration
Complex tasks may involve multiple agents:
Story Analyst → Story Architect → Scene Writer → Continuity EditorAuthority Levels
Domain Authority
Agent has expertise and decision-making power within their specialty.
Gate Authority (Script Supervisor)
Controls quality checkpoints:
- Pre-commit validation
- PR merge requirements
- Export readiness verification
Veto Authority (Story Architect)
Can halt work when:
- Structure is fundamentally broken
- Plot logic fails
- Story lacks clear direction
Equal Voice Principle
Within their domains, all agents have equal voice:
- Each agent's expertise is respected
- Cross-domain discussions welcome collaboration
- Veto authority used sparingly and with justification
Agent Contributions to CI
The CI pipeline validates work from specialized agents:
| Agent | CI Responsibility |
| Script Supervisor | Format validation approval - Fountain syntax, heading format |
| Standards Reviewer | Capability compliance - skill/command frontmatter validation |
| Production Coordinator | Export artifact verification - PDF, FDX, HTML generation |
| Continuity Editor | Consistency checks - timeline, character, prop validation |
The validation script (npm run validate:capabilities) enforces standards that these agents would catch manually.
See Also
.claude/agents/- Claude agent definitions.gemini/agents/- Gemini agent definitionsCLAUDE.md- Claude Code instructionsGEMINI.md- Gemini CLI instructions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

