mh-wacli
by mohdalhashemi98-hue
Search & ResearchBrief
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Description
What This Skill Does
wacli is a CLI tool for sending WhatsApp messages to third parties and searching or syncing WhatsApp message history. It operates outside the normal OpenClaw chat flow and is intended for agent-initiated outreach or message lookups.
Enables agents to programmatically send WhatsApp messages and query history without requiring manual phone interaction.
When to Use It
- Send a WhatsApp message to a client with a meeting confirmation
- Search past WhatsApp conversations for a specific invoice or document
- Backfill message history from a group chat
- Send a PDF file attachment to a contact via WhatsApp
- Find a contact's JID to use in automated message workflows
Example Workflow
User asks: Send the agenda PDF to +14155551212 on WhatsApp
- 1
Confirm recipient number and file path with user before sending
- 2
Run
wacli send file --to "+14155551212" --file /path/agenda.pdf --caption "Agenda" - 3
Check command output for delivery confirmation
- 4
Report result back to user
File sent successfully to +14155551212 via WhatsApp
Requirements
- wacli installed via brew or go
- WhatsApp account authenticated via `wacli auth` QR login
- Phone must be online for history backfill operations
Installation
clawhub install mohdalhashemi98-hue/mh-wacliRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.