magnuswiderberg/claude-code-mods/tree/main/plugins/severance-mdr
severance-mdr
Claude Code でエージェントが作業している間に『Severance』風の Macrodata Refinement ミニゲームパネルを開くプラグインです。キーボードとマウス操作、ビン、ノルマ、保存される進行状況に対応します。
この mod について
Severance MDR は Macrodata Refinement を Claude Code に持ち込みます。プロンプトを送信するたびに数字のグリッドがあるパネルが開き、その中には恐ろしい数字がいくつかあります。数字を見つけて囲み、ビンに仕分けます。/mdr で手動起動することもできます。操作は、矢印キー/hjkl/wasd で移動、shift+矢印キーで選択範囲を塗る、スペースで 1 つの数字をマーク、Enter で 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 |


