Xpersona
N

Notification System

CLAWHUB · Unverified

Manage outbound notifications across WhatsApp, Telegram, email. Handle templates, scheduling, delivery tracking, rate limiting. Skill: Notification System Owner: engibarian Summary: Manage outbound notifications across WhatsApp, Telegram, email. Handle templates, scheduling, delivery tracking, rate limiting. Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-05T21:15:23.123Z | auto - Updated the pending notifications queue (queue/pending.json) - No changes to documentation or logic; underlying notification system and usage remain the same v

62
Rank
84
Safety
959
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 959 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172yyt5h1bd6c7qff824yhk3583n6k0:notification-system
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-engibarian-notification-system/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

32,863 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: notification-system
description: Manage outbound notifications across WhatsApp, Telegram, email. Handle templates, scheduling, delivery tracking, rate limiting.
---

# Notification System Agent

Centralized outbound notification management for all channels (WhatsApp, Telegram, email).

## Architecture

```
notification-system/
├── SKILL.md              # This file
├── templates/            # Message templates by channel & type
│   ├── whatsapp/         # WhatsApp templates
│   ├── telegram/         # Telegram templates
│   └── email/            # Email templates
├── queue/                # Pending notification queue
├── logs/                 # Delivery logs
├── rate-limiters.json    # Rate limit configuration
└── config/               # Channel configs
```

## Supported Channels

| Channel | Config | Rate Limits |
|---------|--------|-------------|
| WhatsApp | `channels.whatsapp` | 60 msg/min, 1000/day |
| Telegram | `channels.telegram` | 30 msg/sec, 20 msg/min |
| Email (Outlook) | `office365-connector` | 30 msg/hour, 300/day |

## Rate Limiting

Default limits per channel:
- **WhatsApp**: 1 message/second (safety), burst of 5
- **Telegram**: 30 messages/second hard limit from API
- **Email**: 60 emails/hour to prevent spam flags

Rate limit config: `notification-system/rate-limiters.json`

## Template Variables

All templates support:
```
{{recipient}}     - Target name/ID
{{date}}           - Current date
{{time}}           - Current time
{{subject}}        - Message subject
{{body}}           - Message body
{{cta_url}}        - Call-to-action link
{{sender_name}}    - Business/sender name
{{company}}        - Company name
```

## Sending a Notification

### WhatsApp
```bash
# Via message tool
message send --channel whatsapp --target "+18184389562" --message "Your appointment is confirmed for {{date}}"
```

### Telegram
```bash
# Via message tool
message send --channel telegram --target "655641853" --message "System alert: {{subject}}"
```

### Email
```bash
# Via outlook skill
outlook send --to "recipient@email.com" --subject "{{subject}}" --body "{{body}}"
```

## Queue System

Notifications are queued in `notification-system/queue/pending.json`:

```json
{
  "id": "uuid",
  "channel": "whatsapp|telegram|email",
  "target": "recipient-id",
  "template": "template-name",
  "variables": {},
  "scheduled_at": "ISO8601 or null",
  "created_at": "ISO8601",
  "priority": "high|normal|low",
  "status": "pending|sent|failed|delivered",
  "attempts": 0,
  "last_error": null
}
```

## Scheduling

Scheduled notifications stored in `notification-system/queue/scheduled.json` with cron-like scheduling.

Use cron jobs with `notification-system/process-queue.js` to process scheduled items.

## Delivery Tracking

Logs stored in `notification-system/logs/delivery-YYYY-MM-DD.json`:

```json
{
  "id": "notification-uuid",
  "timestamp": "ISO8601",
  "channel": "whatsapp",
  "target": "+1...",
  "template": "appointment-confirm",
  "status": "delivere

README.md

# Notification System

Centralized outbound notification management for Edgar's AI operating system.

## Quick Start

### Send a notification immediately

```powershell
.\quick-notify.ps1 -Channel whatsapp -Target "+18184389562" -Template status-update -Variables @{recipient_name="Edgar"; status_text="System check complete"} -SendNow
```

### Schedule a notification

```powershell
.\quick-notify.ps1 -Channel telegram -Target "655641853" -Template system-alert -Variables @{subject="Reminder"; message="Check the system"} -ScheduledAt "2026-03-25 09:00"
```

### Process the queue

```powershell
.\process-queue.ps1 -DryRun  # Preview
.\process-queue.ps1          # Execute
```

### View stats

```powershell
.\get-stats.ps1
```

## Directory Structure

```
notification-system/
├── SKILL.md                    # This documentation
├── README.md                   # Quick reference
├── rate-limiters.json          # Rate limit configuration
├── quick-notify.ps1            # Quick notification sender
├── process-queue.ps1           # Queue processor
├── get-stats.ps1               # Statistics viewer
├── templates/
│   ├── whatsapp/              # WhatsApp templates
│   ├── telegram/               # Telegram templates
│   └── email/                  # Email templates
├── queue/
│   └── pending.json            # Pending & scheduled queue
└── logs/
    └── delivery-YYYY-MM-DD.json # Daily delivery logs
