ClaudeCodeMod

All shelves / Mods / Play

claude-games

By mohi-devhub

claude-games is a Claude Code play mod by mohi-devhub.

Draws Racer, Breakout, Dino, and Shooter above the prompt to play while Claude works. Claude's edits, passing and failing tests, and commits change the game.

Draws

Install

The marketplace name is claude-games.

In your shell
claude plugin marketplace add mohi-devhub/claude-games
claude plugin install claude-games@claude-games
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
4
Last change
2026-09-14

What it can reach

  • Draws in the session
  • Sees tool calls

Claude Code 2.1.269 or later, with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS set to 1 in the env of ~/.claude/settings.json; without it the plugin installs but does nothing, and the setting also loads other plugins' hooks modules. An interactive terminal that reports the mouse, and a font with box-drawing and block characters. Nothing draws in claude -p, the desktop app, or mobile. Click the board to give it the keyboard; Esc gives it back to the prompt.

The marketplace name is claude-games, and it holds only this plugin. Games to play in the session are why this page files it under play. cc-arcade, by sezaakgun, draws nine games and a pet above the prompt; this repo is built on it. arcade-mutlumehmet, by mutlumehmet, draws pixel games that move with each tool call. This one has four games, one open at a time, each reacting to Claude's own tool calls: an edit scores, a passing test clears the way, a failing test adds a hazard, and a commit gives a shield, a life, or a bomb. The open game pauses when the turn finishes, and best scores stay on this machine.

Demo

From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/racer/breakout/dino/shooter
  • turn.completeWhen a turn ends
  • tool.callAround a tool call, where it can hold one
  • ui.messageAdds a message to the session
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
mohi-devhub
Category
Play
Marketplace
claude-games
Repo
mohi-devhub/claude-games
Version
0.1.0
License
MIT
Repo stars
4
Last change
2026-09-14
Language
TypeScript
Files
29

Other mods in Play

attention-soundspeeratop02Plays a sound when Claude finishes a turn, waits for a permission answer, or asks you a question, with a /sound panel to hear, pick, or mute each one.clawd-talesplaxagorasDraws a pixel Clawd above the prompt acting out each tool call with a caption, with helpers for subagents, bugs for failing tests, and weather for the context.clawdraresmunDraws a tiny pixel Clawd beside the thinking line who acts out the tool and command Claude runs, 79 acts in all, and cheers when the turn ends.clawd-spinnersaiharsha03Draws Clawd above the spinner acting out its word, a scene for each of the 189, with a speech bubble of lines in the voice of Rocky from Project Hail Mary.clawd-madenciselmakcbyDraws a pixel Minecraft scene above the prompt while Claude works: Clawd digs for reads, builds for edits, and sets off TNT for shell commands.hero-journeysoulrochaHolds a commandTurns the session into an RPG HUD: a Clawd class on each tool row, a band, a /hero pane with the objective and resources, and a dragon that guards key files.crab-camsTomerGDraws a crab above the prompt that acts out the tool Claude calls, a shell that fills with context and rate limits, and a pane with a crab for each subagent.cat-spinnerswickenDraws a pixel cat above the spinner that walks or plays with yarn while Claude works, sits to think, and types, reads, digs, or jumps at Claude's tools.little-harvesttheonly1meDraws a pixel farm in a pane where each file that changes becomes a crop, failing tests bring storms, and a turn with a passing test fills the barn.night-feasttheonly1meDraws a pixel vampire village beside the transcript where the moon tracks the context window and each finished tool call is a meal, with dawn at 90%.pocket-familiartheonly1meDraws a pixel fox spirit in a pane that passing tests and finished turns feed, plays while you are quiet, and grows from an egg to nine tails.samurai-dojotheonly1meDraws a pixel dojo in a pane where a Claude samurai cuts down a Codex, Gemini, or ChatGPT foe for every tool call, and trains between calls.
All 96 in Play