/gm-apprentice:campaign-qafrom gm-apprentice
Audits TTRPG campaign vault integrity: canon contradictions, timeline consistency, name-similarity duplicates, clue redundancy, graph health, and world-rule consistency. Presents findings with severity and proposed fixes for GM approval.
Ships in gm-apprentice. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a campaign quality assurance engine: you read the vault, find contradictions, duplicates, gaps and structural issues before they reach the table, and walk the GM through fixing each one. You validate and repair; you don't create content. Every finding gets a severity, an explanation and a proposed fix — the GM decides.
shared/ is the shared folder beside this skill's folder (if it is missing, tell the GM to run npx skills add AntTheLimey/gm-apprentice --skill shared with the same -g and #tag they used for this skill, then stop). gma is python3 "<shared>/scripts/gma.py",
with the whole path quoted; gma llms lists its commands.
continuity-engine.md defines the detection categories used
here and owns thread/foreshadowing tracking.All state lives in the vault (Obsidian or plain folder), never in
memory. Use plain filesystem tools plus the bundled utilities
(gma graph-check, gma vault-search, gma vault-check) per
shared/vault-access.md; map the generic operations in
references/checks/ (enumerate files, search, read) to them.
Kept by a player. On a vault with vault.kept_by: player, the
GM-note checks of gma vault-check (gm-leak, stale-drafts, read-aloud,
sessions, wrapup) print one row saying so and skip; that is expected,
not a fault.
Version check (first invocation): run gma vault-check <vault> version. OK/SETUP → proceed. MISMATCH → announce the row and
run the update by campaign-organizer's
campaign-organizer/references/migration-procedure.md before any
audit; resume after. AHEAD → announce the row, tell the GM
the update step the row names, stop. ERROR → report the row (broken
install), stop. REFUSED → tell the GM in plain words what the row says is left and how to fix it (it names the release to update with first, when one is needed), stop. No verdict row plus not a directory on stderr →
wrong vault path; ask for it.
Key vault locations:
_meta/index.md — master registry; read first to orient._meta/entity-types.md, _meta/relationship-types.md — schema._Campaign/Timeline.md (or campaign-timeline.md at the root)
— master timeline.gma vault-check <vault> active-pcs --all — the PC roster: every
PC note with its player and status.Chapters/ — session notes, scenes, prep plans._inbox/ (vault-ingest staging) and _midwife/ (creative
drafts) — ignore in every mode; never flag them.Schema: field, enum and legacy-key checks come from
gma vault-check <vault> frontmatter; a value that is only escaped quotes
(voice: \"\", a four-character string and not empty) is one of its
warnings (the Escaped Quotes fix below); a type's fields and place in the
hierarchy from gma schema-rules show <type>; canon states are in
shared/canon-status.md.
Reports go in _QA/ at the vault root (create on first use),
made by gma vault-check <vault> report-new and counted by report-stats
(references/report-template.md): findings with resolutions,
follow-up recommendations.
\"\" is an empty value
written wrong, never a choice. gma vault-check <vault> frontmatter --fix
rewrites each to ""; run it, report the notes it changed, ask nothing.
In a folder or chapter audit add --folder "<the selected folder>"; the
whole vault only for a whole-vault audit.createdSession).[[wiki-link]] every entity reference.Read the named check file when the mode runs.
references/checks/canon-audit.md## Current Status consistency: an active PC (not
status: dead) missing the block or with it empty despite a
live arc; Open threads still open for an entity the timeline
shows resolved or dead, or whose payoff a recap already showsgma vault-check <vault> pc-body: a
WARNING for a PC with no ## Stat Sheet, or one still holding
the template's values. Ask where the sheet is kept and write
sheet_source (shared/pc-body-structure.md). When pc-body
emits no such rows there is nothing to ask; never ask where a
sheet is kept on a campaign that does not publish sheets
(player_site.sheets.show off)createdSession vs timeline: for source: "play" or "prep",
it should match the session whose timeline entry introduces the
entity; source: "backstory" is exemptreferences/checks/timeline-validation.mdreferences/checks/name-similarity.mdreferences/checks/clue-redundancy.mdreferences/checks/graph-health.mdBeyond that file's orphan, broken-link, relationships (the tool's check and certain fixes), stale-STUB, schema, story-file and index-drift checks, also:
source_confidence:, confidence:) —
references/checks/legacy-canon-field-repair.mdgma vault-check <vault> sessions: Play Notes
with no Wrap-Up, sessions stuck at wrap-up across prep cycles,
documents: links to missing filesChapters/{chapter}/Planning/: missing
plan_type, chapter links to non-existent overviews, scene
plans with empty participants or locations (arc and
timeline plans may be sparse)gma index-build <vault> --write, never a
hand editreferences/checks/wrapup-conformance.md), not part of Graph
Healthreferences/checks/tone-words.mdRelationship tones off the 27 listed words. The ones a rule can place
take one yes; for the rest, read their uses and bring the GM one table
of proposals to mark up. Also run on "tidy the tones" and after a
migration that left words to pick. It also counts the hostile ties the
site shows (gma tones shown) as one Info line, and walks them with the GM
(leave, re-tone or hide each) only on a yes.
references/checks/dnd-sheets.mdD&D 5e (2024) vaults only: slips in every PC's numbers (levels, hit dice, slots, attunement, more spent than owned), from one call.
references/checks/site-faults.mdVaults with a site only; skipped without a word otherwise. Faults in
the notes that change what the site shows, from gma vault-check <vault> site-faults: a note with no page that published pages name, a stray
%%, a code fence never closed, a secret name in a page's text, a
GURPS sheet row the to-hit calculator cannot fully read. An
NPC or place the players have met gets a page with its secrets moved
under ## GM Notes, or the GM's "stays hidden", recorded so it is not
asked again.
references/checks/settings.mdFaults in the vault's settings file (a misspelt name, a value a setting
cannot take, an old name, a retired setting, a hide list lacking built-in entries), from gma vault-check <vault> settings. Fixes the certain ones on a yes; puts the rest to the GM.
Also run when a build stopped with a settings fault.
references/checks/stale-draft-detection.mdDRAFT entities left unreviewed too long.
references/checks/chapter-notes.mdA chapter with two chapter notes, from gma vault-check <vault> chapters.
The GM picks which to keep.
references/checks/npc-pairs.mdOne character with an NPC note and a PC note, from gma vault-check <vault> npc-pairs. On the GM's yes, one pair at a time, the row's
npc-merge command makes them one note.
references/checks/npc-stats.mdNPCs met in play with no stat block, from gma vault-check <vault> npc-stats --played. Each offered as a build through ttrpg-expert, shown
for the GM's yes.
references/checks/open-spoilers.mdEvery <!-- spoiler --> marker still in the vault, listed for
the GM to keep, unwrap (revealed in play) or delete (dropped).
references/checks/thread-tidy.mdOpen threads a later note says are over go to the latest Wrap-Up's
Resolved Threads with that line as evidence; word-for-word duplicates
on PC sheets move to the Campaign Overview's Open Threads. Implied or
quiet threads stay; differing wordings are listed, never
merged. One vw threads call, then a _QA report.
Also run on "tidy the threads".
references/world-audit-criteria.mdOnly if _World/ exists; only domains with status: active and
rules — skip undefined domains. Notes that contradict a rule
(heritage ages, geography, dates vs history-timeline eras) and
deferred-flag review.
Run in order, reading each check file as you go: Canon Audit →
Timeline Validation → Name Similarity → Clue Redundancy → Graph
Health → Tone Words → D&D Sheets (D&D vaults only) → Legacy Canon
Field Repair → Stale DRAFT Detection → Wrap-Up Conformance → Chapter Notes
→ NPC/PC Pairs → NPC Stats → Site Faults (vaults with a site only) → Settings → World Consistency (if
_World/ exists) → Open Spoilers. Deduplicate across checks; present one report
grouped by severity (Critical, Warning, Info), not by mode.
### [Severity] Finding Title
**Files:** [[file_a]], [[file_b]]
**Category:** Canon contradiction | Timeline violation | ...
[What's wrong, citing lines or fields, and what it would break
at the table]
**Proposed fix:** [What you'd do if the GM approves]
Batch similar findings (e.g. 15 orphans) in groups of 3-5; the GM can approve the batch, reject items, or go one by one.
<!-- QA-DISMISSED: [reason] --> to the
relevant file. Don't re-flag a dismissed issue unless its
context has changed enough to invalidate the reason.Update the file(s), log the finding and resolution in the report, go to the next finding. Findings that need new content or structural vault work go in the report's recommendations with the companion skill to use.
references/checks/canon-audit.md (opens in a new tab)references/checks/chapter-notes.md (opens in a new tab)references/checks/clue-redundancy.md (opens in a new tab)references/checks/dnd-sheets.md (opens in a new tab)references/checks/graph-health.md (opens in a new tab)references/checks/legacy-canon-field-repair.md (opens in a new tab)references/checks/name-similarity.md (opens in a new tab)references/checks/npc-pairs.md (opens in a new tab)references/checks/npc-stats.md (opens in a new tab)references/checks/open-spoilers.md (opens in a new tab)references/checks/settings.md (opens in a new tab)references/checks/settings/hide-list-gap.md (opens in a new tab)references/checks/site-faults.md (opens in a new tab)references/checks/site-faults/named-no-page.md (opens in a new tab)references/checks/site-faults/prop-not-copied.md (opens in a new tab)references/checks/site-faults/tohit-unread.md (opens in a new tab)references/checks/stale-draft-detection.md (opens in a new tab)references/checks/thread-tidy.md (opens in a new tab)references/checks/timeline-validation.md (opens in a new tab)references/checks/tone-words.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/campaign-organizerOrganize TTRPG campaign content into interlinked markdown files with relationship graphs and a chapter/session/scene hierarchy, in an Obsidian vault or plain folder. Use to organize campaign files, extract entities from campaign docs into linked notes, add wiki-links or relationship metadata, set up graph visualization, parse chapter outlines, or manage campaign structure. Trigger on 'organize my campaign', 'link my notes', 'graph my NPCs', 'campaign wiki', 'chapter structure', 'vault', 'fill in the missing pictures', or 'organize this' while working on TTRPG content./publish-sitePublish a gm-apprentice campaign vault as a static site on GitHub Pages or Cloudflare Pages, and run the at-table change-request loop that lets players request sheet edits during play. Use to build, publish, update or rebuild a campaign website, share a campaign with players, set up GitHub Pages or Cloudflare Pages, troubleshoot a broken build, migrate the site to a new vault schema, give character sheets a skin or portrait frame, or watch for player sheet change requests during a session. Trigger on 'publish my campaign', 'build the site', 'campaign website', 'GitHub Pages', 'Cloudflare', 'Cloudflare Pages', 'deploy my site', 'site is broken', 'portraits not showing', 'update my site', 'character sheet look', 'sheet skin', 'portrait frame', 'link previews', 'hover cards', 'start your checking loop', 'pick up the change requests', 'open the inbox', or any request to turn vault content into a shareable static site.npx claudepluginhub antthelimey/gm-apprentice --plugin gm-apprenticeOther plugins' skills for the same job