WhatsApp命令行工具

Send WhatsApp messages and manage chat history via the wacli command-line tool.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/feiji77-2/openclaw --skill whatsapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: WhatsApp命令行工具
Source: https://github.com/feiji77-2/openclaw/tree/main/skills/wacli
Command: npx skills add https://github.com/feiji77-2/openclaw --skill whatsapp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows for sending WhatsApp messages to others and managing WhatsApp chat history through a command-line interface, without interfering with regular chat routing.

Core Features & Use Cases

  • Send Messages: Initiate messages to specific contacts or groups.
  • Manage History: Search and sync WhatsApp message history.
  • Use Case: You need to send a quick update to a client on WhatsApp about a project status, or search for a past conversation about a specific topic.

Quick Start

Use the wacli skill to send a text message to +14155551212 with the message "Hello! Are you free at 3pm?".

Frequently Asked Questions about WhatsApp命令行工具

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send WhatsApp messages via command line?

You can send WhatsApp messages via command line by using a CLI tool to initiate outbound communication to specific contacts or groups. The tool requires explicit recipient details and message content, and asks for user confirmation before sending.

Can I search and sync WhatsApp chat history using a CLI?

Yes, you can search and sync WhatsApp chat history using a CLI. The tool provides functionalities for listing chats, searching past messages, and backfilling history without interfering with your regular chat routing.

How does a WhatsApp CLI handle direct and group chat JID formats?

A WhatsApp CLI handles direct and group chats by processing specific JID formats for each recipient type. You must provide the correct JID format to identify the target group or direct contact before sending a message.

Does sending WhatsApp messages through a CLI require authentication?

Yes, sending WhatsApp messages through a CLI requires authentication. The tool includes functionalities for authenticating your account and synchronizing your chat data before you can successfully send outbound messages or search history.

What are the limitations of managing WhatsApp history via command line?

Managing WhatsApp history via command line requires explicit user confirmation for outbound messages and depends on proper JID formats for direct and group chats. It does not interfere with regular chat routing but requires successful authentication and synchronization.