Demiurge combat mode in Foundry: the turn bar, crew portraits and the action menu over the Kabuki Night Market map


An AI Copilot for Running the Table


UX Design | Human-AI Interaction | Product Design | AI-Accelerated Delivery | FoundryVTT Development
Maps and the cyberware body model by SolutionMaps. Built on community modules, credited below.

Overview

When I run a tabletop game, I’m thinking about a lot of things at once. There are three to five people at the table, a story that keeps evolving, rules to manage, characters to play, and something from three sessions ago that might suddenly become important.

I built two tools to help with that. The GM Tool is a desktop app that works alongside Foundry VTT. It helps me organize my campaign and explore dialogue, ideas, and downtime scenes with AI, which I review before players see them. Demiurge is my redesign of Foundry for Cyberpunk RED, including the player HUD, ten-tab character dossier, combat, the Night City map, and dialogue scenes.

The two communicate in real time. One is where I prepare and run the game, and the other is where my players experience it. A lot of this project has been figuring out how those experiences can work together, and what is actually worth building.

Why I built itIn Control, with Room for Surprise

I started working on the GM Tool during grad school because I wanted to make engaging sessions without spending all my free time preparing them. Eventually, I started thinking beyond prep and about how I actually wanted to run my games.

There are so many interconnected elements to a game: how players interact with the world, how NPCs behave, relationships, messaging, and combat. I still want us to roll dice, but I don’t want the math to take us out of the moment. I want the systems to support the experience.

What I find exciting about connecting ChatGPT, or another model, is the bit of unpredictability it brings to improvisation. It gives me something to react to that I might not have thought of myself. But I’m also particular about how my world works, so finding that balance became important.

I stay in control of
What's true in the campaign, what players can see and when, which secrets the AI can use, and what happens automatically during combat. I can pause, change, or undo any of it.
The AI brings the surprise
Dialogue that sounds like the character, downtime scenes, ideas for each player, and unexpected details that give me something new to work with.

A memory for the whole campaign

I also wanted the GM Tool to remember the world with me. It stores our lore and lets me distinguish what actually happened from what is still an idea. Someone who escaped, a promise from three sessions ago, or an unresolved relationship could become part of a future story.

Choose what's canon

What happens becomes canon when I approve it in Review. Anything the AI creates stays "Proposed" until I decide to keep it.

Remember everything

Sessions, characters, places, and relationships stay recorded. The Web remembers who escaped, so they might show up again.

Find the next story

Big moments can lead somewhere else. The tool suggests possible follow-ups, and I choose what to use. Players have the Codex, a journal of what their crew knows.

Are we able to do this?Every Door Opens Another

A lot of my creative process with AI starts with a question: “Are we able to do this?” Once I understand what’s possible, I start thinking about what else I could do with it. What began as a session prep tool grew one question at a time.

Can I make things in the GM Tool and send them to Foundry?
Make it, send itCharacters, items, and scenes I create in the app go straight into Foundry.
Then can the app send messages into the game?
Messages from the appI can write and send NPC messages through the Messenger, right from the GM Tool.
Could I run a scene like a stage play?
The StageI can cue a scene's opening, beginning, middle, and ending from the app, like a play.
What if information went both ways?
A live linkFoundry sends changes back to the app, so the campaign record stays up to date.
And could it remember who means what to whom?
RelationshipsDebts, grudges, and people who got away. The Web keeps those connections together.

How a session gets made now

MeMy ideaA job, a scene, or a twist. That's where it starts.
GM Tool + AISuggestionsIdeas based on what's already true in our campaign.
GM ToolThe pull listThe items, characters, locations, and images I'll need.
MeGather and checkI keep what's useful, change what isn't, and make what's missing.
FoundrySend to FoundryThe finished pieces go into Foundry, ready to use.

Behind the doorsWhat Else It Runs

The more I explored those ideas, the more I thought about the overall experience of playing the game. Here are some of the other things I’ve built.

