Skip to main content

send-notify

Send notifications to the user. TRIGGER when user says "notify me", "send notification", "alert me".

ソース情報

リポジトリ
archibate/dotfiles-opencode
ソースの最終更新活動
2026年3月23日 03:29
検出された SKILL.md の言語
英語
スター
108
フォーク
21

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
send-notify
description
Send notifications to the user. TRIGGER when user says "notify me", "send notification", "alert me".
# Send Notification ## Environment Detection Check which method is available: ```bash # 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 ```bash notify-send -a "claude" -u critical "Claude" "<message>" ``` ### macOS ```bash terminal-notifier -title "Claude" -message "<message>" ``` ### Remote via ntfy.sh User must set up topic first: ```bash export NTFY_SH_PRIVATE_TOPIC="your-secret-topic-name" ``` Send: ```bash curl -s -d "<message>" "https://ntfy.sh/$NTFY_SH_PRIVATE_TOPIC" ``` **Privacy:** ntfy.sh topics are public. Never include sensitive data in notifications. ### Fallback ```bash echo "$(date -Iseconds): <message>" >> /tmp/claude-notify ```
GitHubで見る