init
CommandInitialize notification resources and create missing shared configuration
Configure shared notification settings with revision-checked edits
> /plugin marketplace add 777genius/agent-notifications> /plugin install claude-notifications-go@claude-notifications-go
description: Configure shared notification settings with revision-checked edits disable-model-invocation: true allowed-tools: Bash, AskUserQuestion
This wizard edits the single shared configuration for Claude, Codex, and future adapters. Follow this recipe only with a runtime supporting the config commands below. Never fall back to direct full-document writes or bundle copies when a command is unavailable.
Use the adapter's recorded installation or `CLAUDE_PLUGIN_ROOT` / `PLUGIN_ROOT` to locate the installed executable and sound resources. Honor the existing `CLAUDE_NOTIFICATIONS_BIN` executable override. Select the binary for the current platform (including the native Windows `.exe`); do not run another platform's binary or scan caches for the newest version. These locations select resources only, never the user config.
Set `NOTIFICATIONS_BIN` to that verified executable, then run:
"$NOTIFICATIONS_BIN" config path --json "$NOTIFICATIONS_BIN" config inspect --json
Do not install/update automatically if unavailable: explain that a matching config-capable runtime is required, and follow [init](init.md)'s recovery guard first. No downloadable bridge release is promised.
Use the inspect snapshot, not a separately computed path. Its safe response has this shape (values below are illustrative):
{
"selection": {"path": "/absolute/selected/config.json", "source": "universal", "exists": true, "diagnostics": []},
"revision": "opaque-token",
"schemaVersion": 1,
"valid": true,
"settings": {
"desktopEnabled": true,
"desktopSound": true,
"volume": 1,
"statuses": {
"question": {"enabled": true, "desktopEnabled": true, "webhookEnabled": false}
}
}
}On failure `errorCode` may be present. Stop on invalid, inaccessible, unsupported-schema or recovery-required config; never substitute defaults or a bundle. For a genuinely missing destination, explain create-only `config init`, run it only as part of requested setup, then inspect again. Existing valid init is a no-op; invalid existing config is an error. `config init --from FILE` is explicit recovery into a missing destination only, never reset/migration.
Keep the opaque revision from the successful inspect for saving. Free-form sound/device/webhook values and unknown fields are intentionally omitted. Absence in this projection does NOT mean unset. Never serialize inspect as config, print raw config, or read raw secrets merely to populate the wizard. If raw access is truly necessary, explain why and obtain explicit user authorization first; prefer unchanged defaults and new choices.
Use AskUserQuestion to identify the settings the user wants to change. Every question defaults to **Keep unchanged**. Skipped or unanswered questions produce no operation. A request for volume and ONE status sound must yield exactly two leaf edits; every other status, channel override, webhook secret/header/payload, filter and future-agent field stays untouched.
Users may request previews at any time (“play”, “preview”, “прослушать”, “проиграть”). Resolve only a known sound resource and invoke the installed `sound-preview` with quoted arguments and `--volume 0.3`. A specifically requested volume preview may use that volume. Preview does not edit settings; never trigger hooks or webhooks as a wizard test. Offer `list-devices` for an explicitly requested audio device change.
Summarize only requested changes, redacting secret values, and confirm ambiguous choices. No answers means no write. Build a JSON patch, not an expanded Config. Example for exactly volume and question sound:
{
"set": {
"/notifications/desktop/volume": 0.7,
"/statuses/question/sound": "${AGENT_NOTIFICATIONS_ROOT}/sounds/question.mp3"
},
"remove": []
}Use JSON Pointer escaping (`~0` for `~`, `~1` for `/`) where needed. Set values are raw JSON; `null` is not deletion. `remove` contains only explicitly requested removals. No root replacement, parent-object replacement, overlapping operations or schemaVersion edit. Arrays may only be replaced as a whole when explicitly requested and supported by the CLI validator.
Create a private temporary directory with `umask 077` and `mktemp -d`, disable tracing BEFORE handling input, and write only the requested patch there. Use a JSON serializer through private input for arbitrary answers; never interpolate answers into shell code, command arguments, unquoted heredocs, or `eval`. Never show the patch if it contains credentials. On Windows e
🔔 Cross-platform smart notifications for Claude/Codex/OpenCode/Cursor/Gemini/Qoder/Pi. Desktop alerts, sounds, click-to-focus, and webhooks. macOS, Linux, and Windows.
Initialize notification resources and create missing shared configuration
Alias for settings — Configure notification sounds and settings
Alias for sounds — List available notification sounds
Check whether the Agent Office server is up and show how to start it
Add a new AI provider "$ARGUMENTS" to the OpenUsage TUI dashboard.