Windows Toast 通知工具集. 包含:
plugins/notifier/) - Claude 完成回應或需要輸入時自動跳 toast. 詳見 plugins/notifier/README.md.register-shortcut.cs # 註冊 AUMID 到開始功能表
make-icon.cs # 產生範例 app.ico
app.ico # 預先生成的範例圖示
plugins/notifier/ # Claude Code plugin (見 plugins/notifier/README.md)
plugins/notifier/hooks/scripts/notify.cs 同時是 plugin 的 hook 腳本與可獨立呼叫的 CLI. 以下範例假設從 repo 根目錄執行.
$notify = "plugins\notifier\hooks\scripts\notify.cs"
# 最小通知 (沒註冊 AUMID 時, 來源會顯示為 Run Dialog)
dotnet run $notify -- "Hello"
# 帶大圖示, 圓形裁切
dotnet run $notify -- "Build Done" "All tests passed" `
--icon "$PWD\app.ico" --icon-crop circle
# 指定已註冊的 AUMID
dotnet run $notify -- "Hello" "From me" --app-id "ClaudeCode.Notifier"
每個 script 都有 --help:
dotnet run $notify -- --help
dotnet run register-shortcut.cs -- --help
dotnet run make-icon.cs -- --help
register-shortcut.cs 走 Start Menu 捷徑路線 (Microsoft 推薦的方式), 程式會出現在開始功能表跟搜尋裡:
dotnet run register-shortcut.cs -- `
--aumid "Sean.OsNotify" `
--name "OS Notify" `
--icon "$PWD\app.ico"
# 確認註冊成功
Get-StartApps | Where-Object { $_.AppID -eq "Sean.OsNotify" }
# 之後發通知就指定這個 AUMID
dotnet run $notify -- "Hello" "From OS Notify" --app-id "Sean.OsNotify"
# 移除
dotnet run register-shortcut.cs -- `
--aumid "Sean.OsNotify" --name "OS Notify" --remove
純 plugin 場景請改用 plugins/notifier/install.ps1 走登錄檔路線, 較輕量 (但程式不會出現在開始功能表).
# 產生一個寫著 "A" 的 ico
dotnet run make-icon.cs -- my-app.ico A
Application User Model ID 是 Windows 用來識別應用程式的字串. Toast 通知必須對應到系統認得的 AUMID 才會出現, 取得方式有三種:
Microsoft.Windows.Shell.RunDialog, 直接可發通知, 但標頭會是該 app 的本地化名稱Get-StartApps 列出已安裝程式的 AUMIDplugins/notifier/install.ps1 - 純登錄檔, 最輕量register-shortcut.cs - Start Menu 捷徑, 同時讓程式可被搜尋啟動| 顯示位置 | 來源 |
|---|---|
| 右上角 App 名稱旁的小圖示 | AUMID 註冊時帶的 IconUri 或捷徑 IconLocation |
| 通知左側大圖 | toast XML <image placement="appLogoOverride"> (notify.cs --icon) |
| 通知頂部橫幅 | toast XML <image placement="hero"> (本專案未實作) |
Stop-Process -Name explorer -Force; Start-Process explorer
dotnet run 需要編譯 (數秒), 之後會用 %TEMP%\dotnet\runfile-build-cache 的快取Matches all tools
Hooks run on every tool call, not just specific ones
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub seanmars/my-agent-plugins --plugin notifierUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.