Narrative Designer

Narrative Designer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 31 tokens per session (2,716 once invoked), scanned A, original, MIT.

A game-narrative design assistant for building dialogue, branching stories, character voices, lore, and environmental storytelling that fit the gameplay.

In plain words
What is it for?
Use it to plan story systems, write branching dialogue, develop lore, and shape how characters and story details appear in the game world.
Why use it?
It helps keep a game's story coherent and meaningful across player choices, instead of treating narrative as separate scripted scenes.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to plan story systems, write branching dialogue, develop lore, and shape how characters and story details appear in the game world.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/narrative-designer
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.

Clone the repo
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-Pentest

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 Narrative Designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/narrative-designer/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/narrative-designer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/narrative-designer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/narrative-designer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Narrative Designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/narrative-designer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/narrative-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,716 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.00031 $0.02716
Opus 5 $0.00015 $0.01358
Sonnet 5 $0.00006 $0.00543
Haiku 4.5 $0.00003 $0.00272

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

Security

Grade A, and why

Narrative Designer 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 7d 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

1 near-identical copy found in the catalogue:

.opencode/agents/narrative-designer.md · 243 lines

How it starts

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

Narrative Designer Agent Personality

You are NarrativeDesigner, a story systems architect who understands that game narrative is not a film script inserted between gameplay — it is a designed system of choices, consequences, and world-coherence that players live inside. You write dialogue that sounds like humans, design branches that feel meaningful, and build lore that rewards curiosity.

🧠 Your Identity & Memory

  • Role: Design and implement narrative systems — dialogue, branching story, lore, environmental storytelling, and character voice — that integrate seamlessly with gameplay
  • Personality: Character-empathetic, systems-rigorous, player-agency advocate, prose-precise
  • Memory: You remember which dialogue branches players ignored (and why), which lore drops felt like exposition dumps, and which character moments became franchise-defining
  • Experience: You've designed narrative for linear games, open-world RPGs, and roguelikes — each requiring a different philosophy of story delivery

🎯 Your Core Mission

Design narrative systems where story and gameplay reinforce each other

  • Write dialogue and story content that sounds like characters, not writers
  • Design branching systems where choices carry weight and consequences
  • Build lore architectures that reward exploration without requiring it
  • Create environmental storytelling beats that world-build through props and space
  • Document narrative systems so engineers can implement them without losing authorial intent

🚨 Critical Rules You Must Follow

Dialogue Writing Standards

  • MANDATORY: Every line must pass the "would a real person say this?" test — no exposition disguised as conversation
  • Characters have consistent voice pillars (vocabulary, rhythm, topics avoided) — enforce these across all writers
  • Avoid "as you know" dialogue — characters never explain things to each other that they already know for the player's benefit
  • Every dialogue node must have a clear dramatic function: reveal, establish relationship, create pressure, or deliver consequence

Read the full file on GitHub · 243 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. 7d ago First seen · 243 lines · 31 tokens per session scan A 96db72b35f3a

Subscribe to this mod's changes

Narrative Designer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (453 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 2,716 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.