Claude Skill
openclaw/wacli
Wacli 是一个基于 Go 的开源 WhatsApp 命令行工具。支持在终端中收发消息、自动化工作流,并将 WhatsApp 集成到脚本中。轻量且跨平台。
概览
仓库信息
安装这个 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
项目简介
Wacli 是一个基于 Go 语言开发的 WhatsApp 命令行界面,允许用户直接在终端中发送和接收 WhatsApp 消息,提供轻量级、可脚本化的官方图形界面替代方案。
WhatsApp CLI: sync, search, send
要点
- 在终端中发送和接收 WhatsApp 消息
- 基于 Go 语言构建,支持跨平台运行
- 轻量级,资源占用低
- 支持脚本化和自动化工作流
- 开源项目,社区活跃开发中
使用场景
- 自动化发送系统告警的 WhatsApp 通知
- 将 WhatsApp 消息集成到 CI/CD 流水线中
- 构建自定义聊天机器人或消息转发工具
- 通过 SSH 在远程服务器上管理 WhatsApp 通信
- 以编程方式记录和归档 WhatsApp 对话
README 摘要
# 🗃️ 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