AgentSkillsCN

Notify

通知

SKILL.md

SpockAI Notify Skill

Name: spockai-notify Version: 0.1.0 Description: Real-time notifications via Telegram or Microsoft Teams

Commands

CommandDescriptionUsage
/notify statusShow notification status/notify status
/notify enableEnable notification type/notify enable <type>
/notify disableDisable notification type/notify disable <type>
/notify testSend test notification/notify test
/notify channelSwitch notification channel`/notify channel <telegram

Notification Types

TypeDescriptionDefault
high_priority_emailHigh-priority email receivedEnabled
calendar_reminderUpcoming calendar eventEnabled
beans_priority_1Priority 1 task detectedEnabled
samanage_new_requestNew Samanage requestDisabled
monday_updateMonday.com updateDisabled

Examples

code
# Check notification status
/notify status

# Enable calendar reminders
/notify enable calendar_reminder

# Disable Monday.com updates
/notify disable monday_update

# Send a test notification
/notify test

# Switch to Teams notifications
/notify channel teams

Configuration

json
{
  "spockai": {
    "notifications": {
      "channel": "telegram",
      "telegram": {
        "botToken": "YOUR_BOT_TOKEN",
        "chatId": "YOUR_CHAT_ID"
      },
      "teams": {
        "webhookUrl": "YOUR_WEBHOOK_URL"
      },
      "digestInterval": 5,
      "rules": [
        { "eventType": "high_priority_email", "enabled": true },
        { "eventType": "calendar_reminder", "enabled": true }
      ]
    }
  }
}

Digest Mode

Notifications are bundled into digest messages every N minutes (default: 5) to prevent notification spam. High-priority items are still delivered promptly within the digest window.

Events Received

EventSourceTriggers
email:high_priorityEmail SkillNew high-priority email
calendar:reminderCalendar SkillUpcoming appointment
beans:priority_1BEANS SkillPriority 1 task detected
services:samanageServices SkillNew Samanage request
services:mondayServices SkillMonday.com update