Claude Skill
openclaw/wacli
Wacli is an open-source WhatsApp CLI built with Go. Send and receive messages from the terminal, automate workflows, and integrate WhatsApp into scripts. Lightweight and cross-platform.
Overview
Repository
Install this Skill
git clone https://github.com/openclaw/wacli.gitRegistry
git clone https://github.com/openclaw/wacli.gitdocker run --rm -it -v "$PWD/.wacli:/data" wacli authdocker run --rm -v "$PWD/.wacli:/data" wacli sync --follow
Summary
Wacli is a command-line interface for WhatsApp, built with Go. It enables users to send and receive WhatsApp messages directly from the terminal, offering a lightweight and scriptable alternative to the official GUI client.
WhatsApp 命令行界面
Key features
- Send and receive WhatsApp messages from the terminal
- Built with Go for cross-platform compatibility
- Lightweight and resource-efficient
- Supports scripting and automation workflows
- Open source with active community development
Use cases
- Automate WhatsApp notifications for system alerts
- Integrate WhatsApp messaging into CI/CD pipelines
- Build custom chatbots or message relay tools
- Manage WhatsApp communication via SSH on remote servers
- Log and archive WhatsApp conversations programmatically
README excerpt
# 🗃️ wacli — WhatsApp CLI: sync, search, send  A scriptable WhatsApp client built on [`whatsmeow`](https://github.com/tulir/whatsmeow). Pairs as a linked WhatsApp Web device, mirrors your messages into a local SQLite store, and gives you offline search, sending, and chat/group/contact management from the command line. > Third-party tool. Uses the WhatsApp Web protocol via `whatsmeow`. Not affiliated with WhatsApp. Full documentation: **<https://wacli.sh>** ## Features - **Auth + sync** — QR pairing, one-shot or follow-mode sync, optional media downloads, optional signed webhook fan-out. - **Offline message store** — SQLite with FTS5 search (LIKE fallback), filterable by chat, sender, direction, time, and media type, with status broadcasts stored separately. - **Sending** — text with mentions/replies/link-previews, files (image/video/audio/document, ≤100 MiB), stickers, voice notes, reactions, and status broadcasts; rapid-send guardrails and retry-receipt grace. - **History backfill** — best-effort per-chat requests to your primary device for older messages. - **Contacts / chats / groups / channels / profile** — search, alias, tag, archive, pin, mute, mark-read, rename, prune, manage participants and invite links, send to channels, and manage profile metadata. - **Diagnostics + safety** — `doctor`, read-only mode, store locks with owner reporting, panic recovery, bounded media queue, owner-only DB perms. - **Scriptable** — `--json` everywhere, `--events` NDJSON lifecycle stream, deterministic exit codes. ## Install ### Homebrew (recommended) ```bash brew install openclaw/tap/wacli ``` If a Linux install reports `Binary was compiled with 'CGO_ENABLED=0'`, run `brew update && brew reinstall openclaw/tap/wacli`. ### B