✳ClaudeModsClaude Code 模组目录
☰
● 0 人在线 · 浏览 0 次
+ 提交作品
← 返回作品集
Reddit 帖子 · 多智能体与编排 / 用量与成本 / 游戏与娱乐 / Git 与代码审查 / 仪表盘与 HUD / 提示词与输入增强 / 记忆与上下文 / 通知与提醒 / 工具与集成 / 工作流与 CI

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

CodeCraft 是一个免费开源的 Claude Code 模组,把界面重绘成 Minecraft 风格 HUD,用血量表示上下文窗口、饥饿值表示用量限制、装备表示工作安全度,并加入热键栏物品、村民子代理和 60 个成就。

FFunny_Language4830@Funny_Language4830
CodeCraft:把 Claude Code 界面变成 Minecraft 风格 HUD图片1
已翻译

关于这个 mod

CodeCraft 是一个免费、开源(MIT)的 Claude Code 模组,借助 Claude Code 2.1.288+ 的新 Mods 功能开发,把整个界面重绘为 Minecraft 风格 HUD。HUD 每个元素都映射真实会话状态:十颗心代表上下文窗口,血量低时提示 /compact;饥饿值代表五小时用量限制;护甲代表工作安全度(上次编辑后测试全绿 4 点、已提交 3 点、已推送 3 点)。经验与等级只来自可验证的工作:测试跑绿、把红跑变绿、测试全绿时的提交,普通工具调用不给经验。热键栏显示当前回合用到的工具,每个化身为物品:搜索是镐、读取是书、编辑是砖块、shell 命令是红石;子代理显示为村民。shell 命令超过 5 秒时出现 Boss 血条,向超时倒计时。聊天像游戏服务器:显示 [Claude: ran npm test],失败调用有死亡消息(如 "

安装

安装方法请查看原始来源。

原文 / 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]

查看原始来源 ↗

更多类似作品