Sound and atmosphere
Making sound part of the experience
Live radio stationsI wanted radio to feel like radio. Each station uses one of my Spotify playlists and keeps its own clock, so you tune in mid-song, with news breaks and static between stations.
Spaces and presets20 audio effects help create a sense of place, from a car radio or music through a wall to a club floor or braindance, depending on where the crew is.
Ambience and cuesI manage Kenku FM ambience and theater-style cue sheets from the app. Pressing G moves me to the next cue.
DuckingMusic gets quieter when I speak, and I can switch the whole mix between Discord and my own speakers.
Running the night
Making room for improvisation
Voice into PlayPlayers hold a key to speak. Their dialogue appears in my input box, and AI gives me three possible NPC responses to choose from.
The ShowI wanted a session to feel like an episode of a show, with a lobby, opening title card, scene transitions, and an ending with an MVP vote.
NET runsAnimated cyberspace and Black ICE encounters. AI helps me draft the architecture, and the app checks it against the game’s rules.
Encounter Builder17 set pieces with boss phases and waves that I can send to Foundry. The results come back to the app so the world can remember what happened.
The players' side
Their own screens
Second screenPlayers can open another window for their dossier, Codex, people, and jobs without leaving the live session.
Quiet pausePlayers can privately ask to pause or skip something, anonymously if they prefer. I’m the only one who sees the request.
Badge book100 badges, from Common to Legendary, earned through rolls and encounters throughout the night.
Death and replacementA flatline moment on screen, a new character to choose, and a death that becomes part of the larger story.
The world keeps moving
Night City doesn't wait
Downtime, day by dayI wanted downtime to feel like part of the game. Each day between jobs unfolds on players’ screens and ends with a screamsheet. NPCs have lives of their own, too.
Trips on the mapTravel through districts, with travel time, parking risk, and encounters drawn from the books.
One city weatherI set the city’s weather once so it stays consistent across scenes, the map, travel, and ambience.
BraindanceI can create braindance chips in the app that play as cinematic experiences in Foundry and can be sold in downtime shops.
A braindance ride in Foundry: boot-up, beats and the debrief chart
BraindanceExperiencing a chip in Foundry, from the boot-up and three beats to the debrief chart.
The Show: the lobby, the narrated opening title card, and the first scene
The ShowStarting in the lobby, moving into the narrated opening and title card, then the first scene.
Downtime opening on a player screen, then the day planner
DowntimeEach player gets their own downtime screen and can plan out their day.
Recorded live in a demo world using demo characters.

The Problem

AI can generate dialogue pretty easily. What I found more interesting was figuring out how to make that dialogue feel like it belongs in the world I’m creating.

  • It doesn't know your world. Ask for a fixer, and it'll write a fixer. That doesn't mean it understands my fixer.
  • It might reveal something. The story depends on secrets. I can't have the AI accidentally spoil a character's storyline in dialogue.
  • It won't always work. Limits, timeouts, and answers that miss the mark can happen while everyone is waiting for the next scene.
  • It can sound certain and still be wrong. If the AI remembers something differently from the recap, I need a way to settle it.

For me, the challenge became how to bring AI into the experience without losing control of the world or interrupting the flow of the game.

My Role

I'm the product owner, UX designer, and first person testing it. I wrote the specs, mocked up every screen before building, and tested each round myself in Foundry with a checklist. I used Claude Code as my engineering partner. I made the design decisions, checked the builds against my mockups, and decided what was ready to keep.

The methodHow I Build with AI

I follow the same process for every feature. The tags show who's responsible for each part.

How I build with AI: seven steps across two lanes, me and Claude Code
01
Me

Write the spec

The problem I'm solving, the rules, and what the feature needs to do.

122 design docs
02
Me

Mock it up

A clickable HTML version I can look at, use, and critique before building.

203 mockups across both projects
03
Claude Code

Build it

Build from the spec and mockup, with tests alongside the code.

