Skip to content
Skillpedia
Email & messaging11k · #11742

wacli

What it does

This skill lets the AI send a WhatsApp message to a person you name, or search your past WhatsApp history. It is for people who want help contacting others on WhatsApp.

When to use it

  • ✓When you explicitly ask the agent to message a specific person on WhatsApp.
  • ✓When you want to search or sync your WhatsApp message history.
  • ✓When you want to send a file or agenda to a WhatsApp contact.

Skill link

https://github.com/spinabot/brigade/blob/main/skills/wacli/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/spinabot/brigade/blob/main/skills/wacli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Message Priya on WhatsApp to say I am running five minutes late, after you confirm the message with me.”

5 new skills a week. 1 minute to read.

How it works

The AI runs the wacli command line tool once you give a clear recipient and message. Before sending, it confirms both with you. It can also search chats and history after the account is synced.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

wacli

Use wacli only when the user explicitly asks you to message someone else on WhatsApp or when they ask to sync/search WhatsApp history. Do NOT use wacli for normal user chats; Brigade routes WhatsApp conversations automatically. If the user is chatting with you on WhatsApp, you should not reach for this tool unless they ask you to contact a third party.

Safety

  • Require explicit recipient + message text.
  • Confirm recipient + message before sending.
  • If anything is ambiguous, ask a clarifying question.

Auth + sync

  • wacli auth (QR login + initial sync)
  • wacli sync --follow (continuous sync)
  • wacli doctor

Find chats + messages

  • wacli chats list --limit 20 --query "name or number"
  • wacli messages search "query" --limit 20 --chat <jid>
  • wacli messages search "invoice" --after 2025-01-01 --before 2025-12-31

History backfill

  • wacli history backfill --chat <jid> --requests 2 --count 50

Send

  • Text: wacli send text --to "+14155551212" --message "Hello! Are you free at 3pm?"
  • Group: wacli send text --to "1234567890-123456789@g.us" --message "Running 5 min late."
  • File: wacli send file --to "+14155551212" --file /path/agenda.pdf --caption "Agenda"

Notes

  • Store dir: ~/.wacli (override with --store).
  • Use --json for machine-readable output when parsing.
  • Backfill requires your phone online; results are best-effort.
  • WhatsApp CLI is not needed for routine user chats; it’s for messaging other people.
  • JIDs: direct chats look like <number>@s.whatsapp.net; groups look like <id>@g.us (use wacli chats list to find).
FAQ

Will it message people without asking?

No. The skill requires an explicit recipient and message text, and it confirms both before sending.

Is it used for my normal chats with the agent?

No. Conversations with the agent on WhatsApp are routed automatically, so this tool is only for contacting others.

Do I need to log in?

Yes. You log in with a QR code first and then sync your history.

Details

Original description by the author

Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).

repo: spinabot/brigade

Popularity

GitHub stars
11k
Ranking position
#11742
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills