comms-whatsapp
Installation
SKILL.md
wacli — WhatsApp from the CLI
wacli is a Go CLI built on the whatsmeow library. It pairs to the user's WhatsApp account as a multi-device companion (like WhatsApp Web), syncs messages to a local SQLite DB at ~/.wacli/wacli.db, and exposes commands to read, search, and send.
Repo: https://github.com/steipete/wacli · install: brew install steipete/tap/wacli.
Mental model — sync vs. read
Two distinct phases:
- Sync (
wacli sync/wacli auth --follow) connects to WhatsApp servers and writes new messages to the local DB. Runs as a long-lived process. New messages only land in the DB while sync is running. - Read (
wacli messages list/search/show,wacli chats list) queries the local DB. Fast, offline, no network. Always reads what sync has already written.
So when the user asks "what did Alice send yesterday?" — the answer comes from the local DB. If the DB is stale, the user needs to run sync first. Use wacli doctor to check state.