/ss:notifyfrom ss
Fires a desktop notification with sound, supporting urgency levels (urgent/success/info) and custom title. Falls back across multiple OS notification systems.
Ships in ss. Installing the plugin adds it to Claude Code.
Sends a notification using whatever mechanism is available — convocli-notifier plugin (preferred), then notify-send (Linux libnotify), then osascript (macOS), then a terminal bell + stderr message.
Project-agnostic — works on any project regardless of installed plugins. Silent no-op only if none of the four tiers is available, which is rare.
PLUGIN_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
LIB="${PLUGIN_DIR}/lib/notify.sh"
if [ ! -f "$LIB" ]; then
echo "❌ notify.sh helper not found at $LIB" >&2
exit 2
fi
# Parse arguments
URGENCY="info"
TITLE="SpecSwarm"
MESSAGE=""
while [ $# -gt 0 ]; do
case "$1" in
--urgent) URGENCY="urgent"; shift ;;
--success) URGENCY="success"; shift ;;
--info) URGENCY="info"; shift ;;
--title) TITLE="$2"; shift 2 ;;
-h|--help)
cat <<EOF
Usage: /ss:notify [--urgent|--success|--info] [--title TITLE] [MESSAGE]
Fires a notification using the best-available channel.
Examples:
/ss:notify "P1.3 ready for review"
/ss:notify --urgent "Build broke at T012"
/ss:notify --success --title "Chunk shipped" "P1.3 merged to main"
EOF
exit 0
;;
*)
if [ -z "$MESSAGE" ]; then
MESSAGE="$1"
else
MESSAGE="$MESSAGE $1"
fi
shift
;;
esac
done
# shellcheck disable=SC1090
source "$LIB"
if ! ss_notify_available; then
echo "⚠️ No notification mechanism available. Falling back to terminal bell + stderr."
fi
if ss_notify "$URGENCY" "$TITLE" "$MESSAGE"; then
echo "🔔 Notified [${URGENCY}] ${TITLE}: ${MESSAGE}"
else
echo "(notification suppressed — debounced within last ${SS_NOTIFY_DEBOUNCE:-10}s)"
fi
The convocli-notifier plugin (when installed) already fires on every Claude Code Stop event — so you get a chime each time Claude finishes responding. That's the baseline.
/ss:notify adds semantic notifications on top: differentiated sounds for urgent/success/info, plus the ability to fire from inside a long-running workflow at a specific moment (e.g., midway through /ss:build when a strategic decision is needed).
It's also wired into the SpecSwarm runtime:
/ss:preflight automatically fires an urgent notification when overall result is FAIL/ss:build, /ss:ship will fire on completionbash plugins/ss/lib/notify.sh urgent "title" "msg"~/.claude/plugins/cache/convocli-notifier/notifier/*/scripts/play-notification.sh)
notify-send (Linux libnotify desktop banner)
-u criticalosascript (macOS native notification center)
Sosumi, success → Glass, info → PopMultiple tiers may fire concurrently — e.g., on Linux with the notifier plugin installed, you'll both hear the sound AND see a libnotify banner.
Notifications are throttled to one per 10 seconds per (urgency, title) tuple. Override per-invocation by setting SS_NOTIFY_DEBOUNCE=N in the environment before calling.
State persists at ~/.cache/specswarm/notify/. Delete that directory to reset all debounce timers.
# Default info ping
/ss:notify "P1.3 ready for review"
# Custom title
/ss:notify --title "Build complete" "P1.3 merged in 3m 42s"
# Urgent — cuts through, uses bell + critical urgency
/ss:notify --urgent "Build broke at T012 — needs Marty"
# Success — happy sound
/ss:notify --success "Tests green; ready to /ss:ship"
# Programmatic use from a script
bash $CLAUDE_PLUGIN_ROOT/lib/notify.sh urgent "Migration failed" "rollback step 3 timed out"
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
34 commands in this plugin
/analyze-qualityUser InputComprehensive codebase quality analysis with prioritized recommendations/bakeoffSpecSwarm BakeoffCalibration loop for taste-heavy choices (v7.16.0). Generates N candidate implementations/outputs, renders a side-by-side contact sheet, captures your verdict, pins the winner with a regression test, and distills the ruling into the taste model. Converts fuzzy judgment into deterministic constants./bugfixUser InputRegression-test-first bug fixing workflow with smart SpecSwarm/SpecTest integration/buildUser InputBuild a new feature from a plain-language description: spec, plan, tasks, implementation, quality score. The usual way to start new work./clarifyUser InputAssume-first gap resolution for the current feature spec (v7.13.0). Auto-fills gaps resolvable from the taste model, spec corpus, or codebase precedent — recorded as provenance-cited entries in the spec's ASSUMPTIONS section — and asks only genuine forks, batched. Reviewing assumptions is ~5× faster for a human than answering questions./completeUser InputComplete feature or bugfix workflow and merge to parent branchnpx claudepluginhub martybonacci/specswarm --plugin ssOther plugins' commands for the same job