```

## Available Templates

### WhatsApp
- `appointment-confirm` - Appointment confirmation
- `appointment-reminder` - Appointment reminder
- `payment-received` - Payment confirmation
- `status-update` - Generic status update
- `broadcast-promotion` - Marketing broadcast
- `support-acknowledged` - Support ticket acknowledgment

### Telegram
- `system-alert` - System alerts (HTML/Markdown)
- `status-report` - Status reports
- `daily-brief` - Daily briefings
- `broadcast` - General broadcasts

### Email
- `invoice` - Invoice with table formatting
- `welcome` - Welcome email with next steps
- `notification` - Generic notification

## Variables

All templates support these variables:
- `{{recipient_name}}` - Recipient's name
- `{{date}}` / `{{time}}` - Current date/time
- `{{subject}}` - Message subject
- `{{message}}` - Message body
- `{{cta_url}}` - Call-to-action link
- `{{sender_name}}` - Sender name
- `{{company}}` - Company name
- Template-specific variables (see individual template files)

## Rate Limits

| Channel | Per Second | Per Minute | Per Hour | Per Day |
|---------|------------|------------|----------|---------|
| WhatsApp | 1 | 30 | 500 | 2000 |
| Telegram | 30 | 20 | 300 | 3000 |
| Email | - | 1 | 30 | 300 |

**Quiet Hours**: 10 PM - 8 AM (notifications queued, not sent)

## Delivery Tracking

Logs are stored in `logs/delivery-YYYY-MM-DD.json` with:
- Notification ID
- Timestamp
- Channel & target
- Template used
- Delivery status
- Latency (ms)
- Error details (if failed)

## Status Commands

```powershell
# Check queue depth and today's stats
Ge

_meta.json

{
  "ownerId": "kn74666h3p4raf7e9a0xrc6hxd81mt9y",
  "slug": "notification-system",
  "version": "1.0.1",
  "publishedAt": 1775423723123
}

skill-card.md

## Description:

Manage outbound notifications across WhatsApp, Telegram, and email with templates, scheduling, delivery tracking, and rate limiting.

This skill is ready for commercial/non-commercial use.

## Publisher:

[engibarian](https://clawhub.ai/user/engibarian)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to manage outbound WhatsApp, Telegram, and email notifications with reusable templates, scheduling, delivery tracking, and rate limiting.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can produce instructions and templates for real outbound messages.

Mitigation: Review before installing in any environment that can send messages and require explicit operator confirmation for sends and broadcasts.

Risk: Example recipients, caller-supplied links, and high-priority sends can create misuse or delivery-abuse paths.

Mitigation: Replace example recipients with placeholders, validate or generate links server-side, and restrict high-priority use with authorization and bounded quotas.

Risk: Delivery logs and opt-out handling can create privacy or consent risk.

Mitigation: Protect or minimize delivery logs and enforce consent and opt-outs before sending.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/engibarian/skills/notification-system)
- [Skill definition](artifact/SKILL.md)
- [Template index](artifact/templates/index.json)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown templates, JSON queue and rate-limit configuration, and command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Includes channel-specific templates, pending queue data, rate limits, and delivery tracking guidance.]

## Skill Version(s):

1.0.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

templates/email/invoice.md

---
name: Invoice
type: notification
channel: email
priority: high
---
Subject: Invoice {{invoice_number}} from {{sender_name}}

---

<html>
<body style="font-family: Arial, sans-serif; max-width: 600px; margin: 0 auto;">
  <h2>Invoice {{invoice_number}}</h2>
  
  <p>Dear {{recipient_name}},</p>
  
  <p>Thank you for your business. Please find your invoice details below:</p>
  
  <table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
    <tr>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;"><strong>Invoice Number:</strong></td>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;">{{invoice_number}}</td>
    </tr>
    <tr>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;"><strong>Date:</strong></td>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;">{{date}}</td>
    </tr>
    <tr>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;"><strong>Due Date:</strong></td>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;">{{due_date}}</td>
    </tr>
    <tr>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;"><strong>Amount Due:</strong></td>
      <td style="padding: 10px; border-bottom: 1px solid #ddd;"><strong>${{amount}}</strong></td>
    </tr>
  </table>
  
  {{#if line_items}}
  <table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
    <tr style="background: #f5f5f5;">
      <th style="padding: 10px; text-align: left;">Item</th>
      <th style="padding: 10px; text-align: right;">Amount</th>
    </tr>
    {{#each line_items}}
    <tr>
      <td style="padding: 10px;">{{description}}</td>
      <td style="padding: 10px; text-align: right;">${{amount}}</td>
    </tr>
    {{/each}}
    <tr style="border-top: 2px solid #333;">
      <td style="padding: 10px;"><strong>Total</strong></td>
      <td style="padding: 10px; text-align: right;"><strong>${{total}}</strong></td>
    </tr>
  </table>
  {{/if}}
  
  {{#if payment_url}}
  <p style="text-align: center; margin: 30px 0;">
    <a href="{{payment_url}}" style="background: #007bff; color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px;">Pay Now</a>
  </p>
  {{/if}}
  
  <p>If you have any questions, please don't hesitate to contact us.</p>
  
  <p>Best regards,<br>{{sender_name}}</p>
  
  <hr style="margin-top: 30px;">
  <p style="font-size: 12px; color: #666;">
    To unsubscribe from these emails, please contact us or click <a href="{{unsubscribe_url}}">here</a>.
  </p>
</body>
</html>

Sponsored

Ads related to Notification System and adjacent AI workflows.