Campaign Organizer 标志

Campaign Organizer

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

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 6 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/AntTheLimey/gm-apprentice/tree/main/skills/campaign-organizer
  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/campaign-organizer .claude/skills/campaign-organizer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

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.

附带文件

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

常见问题

Campaign Organizer AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Campaign Organizer?

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

如何在 TypingMind 中安装 Campaign Organizer?

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

哪些 AI 模型可以使用 Campaign Organizer?

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

Campaign Organizer 可以搭配多少个 AI 模型使用?

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

Campaign Organizer AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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