AgentSkillsCN

broadcast-announcements

允许供应商向全体家长、全体教师,或特定群体发送消息。

SKILL.md
--- frontmatter
name: broadcast-announcements
description: Enables the provider to broadcast messages to all parents, all teachers, or specific groups.
metadata:
  openclaw:
    requires:
      - binary: "python3"

Broadcast Announcements (Provider Console)

Allow the provider to compose and send announcements to groups of recipients.

When This Skill Activates

Provider says something like:

  • "Send announcement to all parents..."
  • "Tell the teachers..."
  • "Broadcast to everyone..."
  • "Announce closure..."

Workflow

  1. Determine audience: all parents, all teachers, specific classroom, specific group
  2. Compose message (provider provides content, agent formats)
  3. Preview the formatted message and recipient list
  4. On confirmation: Send to all recipients via their preferred channels
bash
# Get all parents
daycarectl child list --status active
# Then for each child, get parents:
daycarectl child get --id "<child_id>"

# Get all teachers
daycarectl teacher list

# Schedule broadcast
daycarectl schedule add \
  --type "custom" \
  --target "all_parents" \
  --body "<message>" \
  --language "es" \
  --scheduled-for "now"

Audience Options

CommandScope
"all parents"Every parent of active children
"all teachers"All active teachers
"classroom [X]"Parents of children in classroom X
"everyone"All parents AND teachers

Preview Format

code
📢 Broadcast Preview

To: [audience] ([count] recipients)
Channels: [iMessage: X, WhatsApp: Y]

Message:
---
[formatted message]
---

Confirm SEND or CANCEL

Bilingual Handling

  • If audience includes both Spanish and English speakers:
    • Generate message in both languages
    • Send each recipient their preferred language version
    • Show both versions in preview