ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add mkpvishnu/claude-mods
/plugin install codecraft@claude-mods
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.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

The author's sheet of codecraft's pictures: the armor, heart, and food rows, the ten hotbar items, the player's and Claude's heads, and advancement icons.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/inventory/advancements
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • session.compactWhen the context is compacted
  • tool.callAround a tool call, where it can hold one
  • session.measureWhen usage is measured
  • ui.renderDraws into the sessionSpinnerTurnDurationSessionModeToolUseAssistantMessageUserMessageToolGroupPaneAbovePrompt
  • classic.SessionStartA Claude Code event
  • classic.UserPromptSubmitA Claude Code event
  • classic.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
Repo
mkpvishnu/claude-mods
Folder
codecraft
Version
0.4.1
License
MIT
Repo stars
3
Last change
2026-10-03
Language
TypeScript
Files
219

Other mods in Play

cc-shortsmthliPlays your YouTube Shorts feed with sound in a terminal pane, through your browser's YouTube login, with keys for next, previous, pause, like, and mute.trophynewkayak12Shows a toast for each skill you use from newkayak12's marketplace, a gold card above the prompt for each achievement you unlock, and an /achievements pane.tune-stripFynnXlandDraws a Spotify bar above the prompt on Windows: cover, title, artist, position, and restart, play and pause, and next buttons, read from the media controls.randsumRANDSUMRolls /roll dice with a real engine, prints the result, pins the last roll in the status line, and tells Claude the number to use.while-you-waitnouraraar91Draws a zikr above the prompt while Claude works, in Arabic with its English meaning, a new one every 10 seconds, and hides it when Claude finishes.pixel-buddySimakovIgorDraws a pixel pet in the footer that eats what your work drops, levels up, earns trophies, and reacts to failed commands, green tests, and subagents.cc-arcadesezaakgunDraws nine games and a pet above the prompt. The open game pauses when the turn finishes.reelshamzaferPlays YouTube Shorts in a terminal pane while Claude works, and pauses when the turn finishes.snakehamzaferDraws Snake in a pane while Claude works, and pauses when the turn finishes. Nothing opens until you run /snake.now-playinghamzaferDraws the Spotify track above the prompt: title, progress, the lyric being sung, and previous, pause, and next.buddySingh-APDraws a small ASCII pet above the prompt. It reacts while Claude works and levels up.spinner-packsSingh-APReplaces the spinner word with one of ten themed packs. The line that closes the turn uses the same word in the past tense.
All 96 in Play