
Ironsworn Referee
- Updated May 17, 2026
- mmacy/osr-plugins
ironsworn-referee is a Claude Code skill in the AI & Agent Building category. Run Ironsworn solo or co-op RPG sessions with an AI co-author.
Key points
- ironsworn-referee
- AI & Agent Building
- AI-coding skill
Ironsworn Referee by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add mmacy/osr-plugins/plugin install ironsworn-referee@osr-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | May 17, 2026 |
|---|---|
| Repository | mmacy/osr-plugins ↗ |
What it does
Run Ironsworn solo or co-op RPG sessions with an AI co-author.
README.md
Ironsworn Referee
A solo and co-op play tool for Ironsworn by Shawn Tomkin. The agent acts as your co-author — it identifies which move your action triggers, calls a deterministic CLI for every dice roll, and narrates outcomes from the move's own text. It is not a hidden-information referee — Ironsworn has no module to hide. It is a rules engine and a fiction collaborator.
Prerequisites
- Claude Code (or any Claude harness supporting agent skills).
uvon PATH (used to run the deterministic CLI).
No copy of the Ironsworn rulebook is required to play, but you may want one for reference. The free PDF is available at ironswornrpg.com.
Install
/plugin install ironsworn-referee@osr-plugins
Skills
| Skill | Invocation | Description |
|---|---|---|
| Referee | /ironsworn-referee:referee |
Orchestrator — routes to the right skill based on game state |
| Character | /ironsworn-referee:character |
Creates a PC: stats, three assets, background vow, bonds |
| World | /ironsworn-referee:world |
Walks the player through "Your Truths" worldbuilding |
| Play | /ironsworn-referee:play |
The main loop — identify move, call CLI, narrate, owns journey + fight lifecycles |
| Oracle | /ironsworn-referee:oracle |
Roll any oracle table or yes/no oracle; show raw results |
| Session | /ironsworn-referee:session |
Save and resume campaigns; log every roll to SESSION.md |
How it works
Deterministic mechanics, agent narration
Every dice roll, oracle lookup, and rules-derived value comes from iron.py — a stateless Python CLI that produces structured JSON. The agent identifies which move triggers from your fiction, calls the CLI for the math, and narrates the outcome from the move's authoritative text. The agent cannot fudge a roll; the CLI cannot invent fiction. The split is deliberate.
This sidesteps the "LLM rolls its own dice" failure mode that plagues PbtA-on-LLM attempts, and produces a verifiable game history in SESSION.md.
Constitution
The agent is governed by an inviolable constitution covering player agency, transparency about mechanics, move-outcome authority, deterministic roll integrity, oracle interpretation discipline, and player ownership of mechanical choices (burning momentum, picking stats, choosing hit options).
Vendored Datasworn data
The plugin includes the Ironsworn classic ruleset as structured YAML, vendored from the Datasworn project at tag v0.1.0-prerelease. Covers all 35 moves, 38 oracle tables (including the embedded Pay the Price, Endure Harm, and Endure Stress fate tables), 78 asset cards, NPCs, Your Truths tables, and the Ironlands atlas.
See skills/referee/references/datasworn/LICENSE.md for per-file licensing.
Campaign state
Each campaign lives in <game-dir>/campaigns/<name>/ with:
CHARACTER.md— stats, meters, debilities, assets, experienceVOWS.md— active and completed vows + progress ticksBONDS.md— bond entries + shared bonds progress trackTRUTHS.md— Your Truths choices for the worldJOURNEYS.md— active journey tracks (created when needed)FIGHTS.md— active fight tracks + initiative state (created when needed)SESSION.md— timeline + roll log (audit trail)JOURNAL.md— optional long-form narrative
Scope
The plugin covers solo Ironsworn play end-to-end: character creation, world setup, the moves loop (adventure / relationship / combat / suffer / quest / fate), journey and fight lifecycles, oracle consultation, and save/resume. Multi-PC co-op play is not supported in v0.1; planned for v0.2.
Out of scope: Ironsworn: Delve and Ironsworn: Starforged. Those have separate Datasworn rulesets and would be separate plugins.
Licensing
Ironsworn rules content
The vendored rules data in skills/referee/references/datasworn/ is content authored by Shawn Tomkin (Ironsworn © 2018), distributed via the Datasworn project. Individual YAML files are licensed under CC BY 4.0 or CC BY-NC-SA 4.0 — see LICENSE.md for the per-file inventory. Because the set as a whole includes CC BY-NC-SA 4.0 material, the vendored directory is distributed under CC BY-NC-SA 4.0.
Project code
All skill prompts (SKILL.md), the constitution, the disambiguation guide, the Python CLI (iron.py), and tests are original work by Marsh Macy, distributed under the same license as the vendored content (CC BY-NC-SA 4.0) for compatibility.
Ironsworn is a trademark of Shawn Tomkin. This is not an official Ironsworn product.