danielwh2/cuelume/tree/main/claude-code
關於這個 mod
Claude Code 的兩種 Cuelume 聲音,讓你可以在它工作時移開視線。一個回合持續 十秒或更久並以回答結束時播放就緒提示;權限提示等待時播放注意提示。簡短回答、中斷的回合和子代理回合保持靜音。使用 /plugin marketplace add danielwh2/cuelume 和 /plugin install cuelume@cuelume 安裝。需要支援 mod 的 Claude Code 版本和 macOS(音訊透過 afplay 播放)。可透過 /cuelume 使用主題和開關命令,設定會在工作階段之間保留。外掛播放隨附的 WAV 檔案,只在本機儲存主題選擇;不會讀取其他內容,不執行其他程式,也不會透過網路傳送任何內容。它註冊四個 hooks(PermissionRequest、turn.complete、session.start、command.run),這些 hooks 都不會替你作出決定。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add danielwh2/cuelume claude plugin install cuelume@cuelume
原文 / README
Cuelume for Claude Code
Two Cuelume sounds for Claude Code, so you can look away while it works.
| When | Cue |
| --- | --- |
| A turn of ten seconds or more ends with an answer | ready |
| A permission prompt is waiting on you | attention |
Short replies, interrupted turns and subagent turns stay silent.
Install
/plugin marketplace add danielwh2/cuelume
/plugin install cuelume@cuelume
It needs a Claude Code version with mods, and macOS: Claude Code plays plugin audio through afplay, so other platforms stay silent.
Themes
/cuelume show the current theme
/cuelume bubble switch to default, mech, bubble or press, and hear it
/cuelume off no sounds
Your choice is kept across sessions.
press is modelled on the trackpad and keycap sounds in DawoodUI's Artasaka preview.
What it does on your machine
It plays the WAV files bundled in this folder and keeps your theme choice in Claude Code's plugin store. It reads nothing else, runs no other program and sends nothing over the network.
Hooks
The plugin registers four hooks. None of them makes a decision for you. The first three pass their event on unchanged and return what Claude Code gave back; the last answers the plugin's own command.
| Hook | When it runs | What it does | What it decides |
| --- | --- | --- | --- |
| classic.PermissionRequest | A permission prompt is about to show | Plays attention | Nothing. It never allows, denies or answers the request; that decision stays with you |
| turn.complete | A turn ends | Plays ready if the turn ran ten seconds or more | Nothing. The answer is returned as it was |
| session.start | A session starts | Registers the /cuelume command | Nothing |
| command.run | You run /cuelume | Saves the theme you chose and plays it | Nothing |
How the sounds are made
Cuelume synthesizes its cues live with Web Audio. A Claude Code mod can only play audio files, so each cue here is rendered once from Cuelume's own recipes to a 48 kHz WAV. The renderer skips Cuelume's output limiter, so a cue is close to what the library plays in a browser, not identical.
取得徽章
這是你的專案嗎?把這個徽章放進 README 或網站,連回本頁。
