Перейти к содержимому
TakoAPI
Назад к навыкам

universal-notify

от josunlp

Web & Frontend Development
754Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Send notifications through multiple channels with a single script.

Описание

Что делает этот навык

A shell script that sends notifications to multiple delivery channels with a unified interface. Supports ntfy.sh, Gotify, generic webhooks, email via SMTP, Telegram Bot API, and Pushover. Priority levels map consistently across all channels.

One script replaces channel-specific integrations, so switching or adding a notification channel requires only a flag change.

Когда его использовать

  • Alerting on-call when disk usage exceeds threshold
  • Notifying a team channel after a deployment completes
  • Sending email alerts from a cron job
  • Forwarding monitoring events to a self-hosted Gotify instance
  • Receiving Pushover alerts on mobile from server scripts

Пример сценария

ВВОД

User asks: notify me on Telegram when the backup script finishes

АГЕНТ
  1. 1

    Obtain Telegram bot token and chat ID

  2. 2

    Call notify.sh with --channel telegram, --bot-token, --chat-id, and --message flags

  3. 3

    Script sends HTTP request to Telegram Bot API

  4. 4

    Response confirms message delivered

ВЫВОД

Telegram message received with backup completion notice

Требования

  • Gotify server URL and token (for Gotify channel)
  • Telegram bot token and chat ID (for Telegram channel)
  • Pushover app token and user key (for Pushover channel)
  • SMTP server credentials (for email channel)

Установка

clawhub install josunlp/universal-notify

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки