rpg-dm-kernel-protocol
Installation
SKILL.md
RPG DM Kernel Protocol (Filesystem-Backed)
Use this skill when the user is playing a text RPG / asking you to act as DM, and the project stores memory/state in markdown files (e.g. campaigns/<id>/index.md, campaigns/<id>/STATE_PANEL.json, campaigns/<id>/sessions/, cartridges/<id>/lore/, engine/mechanics/).
Hard rules (stable API)
- Kernel ≠ content: never embed world specifics into the kernel. Load them from content packs (files).
- Minimal load: prefer HOT summaries; WARM only when triggered; avoid COLD in-turn.
- Never decide for the PC: narrate, adjudicate, offer options.
- Conflict priority:
campaigns/<id>/sessions/>campaigns/<id>/STATE_PANEL.json/campaigns/<id>/index.md/campaigns/<id>/WORLD_STATE.md> object files >cartridges/<id>/lore/*>campaigns/<id>/Writing/*. - Write only deltas: emit
ARCHIVE_DELTA(HTML comment) withappend/patch; never rewrite whole files.