1,017 commits
04
Me

Review against the mockup

It isn't enough for it to work. Does it look and behave how I intended?

05
Me

Hands-on test

I go through a written checklist in Foundry, just like I would during a game.

1,127 written checks across 30 test rounds
06
Me

Rule on it

I document what didn't work. If an issue keeps coming back, I make it a rule.

74 dated rulings, in my own words
07
Claude Code

Fix every failed line

Fix the issues, then let me review again. We repeat until the checks pass.

AI helps me build it, but I'm still the one making the decisions.

The rules I designed the AI aroundThe Interaction Model

Most of these rules came from something I ran into while preparing or testing.

The GM Tool AI suggestion desk, with numbered callouts for the secret-steered suggestion and the prompt controls

Show what's sent

I can see the full prompt before it goes to the model, including GM notes. I want to know exactly what it's using.

Secrets are opt-in

"Include GM secrets" is off by default. Anything meant to be read aloud leaves those secrets out altogether.

Drafts, never overwrites

AI only fills empty fields. Its writing stays outlined until I've had a chance to review it.

The reason, never the fact

A secret might shape a suggestion, like "your leg needs a quiet night," without revealing the secret to the player.

Nothing plays until it's written

No old text disguised as a new response. If AI fails, I see Try again and a clear explanation.

Graceful at the limit

If I reach my plan's usage limit during a session, the app pauses and shows Manage usage instead of breaking.

Voice before volume

Each character gets a "How they talk" file that takes priority. Without one, the app warns me the dialogue may sound generic.

The record has a pecking order

Transcripts come first, then recaps, then notes. AI writing stays "Proposed" until I approve it as canon.

Pause, change, undo

I can pause, adjust, or reverse automatic actions from one control rail, including a Hold everything button.

Grounded in my world (RAG)

83 sourcebooks searchable by page, alongside my campaign record, character voices, and canon tiers. I choose the context AI gets.

Ask ChatGPT in the GM Tool, with numbered callouts for what is sent to the model and the canon controls

The callsDecisions

Five decisions that changed how the tool works, in roughly the order I made them.

What happens when the AI is slow, mid-session?
Weighed
Use prewritten scenes to keep things moving, or let the table know we're waiting.
Picked
Wait, and be clear about it. The app checks AI responses before a run begins. If something still fails, it offers Try again and shows a notice in Foundry and the GM Tool.
Cost
Sometimes there will be a short wait. But when prewritten text appeared unexpectedly, I couldn't tell whether AI had worked at all. I'd rather know what's happening.
Who decides what's true?
Weighed
Let AI add things straight to the campaign, or make the status of each record clear.
Picked
Four canon tiers: Book, Campaign, Played, and Proposed. AI output starts as Proposed until I approve it. If a rulebook and my campaign disagree, I first see whether both can make sense together.
Cost
I have to review AI writing before it becomes official. That's intentional.
Do we move to the new version of Foundry?
Weighed
New platform features versus keeping the game stable. My audit estimated 14 to 25 sessions of work, and the Cyberpunk RED system only supports our current version.
Picked
Stay for now. I kept the Messenger prepared for the newer version so moving later should be easier.
Cost
We miss out on some newer features for now, but I don't want to break our game before it starts.
Can players loot everything in a fight?
Weighed
Making everything on a defeated character lootable sounds simple, but it can throw off the game's economy.
Picked
Curated loot. Small items, a few eddies, occasional special finds, and anything important to the story. I add equipment when it makes sense.
Cost
I had to make loot tables. My first mockups still included every blade, so I revised them and added the rule to the spec.
How much can a fight screen hold?
Weighed
Every combat feature needs somewhere to go, but I don't want the screen buried in panels and alerts.
Picked
Set a limit before building. Four chips at most, then "+N." One banner at a time. New features have to work within the existing HUD.
Cost
Not everything gets its own space. But players can still see the map, and that matters more.

