mutlumehmet/claude-plugins/tree/main/plugins/jackpot

mutlumehmet/claude-plugins/tree/main/plugins/jackpot

Claude Code の mod です。プロンプト上の行の右端にピクセルスロットマシンを表示します。完了したターンごとにレバーを引き、祝うべき出来事では当たりやすいゴールデンスピンを獲得します。claude-plugins の Claude Code Arcade の一部です。
◉ 2967 ×1 ▲ 2 ✦ 0 ♛ 1(チップ、倍率、きれいな連続数、待機中のゴールデンスピン、ジャックポット)。チップはセッションをまたいで保持されます。/jackpot**でルールと統計を表示します。/jackpot spin、golden、demo は支払いのない練習スピンです。/jackpot hide でしまい、/jackpot show で戻します。各 Arcade ゲームは祝うべき出来事を独自に見つけるため、依存なしで単独インストールできます。コーディング中かどうかに関係なく、セッションには出来事があります。
| 大きさ | 出来事 |
|---|---|
| 小 | ターンの完了、ファイルの保存、1 ターン中の 10 回目ごとのツール呼び出し |
| 中 | コミット、プッシュ、pull request の作成、テスト成功、任意の skill の実行、サブエージェントの完了、計画の承認、送信・作成・投稿・公開を行う MCP ツール、長い文書の作成、メッセージ内の称賛 |
| 大 | マージ、リリース(gh release create、npm publish)、本番デプロイ(vercel --prod、netlify deploy --prod、fly deploy など)、失敗後にテストが戻ること、成果物(PDF、DOCX、XLSX、PPTX、画像)の作成、ページの公開、3 件以上のタスク一覧の完了、マラソンターン(10 分、30 ツール、エラーなし)、1 ターンで 3 つのサブエージェントを完了、3、7、30、100 日の連続記録、100 回目・1,000 回目・10,000 回目のツール呼び出し |
"nothing to commit" と書かれたコミットや、"Everything up-to-date" と表示されたプッシュは数えません。サブエージェント内のツール呼び出しは数えず、完了だけを数えます。
すべて任意で、デフォルトでは空です。/plugin(プラグイン設定)または settings.json の pluginConfigs で設定します。
| 設定 | 用途 | 例 |
|---|---|---|
| big_skills | 実行が大きな出来事になる skill(それ以外は中くらい) | release-notes, publish-report |
| quiet_skills | 何も祝わない skill | commit |
| big_commands | 成功すると大きな出来事になるシェルコマンドの正規表現 | make ship |
| medium_commands | 成功すると中くらいの出来事になるシェルコマンドの正規表現 | terraform apply |
| praise_words | 組み込みの称賛語(thanks、great、perfect と他言語のいくつか)に加えて称賛として数える語 | nice one, cheers |
skill.prompt は実行された skill だけを記録するので、完了した skill を出来事として数えられます。prompt は変更せずに渡します。command.run は自分の /jackpot だけに応答します。Claude Code 2.1.287 以降(mods)が必要です。2.1.289 でテストしています。
/plugin marketplace add mutlumehmet/claude-plugins
/plugin install jackpot@mehmetmutlu
mod は Claude Code 内であなたの権限を使います。インストール前にコードを読んでください。
エディターの統合ターミナルを含むターミナルとデスクトップアプリの Code タブに描画します。VS Code のチャットパネルと claude -p では動作しますが描画しません。複数の Arcade ゲームを同時に開けますが、プロンプト上の行は埋まります。/<command> hide でしまい、/<command> show で戻せます。
Mehmet Mutlu 制作。claude-plugins の一部です。作品の詳細は mehmetmutlu.dev を参照してください。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add mutlumehmet/claude-plugins claude plugin install jackpot
A Claude Code mod: a pixel slot machine at the right end of the line above the prompt. Every finished turn pulls the lever; the moments worth celebrating earn golden spins with better odds. Part of the Claude Code Arcade in claude-plugins.
◉ 2967 ×1 ▲ 2 ✦ 0 ♛ 1 (chips, multiplier, clean streak, golden spins waiting, jackpots). Chips are kept between sessions./jackpot shows the rules and stats; /jackpot spin, golden and demo are practice spins that pay nothing; /jackpot hide puts it away and /jackpot 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 /jackpot 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 jackpot@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.