---
title: "turn-timer"
url: "https://claudemods.dev/zh-cn/builds/turn-timer-994607"
source: "https://github.com/anthonyhungnguyen/claude-code-mods/tree/main/turn-timer"
source_type: "github"
repo: "https://github.com/anthonyhungnguyen/claude-code-mods/tree/main/turn-timer"
author: "anthonyhungnguyen"
author_handle: "anthonyhungnguyen"
stars: 0
category: "通知与提醒"
categories: ["notifications"]
tags: ["claude-code", "hooks", "macos", "notifications", "tts", "turn-timer"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add anthonyhungnguyen/claude-code-mods\nclaude plugin install turn-timer"
added: "2026-10-05T17:17:18.733Z"
updated: "2026-10-02T06:26:05Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# turn-timer

一个 Claude Code mod，当超过 2 分钟的回合结束时会播报并弹出通知。

## Description

claude-code-mods 集合的一部分。turn-timer 使用 Claude Code function hook 检测回合是否超过 2 分钟，然后通过 macOS 的 `say` 和 toast 通知播报完成。安装方法：将仓库克隆到 ~/.claude/mods，并在 ~/.claude/settings.json 的 CLAUDE_CODE_PLUGIN_DIRS 中列出该目录。

## Install

```
claude plugin marketplace add anthonyhungnguyen/claude-code-mods
claude plugin install turn-timer
```

## Original 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](cost-pane/) | Token and USD spend per session and per day, in the status line and a `/cost-pane` pane |
| [context-guard](context-guard/) | Context window fill in the status line; a toast once it passes 80% |
| [cache-watch](cache-watch/) | A toast when a turn rebuilt the prompt cache: tokens written, turn cost, likely cause (idle, model change) |
| [turn-timer](turn-timer/) | Speaks (`say` on macOS) and toasts when a turn longer than 2 minutes finishes |

## Install

```sh
git clone git@github.com:anthonyhungnguyen/claude-code-mods.git ~/.claude/mods
```

List each mod folder you want in `~/.claude/settings.json`, separated by `:`:

```json
{ "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>`.