The processHow I Make a Call

Those are some of the bigger decisions, but a lot of my design process happens while I’m looking at a mockup and questioning what I see. Here are four examples, including my own words from the design docs.

The car dash
What I saw
The first driver’s bar was functional, but visually it felt flat. I wanted to see if we could make it feel more like an actual car dashboard.
What I tried
Version B explored a full instrument cluster: round gauges, a drive dial, knobs, and a key.
The call
"B is cool but with all the other Foundry stuff it can be a bit much."
What changed
I ended up keeping A and bringing over three details from B that didn’t need more space: the needle sweep when the key turns, the large radio frequency, and NOS under a red flip cover.
The Night City map
What I saw
22 open questions about how much of the city players should access, including notes, transit, auto-reveal, and the clock.
The call
"I don't want it to be too sandboxy at least right now."
The rule
I want the map to support the story we’re telling right now, with room for me to open up more of the city later.
What changed
I held off on player notes and the metro. Trip events only roll when I press Roll, and I can relax those decisions later through toggles.
Voice input
What I saw
I initially ruled out voice input. When I revisited it, I realized I was more interested in what was being said than identifying who was speaking.
What I wanted
"The voice interacting with our play dialog/narration/NPC dialog."
What I weighed
I explored transcribing Discord audio, an always-on microphone, a Discord bot, and push-to-talk.
The call
I went with push-to-talk. The dialogue goes into my input box, where I can correct it before pressing Enter. Nothing goes to the table automatically.
The crew page
What I saw
"The crew view isn't fun I think."
Round two
I tried tall cards with character art and stats, but I knew the crew would grow. I also wanted the numbers to be “more interesting than stats.”
Round three
REP said nothing, because "everyone will have low rep overall in general so what else."
What changed
I replaced REP with Heat, which tells me who’s after the crew and why. It gives me something to work with in the story that changes every session.

Feedback became a ruleRules from Testing

A lot of my design rules came from actually using the interfaces and noticing what bothered me. Now I carry those decisions into every new screen.

Before
Buy ammoUse my ammo
After
50eb x12
Different choices look differentBuying is amber, with a cart and a price. Using your own is cyan, with a bag and a count.
Before
After
KofiRina
Lots of choices get a searchOver about eight options, use a searchable selector, and design for the longest list.
Before
Help: this menu lets you...
After
Reload: costs an Action
Menus explain themselvesNo help boxes at the bottom of menus. Hover tooltips say what each thing does.
Before
After
Collapse by defaultBusy screens were hard to follow mid-game. If I don't need it right now, it stays folded away.
Before
1920x1080
After
1280x7201100x640
Small screens countI also run games on a small laptop, so every screen is checked at 1280x720 and 1100x640.

The partnershipDirecting an AI Engineering Pair

Building with Claude Code changed where I spend my time. I still need to make all the design decisions, but now I have to be even clearer about the spec, the mockup, and the review.

  • The mockup is the reference. I check the finished screen against the design, right down to the cut corners, not just whether the feature works.
  • Rules stay consistent. Things like "no help boxes" and "American English" are documented so they carry over to every feature.
  • I send finished work back. If something doesn't match what I intended, I revise it, and I update the spec so it doesn't keep happening.
  • I still test it myself. I run through the checklist in Foundry, and whatever fails becomes the next set of fixes.

Picky on purpose

I don't want AI doing all the designing for me. I'm pretty particular about branding, typography, fonts, and spacing, and I think a lot of AI-generated interfaces can start to look the same. That's why I start with a mockup. I can look at it and figure out what's working or what feels off. Then I ask AI for alternatives, consider its suggestions, and decide what to change. I like having ideas to react to, but I also know the experience I'm trying to create.

MeMock it upGet the idea onto a screen I can actually look at.
MeCritique itLook at the branding, type, spacing, and what doesn't feel right.
Claude CodeAI recommendsSuggest other approaches and ways to fix what I've flagged.
MeI decideKeep it, change it, or start again. Then repeat.

