All shelves / Mods / Play
codecraft
By mkpvishnu
codecraft is a Claude Code play mod by mkpvishnu.
Draws a Minecraft-style HUD above the prompt: hearts for context, food for the 5-hour limit, armor for tests and commits, and XP only for verified work.
Draws
Install
The marketplace name is claude-mods.
/plugin marketplace add mkpvishnu/claude-mods /plugin install codecraft@claude-mods
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.4.1
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-03
What it can reach
- Draws in the session
- Reads usage or context figures
- Sees tool calls
- Calls another program on this machine
Claude Code 2.1.288 or later, then a new session. The icons are image sprites in a terminal that shows images, such as kitty or Ghostty, block art in other true-colour terminals, and plain symbols on a narrow one. The optional status line needs jq and a few lines added to your own status line script. Levels and advancements are saved in the plugin's own store under ~/.claude/plugins/store/. The author says it is not an official Minecraft product.
The marketplace, claude-mods, holds only this plugin. A game screen of the session is why this page files it under play. pokemon, by dgokcin, draws a pixel Pokémon that acts out Claude's tools. buddy, by Singh-AP, draws a small ASCII pet above the prompt that levels up. This one lays the band out like the game's HUD, with a hotbar of the turn's tools as items and a boss bar for a shell command past 5 seconds, draws the conversation as game chat beside a player's head, and names the permission mode as a game mode. XP comes only from green test runs and commits with the tests green, and /advancements opens 60 advancements on five tabs. The armor reads git in your working directory. The author says it makes no network requests and never changes or blocks a tool call.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/inventory/advancementsturn.startWhen Claude starts a turnturn.completeWhen a turn endssession.compactWhen the context is compactedtool.callAround a tool call, where it can hold onesession.measureWhen usage is measuredui.renderDraws into the sessionSpinnerTurnDurationSessionModeToolUseAssistantMessageUserMessageToolGroupPaneAbovePromptclassic.SessionStartA Claude Code eventclassic.UserPromptSubmitA Claude Code eventclassic.StopA Claude Code event
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 2
/inventoryShow your level, armor, the files you edited, and your advancements/advancementsOpen the advancements screen
Files
The author's README and source, 5 files. They load when you open them.
Facts
- Author
- mkpvishnu
- Category
- Play
- Marketplace
- claude-mods
- Folder
- codecraft
- Version
- 0.4.1
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-03
- Language
- TypeScript
- Files
- 219