跳到正文
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 或你在用的任意编程智能体里。

链接