agentleFS
bybren-llcbybren-llc/story-systems-template/AGENTS.md

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).

The file

Files
AGENTS.md

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 authority

Agents 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 SaysAgent 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?

AgentCLI Commands
Script Supervisorwtfb validate, wtfb validate --fountain
Production Coordinatorwtfb export-pdf, wtfb export-fdx, wtfb export-html
Session Managergit (session / branch integration)
Continuity Editornpm 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

AgentRoleAuthority
Story AnalystBreak down concepts into scene-by-scene analysisDomain
Story ArchitectDefine and validate narrative structureVETO (structure)

Writing

AgentRoleAuthority
Dialogue WriterCreate distinct character voices and subtextDomain
Scene WriterHandle visual storytelling and actionDomain
Scene AnnotatorManage notes, synopses, organizationDomain

Quality & Continuity

AgentRoleAuthority
Continuity EditorTrack chronology and consistencyDomain
Script SupervisorVerify format and syntaxGATE (quality)
Standards ReviewerEnsure industry-standard complianceDomain

Research & Production

AgentRoleAuthority
Research SpecialistHandle accuracy and authenticityDomain
Production CoordinatorManage exports and deliveryDomain
Session ManagerInitialize sessions, coordinate tasksWorkflow

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.

TierModelRoles
ProseClaude Fable 5Dialogue Writer, Scene Writer
ReasoningClaude Opus 4.8Story Architect, Story Analyst, Continuity Editor, Script Supervisor, Standards Reviewer, Research Specialist, Session Manager
MechanicalClaude Haiku 4.5Scene 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 Editor

Authority 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:

AgentCI Responsibility
Script SupervisorFormat validation approval - Fountain syntax, heading format
Standards ReviewerCapability compliance - skill/command frontmatter validation
Production CoordinatorExport artifact verification - PDF, FDX, HTML generation
Continuity EditorConsistency 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 definitions
  • CLAUDE.md - Claude Code instructions
  • GEMINI.md - Gemini CLI instructions

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.