Wacli

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

bighardperson Updated

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.

bighardperson/computer-science-skills-collection/tree/main/skills/wacli commit 9f66101b7f

Frequently asked questions

npx skillmds@latest add bighardperson/wacli