whatsapp-group-triagelisted
Install: claude install-skill SuperGaryxu/whatsapp-group-triage
# WhatsApp Group Triage
Businesses that broadcast into many WhatsApp groups (schools, clinics, agencies) end up with
hundreds of unread badges that are 90%+ their own broadcasts. Staff waste hours clicking them away
and sometimes clear a real customer question by mistake. This skill automates the triage:
- **Pure-broadcast chats** (every unread message comes from a whitelisted sender) → marked read.
- **Chats with any non-whitelisted message** → left untouched, listed in a worklist file.
The whole scan is done through WhatsApp Web's internal data layer **without opening a single
chat**, so kept chats keep their unread badges and no read receipts are sent for them.
## Safety model (read this first)
1. **Whitelist is phone numbers, never display names.** Display names collide (two people named
"Nora" — one staff, one external teacher — happened in the field). Group senders arrive as
LIDs and must be resolved to phone numbers; see the reference doc.
2. **Classify first, act second, re-verify in between.** The scan is 100% read-only. Marking a
chat read happens only after re-checking, at mark time, that its unread messages are still all
from whitelisted numbers — a customer may have replied between scan and mark.
3. **When unsure, keep unread.** A chat that cannot be classified (messages failed to load, sender
unresolvable) goes on the worklist, never into the mark-read pile.
4. **Never send messages.** This skill only reads and toggles read/unread state.
5. *