By SergeyKhval
Play solo D&D 5e tabletop RPG campaigns in Claude Code with a persistent Dungeon Master that manages game state across markdown files, rolls dice transparently, generates quests and world content, scaffolds campaigns, and handles session saves, ends, and resumes.
Add new quests to the campaign using the secrets-first protocol
End the current D&D session and save all game state
Create a new D&D campaign with world generation and game directory scaffold
Save current game progress without ending the session
Resume a D&D campaign session from the saved game state
No model invocation
Executes directly as bash, bypassing the AI model
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A D&D 5e game engine plugin for Claude Code. Claude becomes your Dungeon Master - all game state lives in markdown files, with transparent dice rolling and full 5e rules.
Claude Code is Anthropic's CLI tool for working with Claude in your terminal. It supports plugins - packages that give Claude new skills and commands.
This plugin turns Claude into a D&D 5th Edition Dungeon Master. You play a solo campaign in your terminal, and the entire campaign state is stored as plain markdown files you can read, edit, and version-control with git.
game/ as .md files. Game state is only what's written in the files.roll script handles all dice with batch support: attacks, damage, initiative, advantage/disadvantage, and ability score generation in a single call.In Claude Code, run /plugin, select Marketplace, and paste:
https://github.com/SergeyKhval/claude-dnd
Or load locally with claude --plugin-dir /path/to/claude-dnd.
/claude-dnd:new-campaign
That's it. You'll build the world and your character together, then start playing.
| Command | What it does |
|---|---|
/claude-dnd:new-campaign | Create a new world and character |
/claude-dnd:start-session | Resume from your last save |
/claude-dnd:add-quest [count] | Add new quests mid-campaign |
/claude-dnd:save | Save progress mid-session |
/claude-dnd:end-session | Save + narrative wrap-up |
Between commands, just talk - the DM runs automatically during gameplay.
npx claudepluginhub sergeykhval/claude-dnd --plugin claude-dndComprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.