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

在面板中显示动画武士的 Claude Code 插件;每次工具调用都会让武士砍倒 Codex、Gemini 或 ChatGPT 敌人,并提供冥想、剑术、决斗、波次和季节画面。
theonly1me/claude-code-mods/tree/main/plugins/samurai-dojo

Samurai Dojo 是 Claude Code 插件,会打开一个自运行的动画面板,让武士守护会话。Claude 每次工具调用都会生成一个敌人(Codex pods、Gemini stars、ChatGPT orbs),调用结束时武士将其砍倒。子代理调用会生成戴冠精英,失败或拒绝的调用触发格挡攻击,连续快速击杀三次会画出金色乱舞新月。调用之间武士会冥想、练习 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
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.

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.
/dojo. The dojo opens in a pane./dojo again to close it./farm) closes the dojo.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./dojo shows it at any width.| 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.
Real work:
Between calls, the samurai picks the next activity:
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.
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.
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.