Send WhatsApp messages through wacli in a way that feels intentional, human, and context-aware.
wacli and report exactly what was sent.Use these commands directly:
wacli doctor
wacli auth
wacli sync --follow
wacli chats list --limit 20 --query "name or number"
wacli messages search "query" --limit 20 --chat <jid>
wacli history backfill --chat <jid> --requests 2 --count 50
wacli send text --to "+14155551212" --message "Hello! Running 10 minutes late."
wacli send file --to "+14155551212" --file /path/file.pdf --caption "Here it is"
Use --json when parsing output.
Write like a competent human using their own WhatsApp, not like support automation.
Hey, Hi, the person's name, or no greeting when the thread already has context.I hope this message finds you well unless the user asks for formal style.Avoid these failure modes:
Certainly, Kindly note, As discussed, Please do the needfulChoose the lightest tone that still achieves the goal.
Use for friends, family, and familiar contacts.
Pattern:
Example:
Hey, are you free for a quick call tomorrow evening? Need your help with one thing.
Use for coworkers, clients, recruiters, and semi-formal contacts.
Pattern:
Example:
Hi Ananya, sharing the updated deck here. If it works for you, please review slides 7 to 11 when you get a chance.
Use for nudges, payment follow-ups, scheduling, and boundary-setting.
Pattern:
Example:
Hi, following up on the invoice from 12 April. Please let me know if you need anything from my side, otherwise I’d appreciate the payment this week.
Before drafting a reply in an existing conversation, search or backfill first when any of these are true:
reply, follow up, answer them, or continue the chatSuggested sequence:
wacli chats list --query "name or number" --jsonwacli messages search "recent keyword" --chat --limit 20 --json wacli history backfill --chat --requests 2 --count 50 Require explicit confirmation before sending.
Confirm these items in one compact line when possible:
If the user already provided exact recipient and exact text and clearly asked to send it now, send it without a second stylistic review, but still restate what was sent afterward.
wacli for the user’s direct chat with OpenClaw.Run wacli doctor first.
If authenticated but not connected:
wacli sync --followIf chat lookup is weak:
Read these only when needed:
references/message-patterns.md for reusable message shapes and examplesreferences/history-workflow.md for context gathering before replying共 1 个版本