pierregoutheraud/claude-mods/tree/main/plugins/server-farm

プロンプト上部で動く Claude Code 用の放置型サーバーファームゲームプラグインです。デーモンボットがデータを集め、実際の作業が生産量を増やします。
pierregoutheraud/claude-mods/tree/main/plugins/server-farm

server-farm は function hooks で書かれた Claude Code プラグインで、プロンプト上の帯に放置型ゲームを表示します。サーバーラックがデータで満たされ、デーモンボットが回収します。データはラック、デーモン、オーバークロック、より上位のハードウェア階層(Raspberry Pi、Tower、Blade、GPU rig)に使えます。実際の作業がゲームを動かします。Claude のターンが終わるとトラフィックスパイクが発生し(生産量 x2、60 秒間、最大 5 分まで積み上げ)、テストに合格すると生産時間 30 秒が与えられ、ツールが失敗するとデーモンが修理するまでラックが 1 台停止します。離れている間もファームは半分の速度で最大 8 時間稼働します。複数のセッションを開いている場合は 1 つがファームを動かし、他はミラーとしてイベントを転送します。コマンドにはショップを開く /farm(キー 1-4 で購入)、/farm stats、/farm hide、/farm show があります。/plugin marketplace add pierregoutheraud/claude-mods の後に /plugin install server-farm@pierre-mods を実行してインストールします。mod が監視するのは失敗/テスト検出のためのターンとツール呼び出しだけです。スラッシュコマンドを追加し、プロンプト上の帯を描画し、自分のプラグインストアにセーブを保存しますが、ネットワーク、ファイル、プロセスは使いません。claude plugin validate で全 hook と呼び出しを確認できます。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add pierregoutheraud/claude-mods claude plugin install server-farm
Mods for Claude Code, in the terminal and in the desktop app's Code tab: little games and toys that live above the prompt, written as plugins of function hooks.

An idle game in the band above the prompt. Racks of servers fill up with data, daemon bots walk over to collect it, and you spend it on more racks, more daemons, overclocking and better hardware (Raspberry Pi, Tower, Blade, GPU rig).
Your real work is the weather:
npm test, vitest, pytest and the like) pay 30 seconds of productionThe farm keeps earning while you are away, at half rate for up to 8 hours. With several sessions open, one runs the farm and the others mirror it and send it their events.
Commands: /farm opens the shop (keys 1 to 4 buy), /farm stats, /farm hide, /farm show.
![]()
A pixel slime that hatches from an egg and grows into a teen and then a slime king as you work. It glances around while Claude works, cheers when tests pass, frowns when a tool fails and falls asleep when you leave.
Commands: /pet, /pet pat, /pet name <name>, /pet hide, /pet show.
Both mods draw the band above the prompt, so install one at a time.
/plugin marketplace add pierregoutheraud/claude-mods
/plugin install server-farm@pierre-mods
They watch turns and tool calls (to see whether a call failed or ran tests, never to change it), add their slash command, draw the band above the prompt and keep their save in their own plugin store. No network, no file access, no processes. claude plugin validate plugins/<name> lists every hook and call a mod makes.
Load a mod straight from this folder; it hot-reloads when you save:
claude --plugin-dir plugins/server-farm
To load it in every session, the desktop app included, add its absolute path to CLAUDE_CODE_PLUGIN_DIRS in the env block of your Claude Code settings.json. Do not run a dev copy and an installed copy of the same mod at once.
Run the checks before committing (CI runs the same script):
./scripts/check.sh
It validates the marketplace and each plugin, runs each plugin's tests with claude plugin test, and type-checks a plugin once Claude Code has loaded it, which is when its types land in .claude-plugin/types/ (gitignored).
The function hooks API is early access and can change between Claude Code releases. These mods were built and tested on Claude Code 2.1.287, and CI runs against the latest release on every push.
Bump version in the plugin's .claude-plugin/plugin.json, commit, tag and push. Users get it with /plugin marketplace update pierre-mods.
.claude-plugin/marketplace.json the marketplace: its name and the plugins it lists
plugins/<name>/
.claude-plugin/plugin.json the plugin's manifest
hooks/hooks.json names the hooks module
hooks/register.tsx the hooks: events in, drawing out
hooks/*.ts pure logic and drawing, tested directly
types/index.d.ts the plugin's $.state contract
tests/ claude plugin test runs these
scripts/check.sh validate, test, type-check