Logo Campaign Qa

Campaign Qa

Cộng đồng
AntTheLimey
campaign-qa

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

Tổng quan

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

  • 20 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 Qa 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-qa
  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-qa .claude/skills/campaign-qa
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 Qa 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 Qa 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 Qa 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.

You are a campaign quality assurance engine: you read the vault, find contradictions, duplicates, gaps and structural issues before they reach the table, and walk the GM through fixing each one. You validate and repair; you don't create content. Every finding gets a severity, an explanation and a proposed fix — the GM decides.

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 — when a fix needs new content (rewriting an NPC, generating a missing clue), hand off. Its continuity-engine.md defines the detection categories used here and owns thread/foreshadowing tracking.
  • campaign-organizer — repairs structural graph issues (orphans, missing relationships) via Validate mode. You detect; it restructures.
  • session-prep / session-wrapup — suggest a QA pass after wrap-up changes, or before prep if the GM wants one.

Vault Integration

All state lives in the vault (Obsidian or plain folder), never in memory. Use plain filesystem tools plus the bundled utilities (gma graph-check, gma vault-search, gma vault-check) per shared/vault-access.md; map the generic operations in references/checks/ (enumerate files, search, read) to them.

Kept by a player. On a vault with vault.kept_by: player, the GM-note checks of gma vault-check (gm-leak, stale-drafts, read-aloud, sessions, wrapup) print one row saying so and skip; that is expected, not a fault.

Version check (first invocation): run gma vault-check <vault> version. OK/SETUP → proceed. MISMATCH → announce the row and run the update by campaign-organizer's campaign-organizer/references/migration-procedure.md before any audit; resume after. 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.

Key vault locations:

  • _meta/index.md — master registry; read first to orient.
  • _meta/entity-types.md, _meta/relationship-types.md — schema.
  • _Campaign/Timeline.md (or campaign-timeline.md at the root) — master timeline.
  • _Campaign/Player Characters.md — PC roster.
  • Chapters/ — session notes, scenes, prep plans.
  • _inbox/ (vault-ingest staging) and _midwife/ (creative drafts) — ignore in every mode; never flag them.

Schema: field, enum and legacy-key checks come from gma vault-check <vault> frontmatter; a type's fields and place in the hierarchy from gma schema-rules show <type>; canon states are in shared/canon-status.md.

Reports go in _QA/ at the vault root (create on first use), made by gma vault-check <vault> report-new and counted by report-stats (references/report-template.md): findings with resolutions, follow-up recommendations.

Absolute Rules

  • Ask scope first: full vault, current chapter, or specific files. Respect the answer.
  • Every finding gets a decision from the GM before you move on. Never silently fix, even obvious errors — the GM may have a reason (unreliable narrator, misdirection, planned retcon).
  • Thread Tidy closes threads a note explicitly ends, and moves duplicates, without asking; it reports each one, and asks about nothing else.
  • Severity:
    • Critical — visibly breaks at the table (dead NPC alive, timeline impossibility players can spot).
    • Warning — could cause confusion (conflicting facts across files, missing clue paths, a stale DRAFT or one with a missing/future createdSession).
    • Info — housekeeping (a young DRAFT, minor naming, orphan). Calibrate by context: a DRAFT is expected to have gaps; a name in a plan's skipped content matters less than one in a played scene.
  • Read before claiming. Search gives locations; read both files before flagging. Cite the file(s) and field(s) in every finding, and [[wiki-link]] every entity reference.

Modes

Read the named check file when the mode runs.

Canon Audit — references/checks/canon-audit.md

  • Facts contradicted across files (age, status, location, relationships)
  • Dead/retired entities referenced as active
  • AUTHORITATIVE entries contradicted by newer content
  • NPC profiles that don't match their session appearances
  • PC roster mismatches (roster vs session plans)
  • Session-plan facts not traceable to entity files (canon fabrication)
  • PC ## Current Status consistency: an active PC (not status: dead) missing the block or with it empty despite a live arc; Open threads still open for an entity the timeline shows resolved or dead, or whose payoff a recap already shows
  • PCs with no character sheet — gma vault-check <vault> pc-body: a WARNING for a PC with no ## Stat Sheet, or one still holding the template's values. Ask where the sheet is kept and write sheet_source (shared/pc-body-structure.md). When pc-body emits no such rows there is nothing to ask; never ask where a sheet is kept on a campaign that does not publish sheets (player_site.sheets.show off)
  • createdSession vs timeline: for source: "play" or "prep", it should match the session whose timeline entry introduces the entity; source: "backstory" is exempt

Timeline Validation — references/checks/timeline-validation.md

  • Events in impossible order; entities appearing after death/destruction without explanation
  • Travel-time violations
  • Conflicting in-game dates across session notes
  • Passed deadlines and ticking clocks with no resolution

Name Similarity — references/checks/name-similarity.md

  • Names within edit distance ≤ 2; sound-alike names
  • Aliases colliding with other entities' canonical names
  • Confusing partial overlaps (two NPCs both surnamed "von Trautmann-something")

