ClaudeMods
☰
ZH-CN
● — 人在线 · 浏览 — 次
赞助提交作品
GitHub 仓库 · 发布者 Funny_Language4830

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

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

已翻译

关于这个 mod

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],失败的调用会出现死亡消息(例如「

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add mkpvishnu/claude-mods
claude plugin install codecraft@claude-mods
原文 / 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]

获取徽章

这是你的项目吗?把这个徽章放进 README 或网站,链接回本页。

Featured on ClaudeMods
尺寸
配色
Markdown
HTML

更多类似作品