Play a solo game of Dungeons & Dragons 5th Edition with an AI Dungeon Master. This repo turns Claude into a DM that generates a complete hidden campaign, builds your character, and runs the whole adventure - you just play.
No prep, no rulebooks required. The AI handles the world, the NPCs, the dice, and the story; you make the choices.
- Claude Cowork (or Claude Code) - this is where you'll play.
- A copy of this repo - either clone it with git, or just download it as a ZIP from GitHub (green Code button → Download ZIP) and unzip it. No git required.
- Get the repo - either clone it:
…or on GitHub click the green Code button → Download ZIP, then unzip it. (No git needed.)
git clone <this-repo-url> - Open the folder in Claude Cowork.
- Generate your campaign - run:
Answer the setup questions (genre, tone, length, themes, and so on). The AI builds an entire hidden campaign - world, villain, NPCs, quests, monsters - behind the scenes.
/new-adventure - Create your character - run:
A guided walkthrough builds a full D&D 5e character sheet and quietly weaves them into the world.
/new-character - Just start playing - type what your character does or says, in plain chat. The DM describes the world and reacts to you. That's it.
private/ holds the hidden campaign - the villain's real plans, plot twists, secret identities, undiscovered places, and the ending. Reading it spoils the entire game for you. Leave it closed and let the story reveal itself through play.
✅ The public/ folder is safe to read - it's your stuff: your character sheet, the people and places you've actually met, your quests, and a journal of what you've done.
- Just type what you do or say - everything is in-character by default. ("I push open the tavern door and scan the room.")
oog:- out-of-game. For questions or instructions to the DM. ("oog: how much HP do I have left?")inner:- your character's private thoughts. ("inner: I don't trust this guy one bit.")
There's no separate save file - the game is the files. As you play, the AI keeps everything current: your character sheet (HP, gear, level, XP), the NPCs and places you discover, your quests, and the running journal (public/journal.md) you can read any time to recap "previously…".
/clear-adventure- wipe the current campaign and world but keep your character, ready for a fresh/new-adventure./clear-characters- remove a character (and scrub them from the story).
Have fun, roll well, and don't peek in private/. 🗺️