---
title: "CodeCraft：将 Claude Code 界面变成 Minecraft 风格 HUD"
url: "https://claudemods.dev/zh-cn/builds/built-a-minecraft-skin-for-my-claude-code-728e36"
source: "https://github.com/mkpvishnu/claude-mods"
source_type: "github"
repo: "https://github.com/mkpvishnu/claude-mods"
author: "Funny_Language4830"
author_handle: "Funny_Language4830"
stars: 3
category: "多智能体与编排"
categories: ["agents", "cost", "games", "hud", "input", "memory", "notifications", "tools", "workflow"]
tags: ["MIT", "hud", "minecraft", "主题", "开源", "插件", "界面", "趣味"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add mkpvishnu/claude-mods\nclaude plugin install codecraft@claude-mods"
added: "2026-10-03T20:04:36.971Z"
updated: "2026-10-03T10:56:42Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# CodeCraft：将 Claude Code 界面变成 Minecraft 风格 HUD

CodeCraft 是免费的开源 Claude Code mod，会把界面重新绘制成 Minecraft 风格 HUD。爱心代表上下文窗口，饥饿代表使用限制，盔甲代表工作安全，还会加入物品快捷栏、村民子代理和 60 个成就。

## Description

CodeCraft 是一个免费的开源（MIT）Claude Code mod，使用 Claude Code 2.1.288+ 的新 Mods 功能构建，将整个界面重新绘制成 Minecraft 风格 HUD。每个 HUD 元素都对应真实的会话状态：十颗爱心代表上下文窗口，生命值低时提示 /compact；饥饿代表五小时使用限制；盔甲代表工作安全（最后一次编辑后测试全部通过得 4 点，已提交得 3 点，已推送得 3 点）。经验和等级只来自可验证的工作：测试保持通过、让失败的运行重新通过，以及在测试全部通过时提交；普通工具调用不会提供经验。快捷栏显示本轮使用的工具，每个工具都被拟人化成物品：搜索是镐，读取是书籍，编辑是砖块，shell 命令是红石；子代理显示为村民。shell 命令超过 5 秒时会出现 Boss 生命条，并向超时倒计时。聊天像游戏服务器：会显示 [Claude: ran npm test]，失败的调用会出现死亡消息（例如「

## Install

```
claude plugin marketplace add mkpvishnu/claude-mods
claude plugin install codecraft@claude-mods
```

## Original README

I built CodeCraft, a free and open-source mod for Claude Code that redraws the interface as a Minecraft-style HUD. I built it with Claude Code, using the new Mods feature (Claude Code 2.1.288+). What it does Every piece of the HUD shows something real about your session: Hearts are your context window. Ten hearts is a fresh session, and you get a warning to /compact when health runs low. Food is your five-hour usage limit. Armor shows how safe your work is: tests green since your last edit (4 points), work committed (3), commits pushed (3). XP and levels only come from verified work: green test runs, turning a red run green, commits made with the tests green. Plain tool calls earn nothing. The hotbar shows the tools used in the current turn, each as an item: a pickaxe for search, a book for reads, bricks for edits, redstone for shell commands. Subagents show up as villagers. The boss bar appears when a shell command runs past 5 seconds, draining toward its timeout. The chat reads like a game server: [Claude: ran npm test], failed calls get death messages ("npm was shot by Skeleton (exit 1)"), and you get "has made the advancement [Diamonds!]" when you commit with green tests. Advancements: there are 60 across 5 tabs, 6 of them hidden, saved across sessions and earned by real work. A first green test, a merged PR, git bisect, working 7 days in a row. /advancements opens a tree screen like the game's. Try it (free, MIT licensed) In Claude Code: /plugin marketplace add mkpvishnu/claude-mods /plugin install codecraft@claude-mods Repo: https://github.com/mkpvishnu/claude-mods submitted by /u/Funny_Language4830 [link] [comments]
