
Narrative structure
Structures game story arcs, quest graphs and dialogue outlines around player play
Narrative structure is an open-source agent skill for writing style. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Narrative structure
This skill guides an agent through planning the narrative layer of a game: defining the story arc and stakes, then building a character and quest graph with prerequisites and branches. Each graph node receives a stable ID, and the skill checks that no prerequisite is left dangling and every branch resolves.
The workflow also aligns story beats to level pacing so the narrative supports the moment-to-moment loop, and calls out places where it does not. Key dialogue choices are outlined with notes on which branches change mechanics. Sensitive or regulated themes, such as age rating concerns or depictions of real people and events, are flagged for content review before shipping.
The skill is aimed at game designers and specialists. It assumes an existing game-design contract and defers spatial layout and encounter flow to a separate level-design skill.
When your agent uses it
Use when gameplay needs a story arc, branching quest graph, character relationships, or dialogue outline that reinforces the player fantasy—assign stable node IDs, resolve prerequisites, align beats to play, and mark narrative choices that change mechanics. It owns story and quest causality; use level-design-patterns for spaces and encounter flow.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (1 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/narrative-structure to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/narrative-structure &&
cp -R "$tmp/.agents/skills/narrative-structure" ~/.claude/skills/narrative-structure &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/narrative-structure inside it instead.
Copy the skill folder to ~/.agents/skills/narrative-structure to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/narrative-structure &&
cp -R "$tmp/.agents/skills/narrative-structure" ~/.agents/skills/narrative-structure &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/narrative-structure inside it instead.
Copy the skill folder to ~/.cursor/skills/narrative-structure to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/narrative-structure &&
cp -R "$tmp/.agents/skills/narrative-structure" ~/.cursor/skills/narrative-structure &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/narrative-structure inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/narrative-structureOr copy the folder to ~/.gemini/skills/narrative-structure yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/narrative-structure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/narrative-structure &&
cp -R "$tmp/.agents/skills/narrative-structure" ~/.copilot/skills/narrative-structure &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/narrative-structure inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/narrative-structure into your agent's skills folder as narrative-structure. Agents that support SKILL.md read one folder per skill.
What it does
- Story arc definition
- Sets out the narrative arc and stakes, tied to the player fantasy the story should reinforce.
- Quest graph building
- Maps characters and quests with prerequisites and branches, each node carrying a stable ID.
- Prerequisite validation
- Checks that the quest graph has no dangling prerequisites and that every branch resolves.
- Beat-to-level alignment
- Maps narrative beats onto level pacing and flags where story does not serve play.
- Dialogue and choice outline
- Outlines dialogue and key choices, noting which branches change game mechanics.
- Sensitive theme flagging
- Marks sensitive or regulated themes for content review before release.
Good for
- Plan a story arc for a new action adventure game
- Build a branching quest graph with stable node IDs
- Outline dialogue trees for companion characters
- Check a quest structure for unresolved prerequisites
- Map story beats onto existing level pacing
Narrative structure FAQ
What does Narrative structure need to run?
It works from a game-design contract that already exists. The skill itself has no declared tools and includes no scripts.
Does Narrative structure handle level layout or encounter design?
No. The skill owns story and quest causality, and it points to a separate level-design-patterns skill for spaces and encounter flow.
How does Narrative structure handle sensitive content?
It flags sensitive or regulated themes, such as age rating issues or real persons and events, for content review before shipping rather than passing them through silently.
How do I install Narrative structure in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/narrative-structure to use it in all your projects, or to .claude/skills/narrative-structure in one project.
Does Narrative structure run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Narrative structure?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Narrative structure?
The closest alternatives to Narrative structure are Article writing, Fiction studio, Academic writing and Persuasive technical writing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security


