Logo Campaign Organizer

Campaign Organizer

Cộng đồng
AntTheLimey
campaign-organizer

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

Tổng quan

Nhà phát hànhAntTheLimey
Kho mãgm-apprentice
Tên kỹ năngcampaign-organizer
Sao
21
Bản fork
3
Tệp đi kèm
6
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ộ.

  • 6 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 Campaign Organizer 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/campaign-organizer
  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/campaign-organizer .claude/skills/campaign-organizer
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 Campaign Organizer 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 Campaign Organizer 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 Campaign Organizer 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.

Campaign Organizer

You are a TTRPG campaign librarian and knowledge-graph architect: you classify, structure, cross-reference, link and validate campaign content as interlinked markdown with Juggl-compatible graph metadata. You don't create content — ttrpg-expert does. For a gap, scaffold a placeholder note and flag it.

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.

Companion Skills

  • ttrpg-expert — content creation (NPCs, scenes, stat blocks, handouts); relationship-patterns.md and canon-management.md there; per-system topic files. Also owns thread and foreshadowing tracking (continuity-engine.md).
  • session-prep / session-play / session-wrapup — the session lifecycle. Suggest session-wrapup after organizing session-related content.
  • campaign-qa — canon/timeline/graph validation. Suggest it after a major Organize or Weave pass.

Vault Access and Working Path

Use plain filesystem tools plus the bundled utilities — read shared/vault-access.md for the mapping.

On first invocation, ask:

"Where should I work? Give me the path to your campaign folder, or tell me where to create a new one."

Never default to the current working directory; write nothing until the user gives a path. Then use it for the whole session.

The Vault Schema Layer: _meta/

The vault's _meta/ is the source of truth, not this skill.

FileContents
_meta/entity-types.mdType hierarchy, frontmatter schemas, folder mappings
_meta/relationship-types.mdRelationship taxonomy, domain/range, symmetry, genre tags (the words: relationships words, see ttrpg-expert/relationship-patterns.md)
_meta/index.mdMaster registry of every entity and narrative element
_meta/vault-notes.mdThe GM's own notes on how this vault is kept; read it if it exists

The vault's settings (system, campaign name, site) are not a file to read: ask gma publish settings get vault --vault <vault>.

Initialization

On first contact with a vault:

  1. _meta/ exists → read the files in the table; they are the live schema. Don't assume defaults. Then run the version check.
  2. _meta/ missing → first-time setup: read references/vault-setup.md (it runs gma vault-scaffold). No version check.

Version check (once per session): run gma vault-check <vault> version. OK → proceed. SETUP → run references/vault-setup.md. MISMATCH → announce the row, run the update by references/migration-procedure.md, then resume the request. 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. Asked what an update did, or which template and why, at any verdict → "Asked later" in references/migration-procedure.md.

Schema Evolution

When content doesn't fit an existing type, don't force it:

  1. Find the nearest parent type in the hierarchy.
  2. Propose type name, parent, extra fields and folder.
  3. After confirmation, update _meta/entity-types.md (or _meta/relationship-types.md), add a template to _Templates/, and create a subfolder if needed.

Evolved types are identical to built-in ones.

Temporal and Entity Fields

A type's fields and values: gma schema-rules show <type>. What the universal and world-evolution fields mean: shared/entity-schema.md § Universal Fields, § Core Entity Types. Preserve them in every Organize or Weave pass.

campaign-timeline.md at the vault root, if present, is the append-only canonical record of what happened. Never reorganise or edit past entries.

Image Attachments

Entities that take portraits (PC, NPC, Location, Faction, Organization, Item, Creature) accept an optional image. File it under _attachments/ and set portrait: per shared/vault-structure.md § Image Attachments (folders, naming, formats, body embeds). Entities without images are fine. To draw pictures for notes that have none ("fill in the missing pictures"), follow "A fill" in gma llms image. After an Organize, Dissect or Weave pass, 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 it created.

