Send notify

From archibate/dotfiles-opencode · View interactive version

Send notify is an AI agent skill from the GitHub repository archibate/dotfiles-opencode. Send notifications to the user. TRIGGER when user says "notify me", "send notification", "alert me".

How to use this skill

Skill file

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
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.