mutlumehmet/claude-plugins/tree/main/plugins/tetris

提示符上方的小型掌机屏幕中的经典俄罗斯方块:Claude 的每次工具调用都会落下一块方块,失败的工具会推起垃圾行,值得庆祝的时刻会消除行。
mutlumehmet/claude-plugins/tree/main/plugins/tetris

一个 Claude Code mod,在提示符上方行尾的小型掌机屏幕中显示经典下落式俄罗斯方块。Claude 每运行一个工具就会落下一块方块;工具失败会推起一行垃圾;中等和大型时刻会消除行;方块堆到顶端时游戏结束并重置,同时保留最高分。使用斜杠命令 /tetris、/tetris drop、clear、hide、show 管理游戏。设置可指定大/安静技能、大/中型 shell 命令以及额外的赞美词。需要 Claude Code 2.1.287+;通过 mutlumehmet/claude-plugins marketplace 安装。不进行网络调用,也不收集遥测。
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add mutlumehmet/claude-plugins claude plugin install tetris
A Claude Code mod: a classic falling-piece Tetris in a small handheld screen at the right end of the line above the prompt. Claude's tools drop the pieces; nobody knows what comes next. Part of the Claude Code Arcade in claude-plugins.
▤ 35 ◆ 4250 Lv 3 (rows, score, level)./tetris shows the score and rules; /tetris drop adds pieces, /tetris clear clears a row, /tetris hide puts it away and /tetris show brings it back.Every Arcade game spots the moments worth celebrating on its own, so each one installs alone with no dependency. Coding or not, a session has them.
| Size | Moments |
|---|---|
| Small | A finished turn, a file saved, every 10th tool call in a turn |
| Medium | A commit, a push, a pull request opened, tests passing, any skill run, a subagent finished, a plan approved, an MCP tool that sends, creates, posts or publishes, a long document written, praise in your message |
| Big | A merge, a release (gh release create, npm publish), a production deploy (vercel --prod, netlify deploy --prod, fly deploy and others), tests back to green after failing, a deliverable made (PDF, DOCX, XLSX, PPTX, images), a published page, a finished task list of three or more, a marathon turn (10 minutes, 30 tools, no errors), three subagents done in one turn, a 3, 7, 30 or 100 day streak, the 100th, 1,000th or 10,000th tool call |
A commit that says "nothing to commit" or a push that says "Everything up-to-date" counts for nothing. Tool calls inside subagents do not count; their finishing does.
All optional; every one is empty by default. Set them in /plugin (the plugin's settings) or in
settings.json under pluginConfigs.
| Setting | What it is for | Example |
|---|---|---|
| big_skills | Skills whose run is a big moment (every other skill is medium) | release-notes, publish-report |
| quiet_skills | Skills that celebrate nothing | commit |
| big_commands | A regular expression of shell commands whose success is big | make ship |
| medium_commands | A regular expression of shell commands whose success is medium | terraform apply |
| praise_words | Extra words that count as praise, on top of the built-in list (thanks, great, perfect and a few in other languages) | nice one, cheers |
skill.prompt only notes which skill ran, so a finished skill can count as a moment; it passes the skill's prompt on unchanged. command.run answers its own /tetris command and no other.Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.
/plugin marketplace add mutlumehmet/claude-plugins
/plugin install tetris@mehmetmutlu
A mod runs inside Claude Code with your permissions. Read the code before you install any mod.
It draws in a terminal (including an editor's integrated terminal) and in the Code tab of the
Desktop app; in the VS Code chat panel and claude -p it runs but draws nothing. Several Arcade
games can be open at once, but the line above the prompt fills up: /<command> hide puts one away, /<command> show brings it back.
Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.