wacli

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

40 stars

Best use case

wacli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using wacli should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/wacli/SKILL.md --create-dirs "https://raw.githubusercontent.com/lllooollpp/clawdbot-cn/main/skills/wacli/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/wacli/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How wacli Compares

Feature / AgentwacliStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# wacli

Use `wacli` only when the user explicitly asks you to message someone else on WhatsApp or when they ask to sync/search WhatsApp history.
Do NOT use `wacli` for normal user chats; Clawdbot routes WhatsApp conversations automatically.
If the user is chatting with you on WhatsApp, you should not reach for this tool unless they ask you to contact a third party.

Safety
- Require explicit recipient + message text.
- Confirm recipient + message before sending.
- If anything is ambiguous, ask a clarifying question.

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>`
- `wacli messages search "invoice" --after 2025-01-01 --before 2025-12-31`

History backfill
- `wacli history backfill --chat <jid> --requests 2 --count 50`

Send
- Text: `wacli send text --to "+14155551212" --message "Hello! Are you free at 3pm?"`
- Group: `wacli send text --to "1234567890-123456789@g.us" --message "Running 5 min late."`
- 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 when parsing.
- Backfill requires your phone online; results are best-effort.
- WhatsApp CLI is not needed for routine user chats; it’s for messaging other people.
- JIDs: direct chats look like `<number>@s.whatsapp.net`; groups look like `<id>@g.us` (use `wacli chats list` to find).

Related Skills

mijia-control

40
from lllooollpp/clawdbot-cn

Control and monitor Xiaomi Mijia smart home devices. Use this skill when the user wants to: 1) Switch device status (on/off, brightness, etc.) 2) List available home devices 3) Run automation scenes 4) Check environmental statistics.

Smart Home & IoT

weather

40
from lllooollpp/clawdbot-cn

Get current weather and forecasts (no API key required).

voice-call

40
from lllooollpp/clawdbot-cn

Start voice calls via the Clawdbot voice-call plugin.

video-frames

40
from lllooollpp/clawdbot-cn

Extract frames or short clips from videos using ffmpeg.

```skill

40
from lllooollpp/clawdbot-cn

---

things-mac

40
from lllooollpp/clawdbot-cn

Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks Clawdbot to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

spotify-player

40
from lllooollpp/clawdbot-cn

Terminal Spotify playback/search via spogo (preferred) or spotify_player.

sonoscli

40
from lllooollpp/clawdbot-cn

Control Sonos speakers (discover/status/play/volume/group).

songsee

40
from lllooollpp/clawdbot-cn

Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.

trello

40
from lllooollpp/clawdbot-cn

Manage Trello boards, lists, and cards via the Trello REST API.

tmux

40
from lllooollpp/clawdbot-cn

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

summarize

40
from lllooollpp/clawdbot-cn

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).