ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 theonly1me

samurai-dojo

ペインにアニメーションする侍を表示し、ツール呼び出しごとに Codex、Gemini、ChatGPT の敵を斬る Claude Code プラグイン。瞑想、型、決闘、波、季節の演出もあります。

theonly1me@theonly1me

theonly1me/claude-code-mods/tree/main/plugins/samurai-dojo

元の投稿の画像1
翻訳済み

この mod について

Samurai Dojo はセッションを守る侍の自動再生アニメーションペインを開きます。Claude の各ツール呼び出しが敵(Codex pods、Gemini stars、ChatGPT orbs)を生み、終了すると侍が斬ります。サブエージェント呼び出しは冠を付けた elite を生み、失敗または拒否は受け流しを起こし、素早い連続 3 キルで金色の乱舞の三日月を描きます。呼び出しの合間には瞑想、kata、さすらいの ronin との決闘、環境波との戦いを行います。季節は 5 分ごとに変わります(冬、桜、夏、秋)。生涯キル数は鉢巻きと帯の色で示すランクになります:Ronin(赤)、Hatamoto at 100(青)、Daimyo at 500(紫)、Shogun at 2,000(金)。claude plugin marketplace add theonly1me/claude-code-mods と claude plugin install samurai-dojo@claude-code-mods でインストールします。Claude Code 2.1.289+ が必要で、ビルド手順とランタイム依存はありません。/dojo、/dojo on、/dojo off、/dojo stats コマンドがあります。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install samurai-dojo
原文 / README

Samurai Dojo

A Claude samurai guards your session. Every tool call Claude makes sends a Codex, Gemini, or ChatGPT foe into the dojo, and the samurai cuts it down when the call finishes. Between calls the samurai never stands still: it meditates, practices kata, duels wandering ronin, and fights off ambient waves, through winter, cherry blossom, summer, and autumn.

Samurai Dojo

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install samurai-dojo@claude-code-mods

Register the marketplace once. Run /reload-plugins in an open session after installing. Requires Claude Code 2.1.289 or later; no build step or runtime dependencies.

How to use

  1. Type /dojo. The dojo opens in a pane.
  2. Keep working. Each tool call Claude makes becomes a foe, and each finished call is a cut.
  3. Type /dojo again to close it.
  • The dojo is hidden until you open it. Once open, it opens again in each new session until you close it.
  • Only one game shows at a time. Opening another game (for example /farm) closes the dojo.
  • In the fullscreen layout (CLAUDE_CODE_NO_FLICKER=1), the pane docks beside the transcript and shows a log of what the samurai did. Otherwise it sits above the prompt.
  • A pane that opens by itself at session start needs a terminal 144 columns wide (110 once you have opened it before). If yours is narrower, a toast tells you, and /dojo shows it at any width.
  • Close the pane with its close mark or ctrl+x x. That also turns it off for the next session.

| Command | What it does | | --- | --- | | /dojo | Open or close the dojo | | /dojo on, /dojo off | Open or close it explicitly | | /dojo stats | Print your rank, kills, and flurries without opening the pane |

The game plays itself. It has no keys to press.

How it plays

Real work:

  • Each tool call spawns a foe. Codex pods, Gemini stars, and ChatGPT orbs take turns.
  • When the call finishes, the samurai dashes in and cuts it down.
  • A subagent call spawns a crowned elite that takes two strikes.
  • A failed or denied call costs a parried strike first: a clang, a flinch, then the kill.
  • Three kills in quick succession draw a gold flurry crescent.
  • When Claude finishes a turn, the samurai salutes.

Between calls, the samurai picks the next activity:

  • Meditation: it sits with the sword laid down, and ki rises around it.
  • Kata: rising and falling cuts in place.
  • Duels: a grey ronin walks in. They trade cuts until one clean cut ends it, or both bow.
  • Waves: a few ChatGPT, Gemini, and Codex foes attack, sometimes led by a crowned captain.

This ambient action is decoration. Only real work counts toward kills and ranks. When a tool call starts, the samurai drops what it is doing, and a dueling ronin runs off.

Seasons

The season changes every 5 minutes: winter (snow on the floor and a bare tree), cherry blossom (pink petals), summer (fireflies), and autumn (falling red leaves). The farm in Little Harvest uses the same clock, so both show the same season.

Ranks

Lifetime kills earn ranks, shown by the color of the samurai's headband and sash: Ronin (red), Hatamoto at 100 (blue), Daimyo at 500 (violet), and Shogun at 2,000 (gold).

See the marketplace README for configuration, privacy, updates, and removal.

関連作品