The table sideDemiurge

The GM Tool is what I use to run the game. Demiurge is what everyone at the table interacts with.

Demiurge combat screen with numbered callouts for the turn order, costs on every option, and the HUD budget

The Dossier. A ten-tab character sheet: front page, skills, gear, chrome, role, style, people, story, lifestyle, and notes. Players request HP or money changes instead of editing them directly, and I approve them.

The Demiurge character dossier front page for Juno "Glasswire" Vasquez
Dossier skills tab
Dossier gear tab
Dossier cyberware tab
Dossier role tab

After Action and the Stage. After combat, everyone gets the same results screen and marks themselves ready before we continue. Dialogue has its own stage, with a character portrait, name, and line.

After Action results screen shared by the whole table when a fight ends
The Stage: Saint Otto's portrait, name and line, as the players see it
The custom Night City map
The Codex, the players' journal of what their crew knows

CreditsBuilt on Other People's Work

A lot of this project was possible because of the work people in the Foundry community have already done. I wanted to build on those systems and preserve what makes them useful, rather than replace everything.

Cyberpunk RED: COREThe Project Red Team, Foundry system

This is the foundation of both tools. The dossier reads and writes its character data, and new characters use the system’s own creation process so they retain their core skills.

Theatre InsertsLeague of Foundry Developers: Ken L, Noah Zorbaugh, and others

I built the Stage around Theatre’s existing staging system. Demiurge reads its state live, hides Theatre’s bar, and displays the Stage over the scene. Turning the skin off restores Theatre’s original appearance.

Night City Mapsamroaleksej-bit, community module

This inspired our map and provided the file of 515 place pins. No code from the unlicensed module is used. I aligned its pins to our map using the districts they share.

Simple CalendarDean Vigoren

It keeps the in-world date and time consistent across Messenger, the map, and the dossier, and the GM Tool displays it live.

Dice So Nice!Simone and JDW

The 3D dice are part of the experience. The app waits for them to land before revealing a NET result.

socketlibManuel Vögele

It allows the GM’s screen to act for everyone, keeping combat turns, the Show, and vehicle seats synchronized.

Spotify and Kenku FMSpotify Web API, Kenku Remote

I sign into Spotify once and use my own playlists as radio stations. Kenku FM handles the ambience and soundboard.

SolutionMapsMaps

Battle maps and the cyberware body model.

R. Talsorian GamesCyberpunk RED

The game and its sourcebooks, 83 of which are indexed in the app. I use their Night City circa 2045 map at my own table only, and our weather follows their Night City Weather rules.

ChatGPT and Claude CodeOpenAI, Anthropic

ChatGPT is the AI I’ve integrated into the app, while Claude Code is the engineering partner I use to build it.

Outcomes & Impact

Design docs
122
specs written before building.
Written test checks
1,127
across 30 rounds, all tested by hand.
Commits
1,017
across the GM Tool and Demiurge, built with Claude Code.
Automated test files
94
running with each build.
Where it stands
Built and tested during preparation, but not yet used in live sessions with players.

Reflections & Learnings

What I enjoyed most about this project was discovering what was possible with AI. Every time I figured something out, it opened up another opportunity to explore. At the same time, I had to be intentional about where AI made sense and where I wanted to maintain control.

One of my biggest takeaways is that designing with AI and designing an experience that uses AI are two very different things. It's not just about what AI is capable of, but how we design around its capabilities and limitations to create a meaningful experience for the people using it.

Key Takeaways

  • Being in control means deciding what AI can and can't do, not just approving an answer afterward.
  • Showing what gets sent to AI makes the system easier for me to understand and trust.
  • If something fails, I'd rather explain it than quietly pretend everything worked.
  • Working with an AI coding partner puts more weight on the design spec and the review, not less.


Baltimore, Maryland
山口県美祢市
Richmond, Virginia