A 3-tier bot plays Graveyard Keeper 2, and Claude Code helps write it
A fast in-game mod, a policy server for macro goals, and Claude Code connected over MCP to give policy feedback and write the code: a 3-tier setup for "playing" Graveyard Keeper 2 with AI.
Done withClaude CodeSpotted· by HN user js8· Oct 31, 2026
Result Plans to make the planner generic for other games
“I have been "playing" Graveyard Keeper 2 with AI (Claude Max) and I had a blast, it's really a new way to enjoy the game.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
The writer built a 3-tiered setup for playing Graveyard Keeper 2: a hot-reloadable mod that handles decisions on a sub 1-second timescale, a policy server that knows the game rules and decides macro goals like what to build, and Claude, connected over MCP, through which both the micro and macro policy agents are developed.
How it went
They had a blast and call it a new way to enjoy the game. They think it’s a great setup because it saves a lot of tokens spent on mundane things. The plan is to make the macro planning system generic enough to reuse across other games.
Try it yourself with Claude Code
I'm building a bot for [game] with three tiers: a fast in-game mod, a policy server for macro goals, and you connected over MCP. Review the [micro/macro] policy code and the recorded decisions, tell me what could be improved, and write the code changes for me to review before I run anything.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
What began as typing stray ideas into Claude Code grew into a markdown zettelkasten journal called Cothought. It's fast at searching and connecting entries, and the writer captures so many more of their ideas.
Three different websites for pomodoro timers, task managers and todo notes. Claude Code set them up on one local page at localhost:3000, with all data stored locally.
Jump straight to a tagged window, like alt-m for mail, without releasing alt. Vibe-coded 100%, mostly with Claude Code, the switcher has fuzzy search and harpoon-style tags, aligned with the writer's own workflow.
To scan HN faster, a Chrome plugin sorts stories by software stack using a local Gemini model. Claude Code built it. It works, but classification still isn't great, and loading the model takes around 11 seconds.
Reading through Calibre and Apple Books got the job done but never felt smooth. Working with Claude Code, the writer built BeePub, a reading-first app that syncs with a Calibre library. They use it every single day.
Checking Claude's rate limit meant refreshing a settings page all day. Now old analog voltmeters on the desk show it, plus CPU and memory. Claude Code vibe-coded everything but the PCB layout: firmware, app and housing.