3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude Codeのタスク完了時に音で通知する方法【Windows】

3
Last updated at Posted at 2026-01-21

Claude Codeのタスク完了時に音で通知する【Windows】

Claude Codeで長時間タスク回してる間、別作業してて完了に気づかない——あるあるですよね。

Hooks使えば解決できます。

前提条件

  • Windows 10 / 11
  • Claude Code インストール済み

手順

1. 設定ファイルを作る

C:\Users\<ユーザー名>\.claude\settings.json を作ってください。.claude フォルダもなければ作ります。

2. これを書く

{
  "hooks": {
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "powershell -Command \"(New-Object Media.SoundPlayer 'C:\\Windows\\Media\\Windows Unlock.wav').PlaySync()\""
          }
        ]
      }
    ],
    "Notification": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "powershell -Command \"(New-Object Media.SoundPlayer 'C:\\Windows\\Media\\Windows Message Nudge.wav').PlaySync()\""
          }
        ]
      }
    ]
  }
}

3. Claude Codeを再起動

以上。タスク完了時にチャイムが鳴るようになります。

参考

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?