wx-cli

Decrypt and query WeChat macOS encrypted databases for chat histories and contacts.

298|125|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/pandorafuture/wx-cli --skill wx-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wx-cli
Source: https://github.com/pandorafuture/wx-cli/tree/main
Command: npx skills add https://github.com/pandorafuture/wx-cli --skill wx-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Decrypts and queries WeChat macOS encrypted databases locally to expose structured chat histories, contacts, and media for AI agents.

Core Features & Use Cases

  • Decrypts WeChat databases and exposes chat history, contacts, conversations, and media for analysis.
  • Provides query, search, and timeline across all conversations with privacy filtering.
  • Agent-ready integration with REST-like endpoints and direct CLI usage for automation and workflows.

Quick Start

Launch wx-cli and perform a simple query to retrieve the most recent messages for a contact in JSON format.

Frequently Asked Questions about wx-cli

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

FAQPage Schema
How do I decrypt WeChat macOS databases locally to extract chat history?

wx-cli decrypts WeChat macOS encrypted databases locally by managing keys via KeyStore or CLI, exposing structured chat histories and contacts for AI agents.

Can I query WeChat conversations by keyword using a local command line interface?

Yes, you can query WeChat conversations by keyword using wx-cli to perform keyword searching across chats and review recent conversations with privacy filtering applied.

Does wx-cli support auto-detection of WeChat accounts on macOS?

wx-cli supports auto-detection of WeChat accounts on macOS, automatically locating and preparing the local encrypted databases for decryption and structured data querying.

What is the best way to expose WeChat chat history to an AI agent?

The best way to expose WeChat chat history to an AI agent is using wx-cli, which outputs structured JSON envelopes from decrypted local databases for direct agent integration.

How do I export WeChat media and contacts for external analysis?

You can export WeChat media and contacts for external analysis by querying the decrypted local databases through wx-cli, which outputs structured data in JSON format for automation workflows.