wacli for Openclaw

A robust command-line interface for managing WhatsApp messages, syncing history, and automating third-party communications.

fianabates1
v1.0.0
Feb 5, 2026
0
2.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install test-wa

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install test-wa using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is wacli?

wacli is a specialized utility designed to empower developers and AI agents with programmatic access to WhatsApp. By utilizing this tool within the Openclaw Skills framework, agents can send text messages and files to third parties, search through existing message history, and perform deep history backfills. It is specifically built for automation and data retrieval tasks rather than standard user-to-agent chatting, making it an essential bridge for workflow automation.

This skill allows agents to operate outside the standard chat window, enabling them to reach out to specific phone numbers or group JIDs with high precision. Whether you are building an automated notification system or a research tool to analyze past conversations, wacli provides the necessary CLI infrastructure to interact with the WhatsApp protocol safely and efficiently.

wacli Use Cases

  • Sending automated alerts or reports to specific WhatsApp contacts or groups.
  • Searching through archived messages to retrieve past invoices, dates, or technical details.
  • Synchronizing chat history for offline data processing and sentiment analysis.
  • Backfilling historical conversation data to provide context for AI-driven research.
  • Programmatic file sharing, such as sending generated PDF reports directly to stakeholders.

How wacli Works

  1. Authentication is handled via a QR code login to securely link the CLI to a WhatsApp account.
  2. The agent identifies targets using the chat list command to find specific JIDs (Journal IDs) for individuals or groups.
  3. Search and filter commands are used to query the local or remote message history based on keywords or timestamps.
  4. Message sending is executed through dedicated text or file commands, requiring explicit confirmation to ensure safety.
  5. Real-time synchronization can be maintained to keep the local storage updated with the latest incoming communications.

wacli Setup

Install wacli using Homebrew or Go to start using these Openclaw Skills:

# Install via Homebrew
brew tap steipete/tap
brew install wacli

# Or install via Go
go install github.com/steipete/wacli/cmd/wacli@latest

# Authenticate your account
wacli auth

# Verify your setup
wacli doctor

wacli Data Schema & Taxonomy

The tool manages data locally and identifies recipients through specific identifiers. Below is the organizational structure:

Component Detail
Storage Directory Default data is stored in ~/.wacli (configurable via --store).
Individual JID Formatted as <number>@s.whatsapp.net.
Group JID Formatted as <id>@g.us.
Data Output Supports --json flag for machine-readable parsing by agents.
Query Filters Supports --limit, --after, and --before for precise history extraction.

wacli Advanced Features

  • Continuous synchronization using the --follow flag for real-time data ingestion.
  • Granular history backfilling with configurable request counts to manage bandwidth and rate limits.
  • Multi-format messaging support including plain text and file attachments with custom captions.
  • Comprehensive search capabilities across all chats or targeted specific threads.
  • Integration-ready JSON output to pipe WhatsApp data into other Openclaw Skills for complex automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*