Vault Ingest 标志

Vault Ingest

社区
AntTheLimey
vault-ingest

Ingest old campaign materials — notes, character sheets, images, transcripts, spreadsheets — into a structured vault: sort the material, interview the GM to recover what actually happened, and synthesize inputs for downstream skills. Use for bootstrapping a vault from old notes, adding a discovered character sheet mid-campaign, or reconstructing past sessions from archived transcripts. Trigger on 'ingest', 'import old notes', 'I have some old campaign files', 'process these notes into the vault', 'I found some old character sheets', or any request to bring external material into an existing or new vault.

概览

发布者AntTheLimey
代码仓库gm-apprentice
技能名称vault-ingest
星标数
21
复刻数
3
附带文件
4
许可协议CC-BY-SA-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 AntTheLimey 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Vault Ingest AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/vault-ingest
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AntTheLimey/gm-apprentice.git /tmp/gm-apprentice
mkdir -p .claude/skills
cp -r /tmp/gm-apprentice/skills/vault-ingest .claude/skills/vault-ingest
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Vault Ingest,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Vault Ingest。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Vault Ingest 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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 1
  • references/image-handling.md — Phase 1, when images are present
  • references/keeper-interview.md — Phase 4
  • references/synthesis-templates.md — Phase 5

Input Channels

Any mix in one invocation, in any of: Markdown, plain text, Word, PDF, images, CSV/Excel, chat/VTT exports.

  1. Staging folder — _inbox/ in the vault.
  2. External path — a folder or file outside the vault.
  3. Pasted content — treat as an implicit source document.

Bootstrap Detection

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.

Gotchas

  1. Read _Templates/_Template_{Type}.md before creating any entity — the template is canonical; copying existing entities propagates drift and deprecated fields.
  2. One file per entity — multiple entities per file break wiki-links and publish rendering.
  3. Never modify external source files — they are the GM's backup and proof of ownership.
  4. Process buckets chronologically, earliest first, each through Phases 3-6 before the next — later buckets reference entities created by earlier ones.
  5. Archive, never delete, processed _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.
  6. Prep is not play — scenario prep describes potential, not reality. Dice rolls, skill-check results or specific PC actions are play records wherever they appear.
  7. Flag, don't guess — anything ambiguous goes to the GM, never resolved by invention.

The Pipeline

Six phases. vault-ingest owns 1-4; 5-6 hand off to existing skills.

Phase 1: Survey & Classify

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?"

Phase 2: Sort into Buckets

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.

Phase 3: Extract Play Events

Per bucket, read all AUTHORITATIVE material. Source priority:

  1. _Campaign/Timeline.md
  2. Existing session wrap-ups
  3. Play transcripts and fragments
  4. _Campaign/Player Characters.md — deaths, transitions, rosters
  5. Existing entity files — current canon

Output: 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.

Phase 4: Keeper Interview

The skill's core value. Read references/keeper-interview.md and follow its Core Rules. Order:

  1. Resolve the Phase 2 unsorted items.
  2. Resolve image rows left for the GM (references/image-handling.md).
  3. One question per active PC about their arc across the period (keeper-interview.md § PC Narrative Arcs).
  4. The play-event interview.

Phase 5: Synthesize & Hand Off

Read references/synthesis-templates.md.

  1. Buckets with no session files → campaign-organizer creates the chapter/session skeleton.
  2. Write the synthesis as a Play Notes file per 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 copied into place, not synthesized (synthesis-templates.md § Synthesis Rules, rule 7).
  3. Follow the session-wrapup workflow for the Wrap-Up file and entities. One new entity often implies others (an NPC brings locations) — create them too.
  4. Each PC active in the period gets a consolidated character story entry (synthesis-templates.md § Character Story Backstory Entries). A PC whose sources hold no stats: 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.

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 or a time of day). 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.

Phase 6: Review

Walk the GM through the wrap-up with shared/reconcile.md; on approval it becomes reviewed and AUTHORITATIVE.

Post-Ingestion

After all buckets:

  • Deduplicate entities — gma vault-check <vault> names
  • Cross-bucket relationship chains — gma 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)
  • Timeline consistency across buckets — by eye (gma vault-check <vault> timeline does not check cross-bucket ordering)
  • Entity status progression — gma vault-check <vault> stale-drafts
  • gma vault-check <vault> wrapup over the generated wrap-ups
  • Route inconsistencies back through reconcile

Pictures: 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)

Compaction

Preserve: confirmed events + sources, GM answers verbatim, manifest, unresolved items, entity paths. Discard: intermediate reasoning, processed source text, failed extractions, superseded interview chains.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Vault Ingest AI 技能有什么作用?

Ingest old campaign materials — notes, character sheets, images, transcripts, spreadsheets — into a structured vault: sort the material, interview the GM to recover what actually happened, and synthesize inputs for downstream skills. Use for bootstrapping a vault from old notes, adding a discovered character sheet mid-campaign, or reconstructing past sessions from archived transcripts. Trigger on 'ingest', 'import old notes', 'I have some old campaign files', 'process these notes into the vault', 'I found some old character sheets', or any request to bring external material into an existing...

为什么在 TypingMind 中使用 Vault Ingest?

因为您只需安装一次,就能搭配任何模型使用。Vault Ingest 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Vault Ingest?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/vault-ingest。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Vault Ingest?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Vault Ingest 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Vault Ingest 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Vault Ingest AI 技能免费吗?

是的。AntTheLimey 已在 GitHub 上根据 CC-BY-SA-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