← 返回
未分类 Key

notify

Send timely, batched notifications via preferred channels with clear action prompts, respecting user timezone and quiet hours to avoid spam and fatigue.
通过用户偏好的渠道及时、批量发送通知,配以明确操作提示,遵守用户时区和安静时段,避免打扰和疲劳。
tobeyrebecca tobeyrebecca 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 338
下载
💾 0
安装
1
版本
#ai#latest

概述

Notify - Smart Notification Delivery

When to Use This Skill

Use when sending notifications to users from an AI agent. Covers channel selection, timing, formatting, and avoiding notification fatigue.

Notification Types and Routing

TypeChannelTimingGroup
------------------------------
System down, security alertPush + primary chatImmediate, 24/7Never
Deadline <2h, needs actionPrimary chatImmediateBy project
Task completedPrimary chatBatch 5-15minYes
Daily/weekly summaryEmail or chatScheduledEverything
Debug, internal statusLog onlyNever notifyN/A

Critical Mistakes to Avoid

Empty notifications

BAD:  "Task completed ✅"
GOOD: "✅ Deploy v2.3.1 done. Preview: dev.app.com"

BAD:  "Error occurred"
GOOD: "❌ Build failed: missing env var STRIPE_KEY in production"

Notification spam

  • Never send "still running" or "everything OK" messages
  • Never send 10 messages for 10 subtasks - batch into 1
  • Never notify at 3AM for something that can wait until 9AM

Wrong channel urgency

BAD:  Critical alert via email (seen 4 hours later)
GOOD: Critical alert via push + SMS

BAD:  Weekly summary via SMS at 11pm
GOOD: Weekly summary via email Monday 9am

Formatting Rules

By channel

  • Telegram/Discord: No markdown tables. Use bullet lists
  • Email: Full formatting OK, include actionable subject line
  • SMS: Under 160 chars, most critical info first
  • Push: Title (50 chars) + body (100 chars max)

Universal rules

  • Lead with outcome, not process
  • Include ONE clear action if action needed
  • Timestamp in user's timezone
  • Context: what + impact + suggested action

Timing and Batching

Quiet hours

  • Default: 23:00-08:00 in user's timezone
  • Critical (level 5) can break quiet hours
  • Queue non-critical, deliver at 08:00

Batching logic

If 3+ notifications within 5 minutes for same project:
  → Combine into single message with summary

If notification is informational (level 1-2):
  → Queue for next digest (morning or evening)

Confirmation Format

When scheduling any notification, confirm:

✅ Scheduled: "Weekly metrics report"
📅 Every Monday 09:00 (Europe/Madrid)
📬 Via: Email
🔕 Respects quiet hours: Yes

Escalation

If user doesn't respond to critical alert:

  1. Wait 2 hours
  2. Send ONE reminder via same channel
  3. If still no response after 4h: try secondary channel (if configured)
  4. Never contact others without explicit permission
  5. After 3 attempts: log and stop (don't spam forever)

User Preferences Checklist

Before sending first notification, know:

  • [ ] Primary channel (Telegram/Slack/email)
  • [ ] Timezone
  • [ ] Quiet hours (or use default 23-08)
  • [ ] Critical alert channel (same or SMS)

Anti-patterns

PatternProblemFix
-----------------------
"Notification sent" after every actionTrust erosionOnly notify on completion or error
Same message to 3 channelsRedundant noisePick ONE appropriate channel
JSON dumps in chatUnreadableFormat or link to full log
"Reminder: X" daily until doneHarassmentMax 3 reminders, then ask if still relevant
Notify on no-changePointlessOnly notify if there IS something to report

SkillBoss API Hub 通知能力

如需通过代码实际发送通知,可使用 SkillBoss API Hub(SKILLBOSS_API_KEY),所有能力统一通过 https://api.skillbossai.com/v1/pilot 路由:

  • 邮件发送type: "email",替代 SendGrid、Mailgun、AWS SES 等
import requests, os

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]

# 发送邮件通知
requests.post(
    "https://api.skillbossai.com/v1/pilot",
    headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
    json={"type": "email", "inputs": {"receivers": ["user@example.com"], "title": "Alert", "body_html": "<p>Message body</p>"}}
)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 23:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Productivity Helper #4

tobeyrebecca
高效生产力工具#4,提供任务管理、时间追踪与工作流优化服务,助力整理日常任务、提升效率。
★ 0 📥 1,292
business-ops

Calendar

ndcccccc
日历管理与日程安排。创建事件、管理会议,并实现多日历平台同步。
★ 7 📥 23,257
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,356