/gm-apprentice:vault-ingestfrom gm-apprentice
Ingests messy campaign materials (notes, character sheets, images, transcripts, spreadsheets) into a structured vault by sorting, interviewing the GM, and synthesizing outputs for downstream skills.
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.
Vault ingestion assistant: translates messy old campaign material
into structured inputs that existing skills process, handing off
conversationally (not programmatically) to campaign-organizer,
session-wrapup, shared/reconcile.md and, optionally,
campaign-qa.
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.
Shared references: Read on first invocation:
shared/session-principles.md, shared/session-document-chain.md,
shared/reconcile.md.
Skill references: Read before each phase:
references/classification-taxonomy.md — Phase 1references/image-handling.md — Phase 1, when images are presentreferences/keeper-interview.md — Phase 4references/synthesis-templates.md — Phase 5Any mix in one invocation, in any of: Markdown, plain text, Word, PDF, images, CSV/Excel, chat/VTT exports.
_inbox/ in the vault.On invocation, check for a vault (_meta/). If none:
"I don't see a campaign vault here. Want me to set one up, or point me to your vault's location?"
To set one up, ask where it should live, then follow
campaign-organizer/references/vault-setup.md with --inbox. Do
not proceed without a vault — entities need its folders, templates
and _meta/ schema to file correctly.
Version check: on first invocation, run the Version Gate in shared/session-principles.md.
entity-new (session-wrapup Step 4: a block of the batch, or gma vault-write <vault> entity-new --type <type> --name "<Name>" with the body on stdin: preview, then --write) — it fills the vault's template, which is canonical; read _Templates/_Template_{Type}.md for its section names. Copying existing entities propagates drift and deprecated fields._inbox/ files — gma ingest-survey <vault> --archive FILE... --write moves them to _inbox/_processed/ with a date stamp, keeping the subpath and refusing to overwrite. Dry-run (no --write) first to confirm destinations.Six phases. vault-ingest owns 1-4; 5-6 hand off to existing skills.
Run gma ingest-survey <source-dir> before reading anything. DECIDED rows (settled by
extension, frontmatter or heading signature) need nothing. Read a
SCORED row's file only to confirm or override its proposal,
using references/classification-taxonomy.md. UNSCORED rows
(Word/PDF/VTT) need a manual read. Report ERROR rows to the GM.
Images: run gma ingest-images <vault> <source-dir> (dry-run) before touching any image by
hand, then --execute. Work its report per
references/image-handling.md.
Output: a manifest table — every item with classification, brief summary and time-period guess. Ask: "Does this look right? Any misclassifications?"
Group items by chapter/session/time period, using explicit references ("Session 5 notes"), timeline references, NPC/location clustering (same cast = same period) and the GM's Phase 1 context. Each bucket gets a working label, its items and a certainty (certain / probable / needs-GM-input). Ambiguous items go to an "unsorted" bucket, resolved at the start of Phase 4.
Per bucket, read all AUTHORITATIVE material. Source priority:
_Campaign/Timeline.mdgma vault-check <vault> active-pcs --all) — each
PC's player and statusOutput: confirmed events (with source citations) and gaps (things prep says could have happened, unconfirmed).
After creating this bucket's entities, re-run gma ingest-images <vault> <source-dir> --execute so images match against them too.
The skill's core value. Read references/keeper-interview.md and
follow its Core Rules. Order:
references/image-handling.md).keeper-interview.md § PC Narrative Arcs).Read references/synthesis-templates.md.
shared/session-document-chain.md. Block/seam test: keep
finished-prose blocks from the sources verbatim; author only
fragment-derived text and seams. A Session export row is
filed whole as an Export note with export-new, not synthesized
(synthesis-templates.md § Synthesis Rules, rule 7).shared/pc-body-structure.md § A sheet kept somewhere else; on a
campaign that does not publish sheets (player_site.sheets.show
off) do not ask where one is kept; when gma vault-check <vault> pc-body
emits no Stat Sheet rows there is nothing to ask.status: on that PC's own
note only to where the PC stands now (a PC who left and came back
is active); the PC note is the only place a PC's player and
current status are kept.Check each entity as you write it: entity mentions are
[[Entity Name]] wiki-links; play_date is YYYY-MM-DD;
in_game_date follows shared/session-document-chain.md (never a
fabricated Gregorian date; no time of day once the campaign's dates
carry a year). Per bucket, run
gma vault-check <vault> frontmatter --folder <dir> (see
shared/vault-access.md) and fix every ERROR before the next
bucket.
Include a > [!info] Reconstruction Note (sources, limitations)
between <!-- gm-only --> and <!-- /gm-only --> lines; mark
uncertain items <!-- UNVERIFIED (S{n}) -->, tagged with the
session ingested (Ch{c} S{n} if it has a chapter).
Planning documents (arc structures, investigation flows)
become type: plan entities in Chapters/{chapter}/Planning/ per
_Templates/_Template_Plan.md, with plan_type arc, scene,
investigation or timeline. A design for one scene becomes a scene
file instead: gma vault-write <vault> scene-new --chapter "<chapter>" --title "<title>" --write, then its text goes in the
body and its entities/locations get the wiki-links it names.
Entity files parallelize well across subagents; the Phase 4 interview stays sequential.
Walk the GM through the wrap-up with shared/reconcile.md; on
approval it becomes reviewed and AUTHORITATIVE.
After all buckets:
gma vault-check <vault> namesgma graph-check <vault> all,
gma vault-check <vault> relationships (a tone WARNING on a relationship
this ingest wrote: use the word the row names, or where it names
none the listed word that fits, as relationships words in the publish
tool prints them;
leave any other to campaign-qa and never run gma tones here)gma vault-check <vault> timeline does not check cross-bucket ordering)gma vault-check <vault> stale-draftsgma vault-check <vault> wrapup over the generated wrap-upsPictures: if the version check printed # pictures on:, then once everything above is done and reported, follow "When no one asked" in gma llms image for the notes this ingest created.
Then offer, without pushing: "I've ingested N sessions of material. Want to run a vault health check?" (campaign-qa)
Preserve: confirmed events + sources, GM answers verbatim, manifest, unresolved items, entity paths. Discard: intermediate reasoning, processed source text, failed extractions, superseded interview chains.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./campaign-qaAudit and repair TTRPG campaign vault integrity: canon audits, timeline validation, name-similarity checks, clue redundancy, graph health and world-rule consistency, then a fix-or-dismiss decision with the GM on each finding. Use to check a campaign for contradictions, validate timeline consistency, find duplicate or confusingly similar names, verify the Three Clue Rule, audit graph health or orphans, run a full QA pass, fix canon errors, or clean up after a big session. Trigger on 'QA', 'audit', 'check for contradictions', 'timeline check', 'find duplicates', 'clue coverage', 'canon check', 'validate my vault', 'campaign health', 'integrity check', 'find plot holes', 'orphan check', 'world consistency', 'site faults', 'settings check', 'tidy the tones', 'tidy the threads', or 'anything broken in the vault?' while working on TTRPG content.npx claudepluginhub antthelimey/gm-apprentice --plugin gm-apprenticeOther plugins' skills for the same job