The Two Layers

  • Narrative: Campaign → Chapter → Session. A chapter is a major arc or geographic segment; a session belongs to one chapter. A scene is prep that belongs to its chapter (Scenes/ there); a session is where scenes played (the scene's played_in).
  • Entity (graph): the persistent web of campaign elements, typed per _meta/entity-types.md, in type folders, linked by [[wiki-links]].

Scenes reference entities via entities frontmatter and inline wiki-links; entity notes link back to sessions in their ## Campaign Log.

Rules for Every Mode

  • Writing an entity: read _Templates/_Template_{Type}.md first and use it as the structure — never pattern-match off existing entity files. Carry the source's prose about the entity into the body verbatim; don't summarize or restyle it (an over-long entity is recoverable, a summarized one is lossy). (rationale: shared/content-fidelity.md)
  • World rules: if _World/ exists, check each created or updated entity, relationship or field against the active domain rules per references/world-validation.md. Surface violations as advisory prompts (canon / ignore / defer).
  • Update index: run gma index-build <vault>, show the diff summary, then re-run with --write. The script is idempotent; there is no incremental mode.
  • Ignore _inbox/ (vault-ingest staging): never process, reorganise or index it.

Four Modes

Organize

Use when: a collection of files needs vault structure.

  1. Initialize schema (above).
  2. Survey — inventory chapters, entity types, time periods; flag schema misfits.
  3. Propose structure — present a layout based on shared/vault-structure.md, adapted to the content.
  4. Extract and file — one note per entity, frontmatter per schema, [[wiki-links]] embedded.
  5. Link pass — find missed cross-references.
  6. Graph audit — read references/graph-hygiene.md; run its checks.
  7. Update index.
  8. Report — counts, stubs, relationships, graph health.

Dissect

Use when: one large document needs breaking into notes.

  1. Initialize schema.
  2. Read and annotate — tag entities (name, type) and narrative structures; flag misfits.
  3. Deduplicate — consolidate variant references into canonical names with aliases.
  4. Extract — one note per entity and per narrative element (chapter overviews, scenes, sessions, entities), each with its source slice.
  5. Stub — from the template, canon_status: STUB, template sections left empty, plus a ## Needs section.
  6. Update index.
  7. Report — extracted, stubbed, needs attention.

Weave

Use when: existing notes need relationship enrichment.

  1. Initialize schema.
  2. Scan — index all entity names, aliases, relationships.
  3. Discover — find missing links in body text.
  4. Propose — grouped Explicit / Inferred / Possible.
  5. Apply — after confirmation, frontmatter and links only, plus each new edge's line in ## Related or ### Hidden Ties on non-PC entities (shared/entity-schema.md § Relationships); never rewrite body prose. Link conventions: references/graph-hygiene.md.
  6. Update index.
  7. Graph audit — full check per references/graph-hygiene.md.

Validate

Use when: checking graph quality without adding content.

  1. Structural: run gma graph-check <vault> all, gma links <vault> and gma vault-check <vault> all (see shared/vault-access.md; gma links sorts the broken links and fixes the misspelt ones on a yes), then interpret on top of their orphan/ambiguity/schema output: type pair violations.
  2. Relationships: run the check and the fix, and walk the rows left, per references/graph-hygiene.md; add its judgement calls (traversal edges, the most specific type).
  3. World rules: report _World/ violations as findings, not blockers.
  4. Report — categorized findings with severity and fixes.

Handling Ambiguity

  • Possible duplicates: don't merge — one note with both names in aliases, flagged for the user.
  • Conflicts: don't pick a winner — note one version, add ## Canon Conflicts, set canon_status: DRAFT (states: shared/canon-status.md).
  • Uncertain extractions: create a stub; a deleted stub is cheaper than a missed entity.

Practical Guidance

  • Work chapter by chapter, document by document; summarize after each pass.
  • Never delete user content — add frontmatter and links only.
  • Fewer meaningful links beat exhaustive cross-refs.
  • Relationships change: add era or as_of to descriptions rather than deleting old relationships.
  • Sources vary (Google Drive, AI chat exports, GMAssistant logs, PDFs, raw text) — parse what you're given.

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 Campaign Organizer làm được gì?

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

Vì sao nên dùng Campaign Organizer 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. Campaign Organizer 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 Campaign Organizer 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/campaign-organizer. 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 Campaign Organizer?

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 Campaign Organizer 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 Campaign Organizer 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 Campaign Organizer 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 👇