Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By g-kariv1.1.0MITIn 1 marketplace
WSL2 + Windows 向け通知スクリプトと依存のセットアップ。Claude 用 hooks を保持し、Codex は依存確認・手動テストまで。
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code が応答を完了してユーザーの入力待ちになったとき、WSL2 環境から Windows に通知を送るプラグイン。
画像・音声のランダム再生、3種類の表示モード、フックイベントごとの個別設定に対応。
flowchart TD
A[Claude Code が応答完了] --> B[Stop / Notification フック発火]
B --> C[notify.sh が実行される]
C --> D{画像ディレクトリあり?}
D -- Yes --> E[ランダムで画像ピック]
D -- No --> F[画像なし]
E --> G{音声ディレクトリあり?}
F --> G
G -- Yes --> H[ランダムで音声ピック]
G -- No --> I[音声なし]
H --> J{DISPLAY_MODE}
I --> J
J -- toast --> K[トースト通知]
J -- browser --> L[ブラウザ HTML 表示]
J -- wpf --> M[WPF 透過ウィンドウ]
J -- both --> K & L
Windows のトースト通知を表示する。
flowchart LR
A[toast モード] --> B{BurntToast インストール済み?}
B -- Yes --> C[New-BurntToastNotification\nHeroImage 対応]
B -- No --> D[WinRT API 直接呼び出し\n画像付きトースト]
C --> E[バックグラウンドで表示]
D --> E
一時 HTML ファイルを生成してデフォルトブラウザで開く。CSS アニメーション・GIF・音声の <audio> タグに対応。
sequenceDiagram
participant S as notify.sh
participant F as /tmp/claude-notify-*.html
participant B as ブラウザ
S->>F: HTML ファイル生成(画像・音声・タイトル埋め込み)
S->>B: explorer.exe で開く
B->>B: フェードイン表示
B->>B: プログレスバーが DURATION 秒かけて縮む
B->>B: window.close() で自動閉じ
S->>F: DURATION+5 秒後に temp 削除
PowerShell + WPF で透過ウィンドウを全画面表示。背景が完全透明になり、画像だけが浮いて見える。
sequenceDiagram
participant S as notify.sh
participant F as /tmp/claude-notify-wpf-*.ps1
participant W as WPF ウィンドウ
S->>F: PS1 スクリプト生成
S->>W: powershell.exe でバックグラウンド起動
W->>W: AllowsTransparency=true / WindowState=Maximized
W->>W: 画像・テキスト(ドロップシャドウ)表示
W->>W: MediaPlayer で音声再生
Note over W: クリック or DURATION 秒で Close()
S->>F: DURATION+10 秒後に temp 削除
環境変数で動作をカスタマイズできる。イベント別設定が共通設定より優先される。
flowchart TD
A{"CLAUDE_NOTIFY_STOP_IMAGE_DIR\n(env var 明示指定)"}
A -- 設定あり --> Z[そのディレクトリを使用]
A -- 未設定 --> B{"~/claude-waiting-images/Stop/\n(サブディレクトリ規則)"}
B -- 存在する --> Z
B -- 存在しない --> C["~/claude-waiting-images/\n(ベースディレクトリ)"]
C --> Z
サブディレクトリ規則の使い方(ゼロコンフィグ):
~/claude-waiting-images/
├── Stop/ ← Stop イベント専用
│ └── waiting.gif
├── Notification/ ← Notification イベント専用
│ └── alert.png
└── default.png ← イベント専用がなければこちら
| 環境変数 | デフォルト | 説明 |
|---|---|---|
CLAUDE_NOTIFY_IMAGE_DIR | ~/claude-waiting-images | 画像ディレクトリ |
CLAUDE_NOTIFY_AUDIO_DIR | ~/claude-waiting-sounds | 音声ディレクトリ |
CLAUDE_NOTIFY_TITLE | Claude Code | 通知タイトル |
CLAUDE_NOTIFY_TEXT | 入力待ちです 👁 | 通知テキスト |
CLAUDE_NOTIFY_DISPLAY | toast | 表示モード(toast / browser / wpf / both) |
CLAUDE_NOTIFY_DURATION | 5 | 表示秒数 |
CLAUDE_NOTIFY_MPV_PATH | mpv.exe | mpv.exe のパス |
CLAUDE_NOTIFY_CLICKTHROUGH | false | wpf モードでクリックを透過するか |
# Stop イベントだけ別の画像を使う
export CLAUDE_NOTIFY_STOP_IMAGE_DIR=~/stop-images
export CLAUDE_NOTIFY_STOP_TEXT="おつかれ!"
# Notification イベントは wpf モードで表示
export CLAUDE_NOTIFY_NOTIFICATION_DISPLAY=wpf
export CLAUDE_NOTIFY_NOTIFICATION_DURATION=8
| 種別 | 形式 |
|---|---|
| 画像 | PNG / JPG / JPEG / GIF(アニメ GIF 対応) |
| 音声 | WAV / MP3 / M4A / OGG / FLAC |
mkdir -p ~/.local/bin
cp scripts/notify.sh ~/.local/bin/claude-stop-notify
chmod +x ~/.local/bin/claude-stop-notify
# PATH に追加(未追加の場合)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
または setup-stop-notifier スキルを実行すると自動でセットアップされる。
powershell.exe -NoProfile -c "Install-Module -Name BurntToast -Force -Scope CurrentUser"
# winget でインストール
powershell.exe -NoProfile -c "winget install mpv-player.mpv"
# または手動配置してパスを設定
export CLAUDE_NOTIFY_MPV_PATH="/mnt/c/tools/mpv/mpv.exe"
mkdir -p ~/claude-waiting-images
mkdir -p ~/claude-waiting-sounds
# 好きな画像・音声ファイルをそれぞれ置く
cp your-image.png ~/claude-waiting-images/
cp your-sound.wav ~/claude-waiting-sounds/
claude-stop-notify Stop
| toast | browser | wpf | |
|---|---|---|---|
| 追加インストール | BurntToast(任意) | なし | なし |
| 透過背景 | ✗ | ✗ | ✅ |
| クリックスルー | ✗ | ✗ | ✅(オプション) |
| GIF アニメ | ✅ | ✅ | ✅ |
| 音声再生 | mpv / PS | <audio> タグ | MediaPlayer |
| 起動速度 | 速い | 速い | やや遅い(PS 起動) |
| カスタマイズ性 | 低 | CSS 自由 | WPF XAML |
デフォルトで以下のイベントにフックが設定される。
| イベント | タイミング |
|---|---|
Stop | Claude が応答を完了したとき |
Notification | Claude から通知が届いたとき |
hooks/hooks.json を編集することで他のイベントも追加できる。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub g-kari/g-kari-plugins --plugin stop-notifierPlugins from other owners that cover similar ground