Skip to main content

send-notify

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

Informações da origem

Repositório
archibate/dotfiles-opencode
Última atividade na origem
23 de março de 2026 às 03:29
Idioma detectado do SKILL.md
inglês
Estrelas
108
Forks
21

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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 ```
Ver no GitHub