wacli

Information Retrieval S+ rating

The WhatsApp command line management solution based on the open source wacli tool supports message sending, history synchronization and search, realizing enterprise-level communication automation.

OpenClaw Claude Code Cursor Codex

Usage instructions

wacli is a WhatsApp management tool Skill designed for the command line environment. It provides users with automated capabilities for sending messages, synchronizing history, and searching chat content by encapsulating the functions of the open source wacli CLI tool. The Skill itself is a pure document asset, mainly providing detailed command usage guides and safe operation specifications. The actual function execution completely relies on the wacli binary file installed locally by the user.

Core usage covers complete WhatsApp workflow management. First time use requires passingwacli authComplete QR code login and initial synchronization, and establish local data cache. In daily operations, users can usewacli sync --followStay in sync in real time, take advantage ofwacli chats listFind a contact person or viawacli messages searchAccurately retrieve historical messages based on keywords and time range. For messaging, text messaging is supported (wacli send text) and file transfer (wacli send file), which can be used for one-to-one communication (the format is<number>@s.whatsapp.net), also supports group messages (format is<id>@g.us). also,wacli history backfillFeature allows backfilling the history of a specific chat on demand.

Significant advantages lie in the balance between safety and automation capabilities. As a pure Markdown document-based skill, it does not contain any executable code and has no risk of injection vulnerabilities or system-destructive commands. All operations are completed through transparent and auditable CLI instructions. The command line interface is suitable for batch processing and script integration, and business users can integrate WhatsApp communications into existing workflows, such as automating notifications, backing up chat history, or building customer service bots. Data local storage (default~/.wacli) Ensure that sensitive information is kept offline and meets privacy compliance requirements.

Potential limitations mainly include technical thresholds and dependency risks. Users need to install and configure the wacli CLI tool by themselves (supports Homebrew or Go installation), and have a certain command line operation foundation. This Skill is clearly not suitable for general user chat scenarios and is only designed for sending messages to third parties or history management. Due to reliance on external tools, feature availability is affected by the maintenance status of the wacli project, and changes to WhatsApp's official API may cause compatibility issues. In addition, the history backfill function requires the mobile phone to remain online, and the results are best-effort and the integrity is not guaranteed.

The suitable target groups are mainly users with strong technical background and enterprise IT teams. Developers can use it to build automated notification systems, integrating WhatsApp into CI/CD processes or monitoring alerts; operations teams can use the bulk messaging function to reach customers; system administrators can use search and synchronization functions to achieve compliance backup. It is not suitable for daily chatting by ordinary end users, nor is it ideal for low-code/no-code scenarios.

Usage risks need to focus on account security and data privacy. The wacli tool requires access to complete WhatsApp account data, including chat history and contact information. Although the Skill itself does not collect data, the security of third-party tools needs to be evaluated by users themselves. The recipient number (JID) must be strictly verified before sending a message to avoid accidentally sending sensitive information. Lagging dependency updates may lead to security vulnerabilities. It is recommended to update wacli regularly through official channels (brew or go install). In addition, frequent operations may trigger WhatsApp’s anti-spam mechanism, resulting in account restrictions.

Safety review

Core usage

wacliis a Skill that wraps the WhatsApp CLI tool for sending messages to third parties or syncing/searching WhatsApp history.Not applicable to regular user-AI conversations(Clawdbot is automatically routed).

Main functions

|scene|Command example|
|------|----------|
|First time login|`wacli auth` (scan QR code)|
|Continuous sync| `wacli sync --follow` |
|Find Chat|`wacli chats list --limit 20 --query ""`|
|Search messages|`wacli messages search "" --chat <jid>`|
|Send text|`wacli send text --to "+14155551212" --message ""`|
|Send file|`wacli send file --to "..." --file /path/file.pdf --caption ""`|
|History completion| `wacli history backfill --chat <jid> --requests 2 --count 50` |

Significant advantages

  • Pure document encapsulation: Skill itself does not contain executable code and only provides standard CLI calling instructions to reduce the risk of injection.
  • Forced confirmation mechanism: The document clearly requires "explicitly specify the recipient + message content" and "confirm twice before sending" to prevent misoperations
  • Flexible query: Supports multi-dimensional retrieval of historical messages by time range, chat objects, and keywords
  • local storage: Data is saved in the default~/.wacli, user controllable

Potential Disadvantages/Limitations

  • External dependency risk: Core functions depend on independentwacliBinary tools (need to be installed via Homebrew or Go), not internal to Skill
  • Mobile phone required to be online: The history completion function requires the user's mobile phone to stay connected to the Internet, and the result is "best effort"
  • JID format threshold: The group ID format is<id>@g.us, personally<number>@s.whatsapp.net, need to pass firstchats listQuery
  • non-two-way interaction: Only supports "Send/Search" and does not handle real-time push of received messages.

Suitable for the crowd

  • needAutomatically send WhatsApp messages to third partiesof developers/automation users
  • needBack up, audit or retrieve WhatsApp historyindividuals or teams
  • Not suitable: Ordinary users who only want to chat with AI (this scenario has been automatically handled)

General risks

  • supply chain security:Wacli tool author Peter Steinberger is a well-known developer, but you still need to pay attention to upstream security notices
  • data residue~/.wacliThe directory stores chat records for a long time and needs to be cleaned manually regularly.
  • Social engineering error: Although confirmation is mandatory, users still need to carefully check the recipient number to avoid sending sensitive information by mistake.
automationcustomer-supportoperationscontent-mediamessaging

Copyright and takedown notice: AI Islands curates this page from public information. Skills, code, documents and packages remain the property of their original authors or rights holders. This listing is provided for indexing, research and installation convenience. If you believe any listing or download link infringes your rights, contact ai-islands@streamflowintel.com with proof of ownership, relevant URLs and your request. We will review and remove or adjust the content promptly. Review package permissions, dependencies and safety risks before installing.