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

severance-mdr

一个 Claude Code 插件,在代理工作时打开《Severance》风格的 Macrodata Refinement 迷你游戏面板,提供键盘和鼠标控制、分类箱、配额以及保存的进度。

magnuswiderberg@magnuswiderberg

magnuswiderberg/claude-code-mods/tree/main/plugins/severance-mdr

已翻译

关于这个 mod

Severance MDR 将 Macrodata Refinement 带入 Claude Code。每次提交提示时,面板都会打开,显示一个数字网格,其中有些数字很可怕;找到它们、框选它们,再把它们分类到箱子里。也可以手动使用 /mdr 打开。控制方式包括使用方向键/hjkl/wasd 移动,使用 shift+方向键绘制选择区域,使用空格标记单个数字,使用回车标记 3x3 方格,拖动鼠标框选区域,使用 1-5 或点击分类箱进行分类,使用 c 清除,以及使用 n/N 开始或放弃新文件。光标靠近时,可怕的数字会变粗并抖动;每个分类箱接受 WO、FC、DR 和 MA temper 配额,已满的箱子会拒绝额外内容。文件达到 100% 时完成,进度会在工作阶段之间保留。运行 /mdr auto off 可停止面板在每次提示时打开。支持鼠标的动画棋盘可以在终端和 Claude 桌面应用中运行,而 VS Code 扩展显示的是更简单的按钮版本。请注意,插件 API 仍处于早期访问阶段,可能会随着 Claude Code 版本变化。通过 /plugin marketplace add magnuswiderberg/claude-code-mods,然后执行 /plugin install severance-mdr@magnus-mods 安装。

安装

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

claude plugin marketplace add magnuswiderberg/claude-code-mods
claude plugin install severance-mdr
原文 / README

Severance MDR

Macrodata Refinement for Claude Code. While your agents work, a pane opens with a grid of numbers. Some of them are scary. Find them, box them, and sort them into bins. The work is mysterious and important.

Install

/plugin marketplace add magnuswiderberg/claude-code-mods
/plugin install severance-mdr@magnus-mods

Play

The pane opens each time you submit a prompt. You can also open it yourself with /mdr.

Click the board to give it the keyboard. Esc hands the keyboard back to the prompt.

| Key | Does | | --- | --- | | Arrows, hjkl, wasd | Move the cursor | | Shift+arrows | Paint a selection | | Space | Mark one number | | Enter | Mark the 3x3 square around the cursor | | Mouse drag | Box a region | | 1-5 or click a bin | Send the selection to that bin | | c | Clear the selection | | n | New file, once this one is complete (N abandons it) |

Scary numbers give themselves away only when the cursor is near: they turn bold and jitter. Each bin takes a quota of each temper: WO (Woe), FC (Frolic), DR (Dread) and MA (Malice). A full bin refuses the extras, so try another bin. The file is done at 100%. Your progress is saved between sessions.

/mdr auto off stops the pane opening on every prompt. /mdr auto on turns it back on.

Good to know

  • The animated board with mouse support runs in a terminal and in the Claude desktop app. The VS Code extension shows a simpler button version of the same game.
  • The plugin API this mod uses is early access and may change between Claude Code releases. If the pane stops showing after an update, that's probably why.

Files

| Path | Holds | | --- | --- | | hooks/register.tsx | /mdr, opening the pane, agent status, saving, the button board | | hooks/refiner.tsx | The animated board with keyboard and mouse input | | hooks/mdr.tsx | Game rules and drawing, shared by both boards | | types/index.d.ts | Game types and the state contract | | tests/ | Tests |

更多类似作品