---
title: "done-sound"
url: "https://claudemods.dev/ja/builds/done-sound-3df2f4"
source: "https://github.com/myUdav4iik/claude-mods/tree/main/done-sound"
source_type: "github"
repo: "https://github.com/myUdav4iik/claude-mods/tree/main/done-sound"
author: "myUdav4iik"
author_handle: "myUdav4iik"
stars: 0
category: "通知・リマインダー"
categories: ["notifications"]
tags: ["claude-code", "hooks", "macos", "notifications", "plugin", "sound"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add myUdav4iik/claude-mods\nclaude plugin install done-sound"
added: "2026-10-05T22:23:29.996Z"
updated: "2026-10-05T10:59:08Z"
locale: "ja"
content_locale: "ja"
---

# done-sound

Claude がターンを完了したときに macOS のシステムサウンドを再生します。

## Description

Claude が返信を終えるとサウンドを再生するため、長いタスクの途中で別のウィンドウへ切り替えて、完了したことを音で知ることができます。返信が完了したときは "Glass" システムサウンド、エラーまたは拒否でターンが終わったときは "Basso" を再生します。自分でターンを停止したときやサブエージェントが完了したときは鳴りません。コマンド：/sound、/sound off、/sound on、/sound test。設定：sound（Glass）、errorSound（Basso）、minSeconds（0）。`claude plugin configure done-sound@claude-mods` で設定します。Hooks：session.start、サウンド用の command.run、afplay を使う turn.complete。macOS が必要です。

## Install

```
claude plugin marketplace add myUdav4iik/claude-mods
claude plugin install done-sound
```

## Original README

# done-sound

Plays a sound when Claude finishes a reply, so you can switch to another window during a long task and hear when it's done.

- **Reply finished:** plays the "Glass" system sound.
- **Turn ended on an error or a refusal:** plays "Basso" instead, so you can tell the two apart.
- **No sound** when you stop a turn yourself (you're already at the keyboard), or when a subagent finishes part of a larger task.

The sound plays in the background, so it never delays the end of a turn.

## Usage

| Command | Does |
| --- | --- |
| `/sound` | Mutes or unmutes |
| `/sound off` | Mutes |
| `/sound on` | Unmutes |
| `/sound test` | Plays the done sound now |

The command runs at once, even while Claude is working. Muting is remembered across sessions, and the status line shows `sound off` while muted.

## Settings

| Setting | Default | Does |
| --- | --- | --- |
| `sound` | `Glass` | The sound for a finished reply |
| `errorSound` | `Basso` | The sound for an error or a refusal |
| `minSeconds` | `0` | Stays silent for turns shorter than this many seconds. Set it to around 15 to hear only long tasks. |

`sound` and `errorSound` take any macOS system sound: Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine or Tink.

The settings appear in Claude Code's config menu. To see or set them from the command line:

```bash
claude plugin configure done-sound@claude-mods
```

## How it works

| Hook | What it does |
| --- | --- |
| `session.start` | Registers `/sound`, and shows `sound off` in the status line if muted. |
| `command.run` for `sound` | Handles `/sound`. |
| `turn.complete` | After a turn of the main conversation ends, plays the sound with `afplay` from `/System/Library/Sounds`, from a timer so the turn doesn't wait for playback. |

If `afplay` fails, a toast says so.

## Requirements

- macOS, because the mod uses `afplay` and the macOS system sounds.
