Logo Vault Ingest

Vault Ingest

Cộng đồng
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.

Tổng quan

Nhà phát hànhAntTheLimey
Kho mãgm-apprentice
Tên kỹ năngvault-ingest
Sao
21
Bản fork
3
Tệp đi kèm
4
Giấy phépCC-BY-SA-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được AntTheLimey công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Vault Ingest trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/vault-ingest
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Vault Ingest trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Vault Ingest ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Vault Ingest với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Vault Ingest làm được gì?

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

Vì sao nên dùng Vault Ingest trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Vault Ingest là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Vault Ingest trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/vault-ingest. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Vault Ingest?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Vault Ingest với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Vault Ingest với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Vault Ingest có miễn phí không?

Có. Kỹ năng này được AntTheLimey phát hành trên GitHub theo giấy phép CC-BY-SA-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