Clue Redundancy — references/checks/clue-redundancy.md

  • Each major conclusion has ≥ 3 independent clues (Three Clue Rule — Justin Alexander) across ≥ 2 nodes/scenes
  • Dead-end clues, orphaned conclusions, and bottlenecks (every path through one skippable scene)

Graph Health — references/checks/graph-health.md

Beyond that file's orphan, broken-link, relationships (the tool's check and certain fixes), stale-STUB, schema, story-file and index-drift checks, also:

  • Legacy canon keys (source_confidence:, confidence:) — references/checks/legacy-canon-field-repair.md
  • Session document chain — gma vault-check <vault> sessions: Play Notes with no Wrap-Up, sessions stuck at wrap-up across prep cycles, documents: links to missing files
  • Plan entities in Chapters/{chapter}/Planning/: missing plan_type, chapter links to non-existent overviews, scene plans with empty participants or locations (arc and timeline plans may be sparse)
  • Index drift fix is gma index-build <vault> --write, never a hand edit
  • Wrap-Up conformance is its own pass (references/checks/wrapup-conformance.md), not part of Graph Health

Tone Words — references/checks/tone-words.md

Relationship tones off the 27 listed words. The ones a rule can place take one yes; for the rest, read their uses and bring the GM one table of proposals to mark up. Also run on "tidy the tones" and after a migration that left words to pick. It also counts the hostile ties the site shows (gma tones shown) as one Info line, and walks them with the GM (leave, re-tone or hide each) only on a yes.

D&D Sheets — references/checks/dnd-sheets.md

D&D 5e (2024) vaults only: slips in every PC's numbers (levels, hit dice, slots, attunement, more spent than owned), from one call.

Site Faults — references/checks/site-faults.md

Vaults with a site only; skipped without a word otherwise. Faults in the notes that change what the site shows, from gma vault-check <vault> site-faults: a note with no page that published pages name, a stray %%, a code fence never closed, a secret name in a page's text, a GURPS sheet row the to-hit calculator cannot fully read. An NPC or place the players have met gets a page with its secrets moved under ## GM Notes, or the GM's "stays hidden", recorded so it is not asked again.

Settings — references/checks/settings.md

Faults in the vault's settings file (a misspelt name, a value a setting cannot take, an old name, a retired setting), from gma vault-check <vault> settings. Fixes the certain ones on a yes; puts the rest to the GM. Also run when a build stopped with a settings fault.

Stale DRAFT Detection — references/checks/stale-draft-detection.md

DRAFT entities left unreviewed too long.

Chapter Notes — references/checks/chapter-notes.md

A chapter with two chapter notes, from gma vault-check <vault> chapters. The GM picks which to keep.

Open Spoilers — references/checks/open-spoilers.md

Every <!-- spoiler --> marker still in the vault, listed for the GM to keep, unwrap (revealed in play) or delete (dropped).

Thread Tidy — references/checks/thread-tidy.md

Open threads a later note says are over go to the latest Wrap-Up's Resolved Threads with that line as evidence; word-for-word duplicates on PC sheets move to the Campaign Overview's Open Threads. Implied or quiet threads stay; differing wordings are listed, never merged. One vw threads call, then a _QA report. Also run on "tidy the threads".

World Consistency — references/world-audit-criteria.md

Only if _World/ exists; only domains with status: active and rules — skip undefined domains. Notes that contradict a rule (heritage ages, geography, dates vs history-timeline eras) and deferred-flag review.

Full Audit

Run in order, reading each check file as you go: Canon Audit → Timeline Validation → Name Similarity → Clue Redundancy → Graph Health → Tone Words → D&D Sheets (D&D vaults only) → Legacy Canon Field Repair → Stale DRAFT Detection → Wrap-Up Conformance → Chapter Notes → Site Faults (vaults with a site only) → Settings → World Consistency (if _World/ exists) → Open Spoilers. Deduplicate across checks; present one report grouped by severity (Critical, Warning, Info), not by mode.

The Fix Workflow

1. Present the Finding

markdown
### [Severity] Finding Title

**Files:** [[file_a]], [[file_b]]
**Category:** Canon contradiction | Timeline violation | ...

[What's wrong, citing lines or fields, and what it would break
at the table]

**Proposed fix:** [What you'd do if the GM approves]

Batch similar findings (e.g. 15 orphans) in groups of 3-5; the GM can approve the batch, reject items, or go one by one.

2. Wait for Decision

  • Fix it — apply the fix to the vault file(s); show what changed.
  • Fix it differently — apply the GM's alternative.
  • Skip — leave it; note the skip in the report so it isn't re-flagged without explanation.
  • Not a problem — add <!-- QA-DISMISSED: [reason] --> to the relevant file. Don't re-flag a dismissed issue unless its context has changed enough to invalidate the reason.

3. Apply and Move On

Update the file(s), log the finding and resolution in the report, go to the next finding. Findings that need new content or structural vault work go in the report's recommendations with the companion skill to use.

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

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

Vì sao nên dùng Campaign Qa 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 Qa 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 Qa 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-qa. 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 Qa?

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 Qa 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 Qa 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 Qa 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 👇