anthonyhungnguyen/claude-code-mods/tree/main/turn-timer
關於這個 mod
claude-code-mods 集合的一部分。turn-timer 使用 Claude Code function hook 偵測回合是否超過 2 分鐘,接著透過 macOS 的 say 與通知訊息播報完成。安裝方式:將儲存庫複製到 ~/.claude/mods,並在 ~/.claude/settings.json 的 CLAUDE_CODE_PLUGIN_DIRS 中列出該資料夾。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add anthonyhungnguyen/claude-code-mods claude plugin install turn-timer
原文 / README
claude-code-mods
Mods for Claude Code, one folder each. A mod is a plugin of function hooks: panes, status lines, slash commands, tool guards.
| Mod | What it does |
| --- | --- |
| cost-pane | Token and USD spend per session and per day, in the status line and a /cost-pane pane |
| context-guard | Context window fill in the status line; a toast once it passes 80% |
| cache-watch | A toast when a turn rebuilt the prompt cache: tokens written, turn cost, likely cause (idle, model change) |
| turn-timer | Speaks (say on macOS) and toasts when a turn longer than 2 minutes finishes |
Install
git clone [email protected]:anthonyhungnguyen/claude-code-mods.git ~/.claude/mods
List each mod folder you want in ~/.claude/settings.json, separated by ::
{ "env": { "CLAUDE_CODE_PLUGIN_DIRS": "~/.claude/mods/cost-pane:~/.claude/mods/context-guard:~/.claude/mods/cache-watch:~/.claude/mods/turn-timer" } }
New sessions load them. Check a mod with claude plugin validate ~/.claude/mods/<mod>.
其他同名作品
- turn-timereshin087 · ★ 0