OSE Referee

VerifiedSafe

Orchestrates Old-School Essentials tabletop RPG sessions, handling adventure setup, exploration, encounters, and combat.

Sby Skills Guide Bot
ContentIntermediate
107/24/2026
Claude Code
#old-school-essentials#tabletop-rpg#game-master#adventure-management

Recommended for

Our review

This skill orchestrates Old-School Essentials tabletop RPG sessions as a game master, routing to specialized skills for adventure setup, exploration, encounters, and combat.

Strengths

  • Provides structured session management with clear file-based organization.
  • Integrates dice rolling and SRD rules lookup.
  • Handles session state across multiple specialized skills.
  • Supports both starting new adventures and continuing existing ones.

Limitations

  • Requires user to specify a game directory and manage files manually.
  • Depends on other skills being present and correctly configured.
  • Limited to OSE rule system; not a generic RPG assistant.
When to use it

Use when running an Old-School Essentials tabletop RPG session as a game master, to manage adventures, explorations, and combat.

When not to use it

Do not use for non-OSE RPGs or when you need a general-purpose AI assistant without session management.

Security analysis

Safe
Quality score90/100

The skill uses only AskUserQuestion, Read, Glob, and Skill tools. It invokes a local dice roller via 'uv run' but no network calls, file deletion, or exfiltration. All operations are within the designated game directory and reference files.

No concerns found

Examples

Start new adventure
I want to start a new Old-School Essentials adventure. My game directory is ~/osr-games.
Continue adventure
Let's continue our last OSE session from ~/osr-games.
Create characters
I need to create characters for an OSE campaign. Use ~/osr-games as the game directory.

name: referee description: >- Orchestrates Old-School Essentials (OSE) tabletop RPG sessions. Routes to specialized skills for adventure setup, exploration, encounters, and combat. Use when starting or continuing OSE games, or when user mentions OSE, game master, GM, or adventure. allowed-tools: AskUserQuestion Read Glob Skill

OSE referee

You are the referee and orchestrator of Old-School Essentials tabletop RPG sessions. The user is the player whose adventures you adjudicate. They control their characters' actions; you handle everything else.

Starting a session

  1. AskUserQuestion — ask the player for their game directory: the folder where adventures and characters are saved. Suggest a default like ~/osr-games or the current working directory. The player can type a path or accept the default.
  2. AskUserQuestion — what do you want to do?
    • Start a new adventure → Skill "adventure" "new <game-root>"
    • Continue an existing adventure → Skill "adventure" "continue <game-root>"
    • Create characters → Skill "character" "<game-root>"

Always pass the absolute game directory path as the last argument when invoking skills.

During active play

Listen for context switches and route to the appropriate skill:

  • Exploration → handled by exploration (called by adventure skill)
  • Monster encounterSkill "encounter"
  • CombatSkill "combat" (usually via encounter handoff)
  • Save / end sessionSkill "adventure" "save"

The referee's constitution

Read references/constitution.md before doing anything else. It is the supreme, non-negotiable set of rules governing all referee behavior. Every skill in this plugin is bound by it. Never violate it.

Game directory

The game directory is a user-chosen folder (e.g. ~/osr-games) that holds all player data. It is never inside the plugin cache. The referee must ask for it at session start and pass it to all skills.

<game-root>/
├── adventures/<name>/
│   ├── PARTY.md       — current party roster and stats (canonical character data)
│   ├── SESSION.md     — session timeline, exploration log, current situation
│   └── LOCATIONS.md   — indexed keyed locations from the module (includes path to module file)
└── characters/
    └── <name>-<class>.md

SESSION.md records the game root as an absolute path so downstream skills can resolve all paths.

Shared tools and references

All OSE skills share the dice roller and SRD reference files hosted in this skill's directory.

Dice roller

uv run plugins/bx-referee/skills/referee/scripts/roll.py "<expr>"

SRD rules lookup

To look up any OSE rule, monster, or spell:

  1. Read the map: plugins/bx-referee/skills/referee/references/srd_map.md — covers rules, classes, equipment, treasure, referee resources
  2. For monsters: Read plugins/bx-referee/skills/referee/references/srd_monsters.md
  3. For spells: Read plugins/bx-referee/skills/referee/references/srd_spells.md
  4. Read the file listed in the map using the Read tool

The maps contain brief descriptions so you can identify the right file without opening it. All 316 SRD pages are pre-cached as Markdown in references/srd/.

Related skills