The Solo Table

Setup · Prompt

How to use ChatGPT as a dungeon master

Two things decide whether this works: the prompt you open with, and the state block you re-paste every session. Both are below, ready to copy.

Short answer

Paste a job-description prompt — not a personality prompt — then re-paste a compact state block at the start of every session. The prompt fixes tone and refusal behaviour; the state block fixes memory. Skip either one and the session degrades within about two hours.

Works with any current chat model. The instructions below are model-agnostic and assume nothing about plugins, memory features or file upload.

The prompt (copy this whole block)

You are the Dungeon Master for a D&D 5e session. Follow these rules in order.

ROLE
- You narrate the world and the outcome of declared actions. You never
  narrate a player character's decisions, feelings, or dialogue.
- You adjudicate using D&D 5e rules (SRD 5.1). When a rule is ambiguous,
  pick the reading that keeps play moving and state your call in one line.
- You do not roll dice for players. Ask for the roll, then interpret it.

HARD RULES
1. Do not grant automatic success on a declared action with a DC above 25.
   Impossible things fail, or succeed at a cost you name out loud.
2. Never reveal information that is not in the state block or the scene
   I have given you. If you do not know something, say "that is not
   established yet" and ask.
3. After every combat round, output a state line:
   [ROUND n | PC hp | enemy hp | conditions | who is next]
4. End every turn with one question to the table. Never end on a
   description with no prompt for action.

VOICE
- Second person, present tense, 80-120 words per narration beat.
- Concrete sensory detail over adjectives. No "ancient evil".
- NPCs get a name, one want, and one thing they will not say.
- Cut to the next decision point. Do not narrate travel that has no choice.

SESSION START
Ask me for the state block if I have not given one. Then ask: "Where do
we pick up?" Do not invent the party's situation.

That is the whole thing. Everything else in this guide exists to support rule 2 and the session-start line.

The state block (this is what stops the drift)

Keep this in a notes file. Paste it as the first message of every session, and again if the model starts contradicting itself mid-session.

STATE — session 4

PARTY
- Renn, half-elf rogue 3, AC 14, HP 21/24, passive perc 15
- Bela, dwarf cleric 3, AC 18, HP 27/27, spell slots 3/4
- Ossa, human wizard 3, AC 12, HP 16/18, concentrating: none

PLACE
Millbrook (river town, pop ~400). Currently: the Salted Eel inn.

GOAL
Find who has been buying the town's lamp oil in bulk.

THREE OPEN THREADS
1. Innkeeper Maret lied about the cellar. Party knows, has not pressed.
2. Bela owes the smith 40gp, promised by the next market day.
3. A cart with no driver left north road at dawn.

ESTABLISHED FACTS (do not contradict)
- Millbrook has no watch. The miller's son runs messages.
- Lamp oil comes upriver from Vell; the barge is late.
- Ossa cannot read Dwarvish.

NOT YET REVEALED (do not use until I say so)
- The buyer is the miller, stockpiling against a fire he plans.
- Maret is his sister.

The last two lines are the important ones, and they are the reason this setup beats a dedicated app. Secrets sit in your file, outside the model's context, until you paste them in as a reveal. The model cannot leak what it was never given.

Do not paste the "not yet revealed" section into the chat until the reveal. That is the whole trick. A model holding a secret will hint at it — in a floor description, in an NPC's glance — and the table will notice.

The four things that will still go wrong

It agrees with you too much

Rule 1 in the prompt is the counterweight. If your table still walks through every door, restate it mid-session: "Rule 1 is in effect — that lock is DC 28." Models drift toward agreement, and stating the rule again resets it.

Combat turns into a paragraph

Force the state line. If the model skips [ROUND n], reply with a single word: state. It recovers immediately. Do this every round or you will finish a fight with no idea who is hurt.

Names mutate

Add a line to the state block: NAMES ARE FIXED. If a name is not in this block, ask before inventing. Cheap, and it stops Maret becoming Maren in act two.

The rules get fuzzy at high level

Above level 5 the interactions multiply — concentration, reactions, conditions stacking. Ask for the rule citation when a call matters: "cite the condition and the page or SRD section." If it cannot, treat the call as a ruling, not a rule, and move on. The mechanics this model fumbles most often, and the line that fixes each, are in the 5e rules guide.

Practical setup, in order

  1. Open a new conversation per session. Do not reuse a 40-message thread — old context competes with your state block.
  2. Paste the prompt. Then paste the state block. Then say where you are picking up.
  3. Keep physical dice. Let the model interpret rolls, never generate them.
  4. At session end, ask: "Summarise in 8 lines: what changed, what was promised, what is now open." Paste that summary into your notes file. That is next session's state block.

Step 4 is the whole campaign system. A campaign is not the model remembering — it is you keeping a file that grows by eight lines a week.

Does this work for solo play?

Yes, and it is the strongest use case. Solo, you control one character, so you never have to wait for a table to decide, and the drift problem shrinks because there are fewer moving parts to contradict.

Add one line to the prompt for solo: Play the world adversarially. Do not soften encounters because there is one player. Without it, models quietly scale fights down and the tension goes with them.

For the structural limits — secrets, refusal, tactical depth — see AI dungeon master vs a human DM.


Compare the dedicated AI DM tools →