Wacli

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

ahang1598 Updated 94 repo stars

File contents

wacli

Use wacli only when the user explicitly asks you to message someone on WhatsApp or to sync/search WhatsApp history.

Safety

  • Require explicit recipient + message text.
  • Confirm recipient + message before sending.

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>

Send

  • Text: wacli send text --to "+14155551212" --message "Hello!"
  • 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.

ahang1598/doubao-workbuddy-qwenwork-skills commit 3ef30d53b5

Frequently asked questions

npx get-skill add ahang1598/wacli