Team narrative

From striderZA/OpenCodeGameStudios · View interactive version

Team narrative is an AI agent skill from the GitHub repository striderZA/OpenCodeGameStudios. Orchestrate the narrative team: coordinates narrative-director, writer, world-builder, and level-designer to create cohesive story content, world lore, and narrative-driven level design.

How to use this skill

Skill file

If no argument is provided, output usage guidance and exit without spawning any agents:

Usage: /team-narrative [narrative content description] — describe the story content, scene, or narrative area to work on (e.g., boss encounter cutscene, faction intro dialogue, tutorial narrative). Do not use question here; output the guidance directly.

When this skill is invoked with an argument, orchestrate the narrative team through a structured pipeline.

Decision Points: At each phase transition, use question to present

the user with the subagent's proposals as selectable options. Write the agent's

full analysis in conversation, then capture the decision with concise labels.

The user must approve before moving to the next phase.

Team Composition

How to Delegate

Use the Task tool to spawn each team member as a subagent:

Always provide full context in each agent's prompt (narrative brief, lore dependencies, character profiles). Launch independent agents in parallel where the pipeline allows it (e.g., Phase 2 agents can run simultaneously).

Pipeline

Phase 1: Narrative Direction

Delegate to narrative-director:

Phase 2: World Foundation (parallel)

Delegate in parallel — issue all three Task calls simultaneously before waiting for any result:

Phase 3: Level Narrative Integration

Delegate to level-designer:

Phase 4: Review and Consistency

Delegate to narrative-director:

Phase 5: Polish (parallel)

Delegate in parallel:

Error Recovery Protocol

If any spawned agent (via Task) returns BLOCKED, errors, or cannot complete:

  1. Surface immediately: Report "[AgentName]: BLOCKED — [reason]" to the user before continuing to dependent phases
  2. Assess dependencies: Check whether the blocked agent's output is required by subsequent phases. If yes, do not proceed past that dependency point without user input.
  3. Offer options via question with choices:
  1. Always produce a partial report — output whatever was completed. Never discard work because one agent blocked.

Common blockers:

File Write Protocol

All file writes (narrative docs, dialogue files, lore entries) are delegated to

sub-agents spawned via Task. Each sub-agent enforces the "May I write to [path]?"

protocol. This orchestrator does not write files directly.

Output

A summary report covering: narrative brief status, lore entries created/updated, dialogue lines written, level narrative integration points, consistency review results, and any unresolved contradictions.

Verdict: COMPLETE — narrative content delivered.

If the pipeline stops because a dependency is unresolved (e.g., lore contradiction or missing prerequisite not resolved by the user):

Verdict: BLOCKED — [reason]

Next Steps

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.