team-narrative

team-narrative is a skill for Claude Code, OpenCode from TraftG/opencode-game-studio. It costs 41 tokens per session (754 once invoked), scanned A, original, MIT.

A coordinated workflow for creating a game's story content, world lore, dialogue, and narrative-focused level design.

In plain words
What is it for?
Use it to plan story arcs, write dialogue and lore, define world rules and factions, and shape levels around narrative beats.
Why use it?
It keeps the story, setting, writing, and level structure consistent instead of developing them as disconnected pieces.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: allowed-tools in frontmatter, but also installed under .opencode/. Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to plan story arcs, write dialogue and lore, define world rules and factions, and shape levels around narrative beats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/traftg/opencode-game-studio/team-narrative
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TraftG/opencode-game-studio --skill team-narrative
Clone the repo
git clone --depth 1 https://github.com/TraftG/opencode-game-studio

Made for: Claude Code, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for team-narrative

README.md
[![agentmods](https://agentmods.dev/badge/skills/traftg/opencode-game-studio/team-narrative.svg)](https://agentmods.dev/skills/traftg/opencode-game-studio/team-narrative)
Your own site
<a href="https://agentmods.dev/skills/traftg/opencode-game-studio/team-narrative"><img src="https://agentmods.dev/badge/skills/traftg/opencode-game-studio/team-narrative.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00754
Opus 5 $0.00020 $0.00377
Sonnet 5 $0.00008 $0.00151
Haiku 4.5 $0.00004 $0.00075

Measured 3d ago against content hash 7bd2e1be4e2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

team-narrative scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.opencode/skills/team-narrative/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Decision Points: At each phase transition, use AskUserQuestion 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

  • narrative-director — Story arcs, character design, dialogue strategy, narrative vision
  • writer — Dialogue writing, lore entries, item descriptions, in-game text
  • world-builder — World rules, faction design, history, geography, environmental storytelling
  • level-designer — Level layouts that serve the narrative, pacing, environmental storytelling beats

How to Delegate

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

  • subagent_type: narrative-director — Story arcs, character design, narrative vision
  • subagent_type: writer — Dialogue writing, lore entries, in-game text
  • subagent_type: world-builder — World rules, faction design, history, geography
  • subagent_type: level-designer — Level layouts that serve the narrative, pacing

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:

  • Define the narrative purpose of this content: what story beat does it serve?
  • Identify characters involved, their motivations, and how this fits the overall arc
  • Set the emotional tone and pacing targets
  • Specify any lore dependencies or new lore this introduces
  • Output: narrative brief with story requirements

Phase 2: World Foundation (parallel)

Delegate in parallel:

  • world-builder: Create or update lore entries for factions, locations, and history relevant to this content. Cross-reference against existing lore for contradictions. Set canon level for new entries.
  • writer: Draft character dialogue using voice profiles. Ensure all lines are under 120 characters, use named placeholders for variables, and are localization-ready.

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 68 lines · 41 tokens per session scan A 7bd2e1be4e2f

Subscribe to this mod's changes

team-narrative is a skill published in the GitHub repository TraftG/opencode-game-studio (38 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 754 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

asset-gen

Generate visual assets from text prompts: PNG images (Gemini / xAI Grok), GLB 3D models (Tripo3D), rigged biped characters, retargeted animations, and frame-by-frame animated sprites, plus background removal. Use whenever a game needs generated art.

htdt/godogen · 63 tokens

art-generate

Generates placeholder .aseprite files from asset specs using the Aseprite MCP. Reads asset specs and art bible, creates sprites with correct dimensions/palette/layers, exports PNGs. Run after /asset-spec has produced specs and /art-bible exists.

striderZA/OpenCodeGameStudios · 57 tokens

ai-asset-generation

Generate real game assets (images, skyboxes, 3D models, SFX, music, voice, video) from text prompts through the provider registry, with provenance and acceptance gates.

MRCalderon3D/everything-game-dev-code · 43 tokens

generated-raster-asset-pipeline

Define acceptance, validation, and runtime integration rules for raster assets generated with image models before they become real project content.

MRCalderon3D/everything-game-dev-code · 31 tokens

cgs-art-bible

Use for art bible tasks that define visual identity, shape language, palette, camera, animation, UI style, and asset constraints; produce verification evidence, changed or proposed files, and handoff boundaries.

merlinhu1/codex-game-studio · 46 tokens

cgs-team-audio

Use for team audio tasks that coordinate audio design, implementation, asset readiness, mix targets, and QA for audio work; produce verification evidence, changed or proposed files, and handoff boundaries.

merlinhu1/codex-game-studio · 44 tokens