
Claude Code のプロンプト上に住む7本のゲームアーケードと、長時間セッション用の小さなツール6個を作りました
Reddit ユーザー caloripher が Claude Code mod を紹介しています。プロンプト上部に7つの小さなゲーム(スロット、Tamagotchi、テトリス、街を壊すタコ、Duck Hunt など)を描き、ターン完了、ツール失敗、ツール実行などのイベントで動かし、/arcade コマンドで切り替えたり固定したりします。さらに、コンテキスト満杯警告、ダッシュのガード、2つのセッションが同じファイルを上書きしないための保護、短く平易な回答を求めるボタンなど、長時間作業用の小さなツール6個も含まれます。作者によれば無料のオープンソースで、データはローカルから出ず、インストールコマンドは最初のコメントにあります。

この mod について
この Reddit 投稿は、端末描画用の mod の仕組みを使い、プロンプト上部に7つの小さなゲームをリアルタイムで表示する Claude Code プラグインを紹介します。ゲームは Claude Code の実際の作業イベントで動きます。ターンを完了するとスロットのレバーを引き、ツール呼び出しが失敗すると Atari 風の対決を始め、長くアイドル状態にすると Tamagotchi が空腹になり、ツールを実行するたびにテトリスのピースが落ち、ファイルを編集するとタコが街を壊し、うまくいったときは Duck Hunt がアヒルを撃ち落とします。メール送信や ToDo リストの完了など、プログラム以外のイベントも数えます。新しいターミナルにはゲームがランダムに1つ割り当てられます。/arcade octopus で固定し、/arcade rotate で順番に切り替えられます。同梱される小さなツールはほかに6つあり、コンテキストが満杯に近いときの警告、文書からダッシュを排除するガード、2つのセッションが同じファイルを同時に上書きするのを防ぐ機能、より短く平易な回答を求めるボタンなどです。作者は無料のオープンソースで、データはローカルに留まり、インストールコマンドは最初のコメントにあると説明しています。
インストール
インストール方法は元のソースをご確認ください。
原文 / README
I spend most of my day in Claude Code, and at some point I wanted the waiting to feel a bit more alive. When mods came out (plugins that can draw in the terminal), I started with a tiny dragon above the prompt that breathes fire when I commit. Then it got out of hand. There are seven little games now, and my actual work plays them. A finished turn pulls a slot machine lever. A failed tool lets the bug win an Atari style duel. A Tamagotchi gets hungry if I don't do anything for a while. Every tool Claude runs drops a Tetris piece. An octopus wrecks a city while Claude edits files, and in Duck Hunt the good moments shoot the ducks down. It counts non code stuff too, like sending an email or finishing a task list, which I liked because half my sessions aren't coding at all. Each new terminal gets one game at random. I mostly keep the octopus pinned (/arcade octopus), but /arcade rotate cycles them if you can't decide. Along the way I also made six small tools for my own long sessions: a warning before the context fills up, a guard that stops em dashes sneaking into my docs, one that stops two sessions overwriting the same file, and a couple of buttons to ask for a shorter or plainer answer. It's all free and open source, nothing leaves your machine. Built the whole thing with Claude Code. Install commands are in the first comment. Curious what you'd make with mods. submitted by /u/caloripher [link] [comments]


