archibate/dotfiles-opencode / optional-skills/send-notify
send-notify
VerifiedSend notifications to the user. TRIGGER when user says "notify me", "send notification", "alert me".
Send Notification
Environment Detection
Check which method is available:
# Linux desktop
echo $DISPLAY
# ntfy.sh remote
echo $NTFY_SH_PRIVATE_TOPIC
# macOS
uname -s
Methods
| Condition | Method |
|---|---|
$DISPLAY non-empty | Linux desktop (notify-send) |
uname -s = Darwin | macOS (terminal-notifier) |
$NTFY_SH_PRIVATE_TOPIC non-empty | Remote via ntfy.sh |
| None of the above | Fallback: write to /tmp/claude-notify |
Linux Desktop
notify-send -a "claude" -u critical "Claude" "<message>"
macOS
terminal-notifier -title "Claude" -message "<message>"
Remote via ntfy.sh
User must set up topic first:
export NTFY_SH_PRIVATE_TOPIC="your-secret-topic-name"
Send:
curl -s -d "<message>" "https://ntfy.sh/$NTFY_SH_PRIVATE_TOPIC"
Privacy: ntfy.sh topics are public. Never include sensitive data in notifications.
Fallback
echo "$(date -Iseconds): <message>" >> /tmp/claude-notify
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |