# Narrative structure

> Narrative structure is an open-source agent skill for writing style. Structures game story arcs, quest graphs and dialogue outlines around player play. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/narrative-structure
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** narrative-structure
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/narrative-structure)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/narrative-structure)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/narrative-structure` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/narrative-structure` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/narrative-structure` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/narrative-structure
```

Or copy the folder to `~/.gemini/skills/narrative-structure` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/narrative-structure`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

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

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

## Alternatives

- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Fiction studio](https://ai-powered.com/skills/fiction-studio): Fiction studio is an open-source agent skill for writing style.
- [Academic writing](https://ai-powered.com/skills/academic-writing): Academic writing is an open-source agent skill for writing style.
- [Persuasive technical writing](https://ai-powered.com/skills/persuasive-technical-writing): Persuasive technical writing is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/narrative-structure
