ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 dhruvkumar1805

cricket-commentary

一個 Claude Code 外掛,將每次工具呼叫變成一場即時 IPL 風格板球比賽的一球,並提供記分板、像素大螢幕、觀眾音效和印度解說員。

dhruvkumar1805@dhruvkumar1805

dhruvkumar1805/cricket-commentary

原貼文圖片1
已翻譯

關於這個 mod

cricket-commentary 透過把每次工具呼叫對應為一次板球投球,讓 Claude Code 工作階段變得像遊戲:測試通過或 git push 會變成 SIX,編輯是單跑,失敗是 OUT,被拒絕的權限是 WIDE。它會在提示列上方提供記分板,顯示得分、回合、跑分率、頂尖擊球手和最近一次出局;終端機中的像素大螢幕會用煙火和紙花慶祝邊界球和出局;即時解說可以由 Claude Haiku 產生,也可以從手寫台詞庫讀取;此外還有 macOS 文字轉語音聲音(印度英語或印地語)以及合成的觀眾音效。/cpl、/cpl career、/cpl demo、/cpl mute 和 /cpl hinglish 等命令用來控制體驗。語音和觀眾音訊需要 macOS,記分板和大螢幕則可在任何真彩色終端機中執行。透過 /plugin marketplace add dhruvkumar1805/cricket-commentary,然後執行 /plugin install cricket-commentary@dhruv-mods 安裝。授權條款為 MIT。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add dhruvkumar1805/cricket-commentary
claude plugin install cricket-commentary
原文 / README

🏏 cricket-commentary

A Claude Code mod that turns every session into a live IPL match.

Every tool call is a ball. Failing tests get you bowled, git push is a six, and an Indian commentator calls every big moment out loud while the crowd roars.

SIX! on the big screen after the tests pass

Install

In Claude Code:

/plugin marketplace add dhruvkumar1805/cricket-commentary
/plugin install cricket-commentary@dhruv-mods

Then give Claude any task. The toss happens on your first prompt. Turn your sound on 🔊

How it scores

| What Claude does | What you get | |---|---| | tests pass, git push | SIX 🎆 | | build, lint, commit | FOUR | | edits | singles, twos and threes | | reading and searching | dot ball | | tests fail | OUT, bowled | | build breaks | OUT, caught behind | | command not found | OUT, stumped | | rm -rf, force push, sudo | NO BALL, free hit | | you deny a permission | WIDE |

Fifties, centuries, hat-tricks and maiden overs get their own moments. When the turn ends, the commentator names the player of the match.

OUT! with the stumps flying

What's in the box

  • Scoreboard above the prompt: score, overs, run rate, this over ball by ball, top batters, last wicket
  • Pixel big screen in the terminal for sixes, fours, wickets and milestones, with fireworks, flying bails and confetti
  • Live commentary written fresh for each moment by Claude Haiku about the actual command, with a bank of hand-written lines as backup
  • The voice: macOS reads the commentary with its Indian English voice (Aman), or Hindi (Lekha) in Hinglish mode
  • Crowd sounds: bat crack, roar, groan, stumps and applause, all synthesized from scratch

Commands

| | | |---|---| | /cpl | full scorecard for the innings | | /cpl career | career stats across sessions | | /cpl demo | a scripted innings, to see and hear everything | | /cpl stop / start | pause and resume the match | | /cpl mute / unmute | the commentator | | /cpl crowd | toggle the crowd | | /cpl hinglish / english | commentary language | | /cpl hide / show | the scoreboard |

Notes

  • Voice and crowd sounds need macOS. The scoreboard and big screen work in any terminal with true color.
  • Commentary lines use a small amount of your Claude usage (one Haiku call per big moment).
  • If the Aman voice isn't installed, the commentator falls back to your system voice. Add it in System Settings → Accessibility → Spoken Content → System Voice → Manage Voices.
  • Mods run with the same access as Claude Code. Read the code before installing any mod, this one included. It's all in hooks/.

MIT · made by @dhruvkumar1805

更多類似作品