| name | whatsapp |
| description | Two-way WhatsApp communication โ send progress updates and receive user replies via CC-Agent group |
WhatsApp Two-Way Session Communication
Two-way WhatsApp communication with the user via the CC-Agent group.
Language: Hebrew, concise (1-3 sentences).
Setup
- Group JID: configured locally in
~/.claude/.wa-bridge.json (ccAgentGroup) โ not hardcoded
- Prefix:
[CC] on ALL your outgoing messages
- User replies: No prefix needed
- Scripts:
~/.claude/skills/whatsapp/send.js and listen.js
Sending Messages
node ~/.claude/skills/whatsapp/send.js "[CC] MESSAGE"
ALWAYS use run_in_background: true for progress updates โ saves a full context round-trip.
Batching โ Combine Multiple Updates
Do NOT send 3 separate messages for 3 updates. Combine them into ONE send with \n separators:
node ~/.claude/skills/whatsapp/send.js "[CC] ืฉืื 1 ืืืฉืื\nืฉืื 2 ืืืฉืื\nืฉืื 3 ืืืืฆืืข"
Rule: max 1 send call per major milestone. Accumulate updates mentally and batch them.
RTL/BiDi Rules (CRITICAL โ WhatsApp Rendering)
WhatsApp renders mixed Hebrew+English text using BiDi algorithm. Mixing directions on the same line produces UNREADABLE garbage. Follow these rules strictly:
- Hebrew text MUST be right-aligned. The send.js script auto-prepends U+200F (RTL Mark) to Hebrew lines, forcing right-alignment even when mixed characters are present.
- NEVER mix Hebrew and English on the same line. Put English terms (function names, file names, error codes) on their own separate line.
- NO emojis โ emojis in mixed-direction text cause additional rendering chaos.
- NO markdown syntax โ no backticks, no
**bold**, no ## headers. The send.js script strips these automatically, but avoid them in the source message too.
- NO special characters mixed with text โ avoid
(), {}, [], : adjacent to Hebrew words. Use a dedicated line for technical details.
- Keep lines either FULLY Hebrew or FULLY English. Never alternate within a single line.
- Use plain Hebrew โ short, clear sentences. Translate technical concepts to Hebrew where possible.
BAD (causes BiDi chaos):
"[CC] ืืฆืืชื ืฉืืืื: agentProcessing is not defined ืื ืื ai_response"
GOOD (clean rendering):
"[CC] ืืฆืืชื ืฉืืืื ืืชืืืื\nืฉื ืืฉืืืื\nagentProcessing is not defined\nืืฉืืืื ืงืืจื ืื ืื ืฉื ืชืืืืช ืืืื ื ืืืืืืืชืืช"
Translation guide for common terms:
- flow โ ืชืืืื
- node โ ื ืื / ืฆืืืช
- trigger โ ืืจืืืจ
- agent โ ืกืืื
- enrichment โ ืืขืฉืจื
- error โ ืฉืืืื
- container โ ืงืื ืืืื ืจ
- bug / fix โ ืืื / ืชืืงืื
- KB (Knowledge Base) โ ืืกืืก ืืืข
Receiving Replies
- Send question (background):
node ~/.claude/skills/whatsapp/send.js "[CC] ืฉืืื: ..."
- Listen (foreground,
timeout: 120000):
node ~/.claude/skills/whatsapp/listen.js
Exit 0 = reply on stdout. Exit 2 = timeout โ ask in Claude Code chat.
When to Send (max 4 messages per session)
- Session start:
"[CC] ืืชืืืชื ืืขืืื ืขื ืื ืืฉื"
- Mid-session batch:
"[CC] ืฉืื 1 ืืืฉืื\nืฉืื 2 ืืืฉืื\nืฉืื 3 ืืืืฆืืข"
- Question (if needed):
"[CC] ืฉืืื: ..."
- Task complete:
"[CC] ืืืฉืื\nืกืืืื ืงืฆืจ ืืื"
Rules
- Max ~4 messages per session โ batch aggressively
- ALWAYS
run_in_background: true for sends (saves full context round-trip)
- Questions: foreground listen,
timeout: 120000
- Never send secrets. Hebrew only. 1-3 sentences per update.
- STRICT BiDi compliance โ see RTL/BiDi Rules section above
First Action
node ~/.claude/skills/whatsapp/send.js "[CC] ืขืืืื ื ืืชืงืืืืช ืคืขืืืื. ืืื ืืขื ืืช ืฉืื ืืืืขื ืืงืืืฆื."