View on GitHub

campaign-mode

Work with a party of AI advisors with genuinely different perspectives.

ROADMAP-CM-001: Plugin Guidelines Parity (v0.2.6)

Field Value
Roadmap ID ROADMAP-CM-001
Version 0.2.6
Parent ADR ADR-CM-013
Status In Progress
Date 2026-02-14

Motivation

CLAUDE.md establishes cross-cutting campaign conventions (agent identity, context isolation, lifecycle, user-as-protagonist, proactive elicitation) that all NPCs depend on. However, CLAUDE.md is not auto-loaded by the plugin infrastructure — it only takes effect when present in the user’s project root.

Plugin users who invoke NPC agents without first running /campaign-setup operate without these conventions. v0.2.4/v0.2.5 fixed skill path resolution in commands but did not address the missing CLAUDE.md content.

Approach

Hybrid injection + condensed subset:

Invocation Path Mechanism Content
Commands (/start-quest, /continue-quest, /council) !cat ${CLAUDE_PLUGIN_ROOT}/CLAUDE.md`` injection Full CLAUDE.md (~130 lines)
Direct skills (/gandalf-agent, /dragon-agent, /guardian-agent) Inline “Campaign Conventions” section in SKILL.md Condensed subset (~25 lines)
/campaign-setup Already injects CLAUDE.md No change needed

Work Items

Verification Checklist