yichen-wechat-local-vault

Parse and search local WeChat database snapshots on macOS and Windows without opening the client.

5.2k|2.9k|Updated Feb 11, 2026
Ready to run
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wechat-local-vault-mcncarl
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: yichen-wechat-local-vault
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-wechat-local-vault
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wechat-local-vault-mcncarl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pycryptodome, zstandard, and includes scripts (resource) and references (resource) components.

What problem does it solve? WeChat stores chat history, contacts, moments, and favorites in encrypted local databases. This Skill decrypts those databases and provides read-only access to messages, metadata, and attachments without launching WeChat or manipulating the active account. ## Core Features & Use Cases - Full Database Decryption: Extract chat records, contacts, moments, and favorites from local SQLCipher databases using captured encryption keys. - Incremental Sync: Update only new or modified messages instead of re-decrypting everything. - Unified Query Interface: Search by contact name, group ID, keyword, date range, or message type across all local data. - Workspace Export: Generate Markdown digests, group summaries, and missed-message reports for personal record-keeping. - Use Case: You want to review a week of group chat to write a summary, or extract all invoices from a contact's messages to a CSV—this Skill reads the encrypted local database without touching the running client. ## Quick Start Run decrypt_all_dbs.py --mode incremental to update the local vault, then use vault_cli.py history "contact_name" --format text to retrieve that conversation.

Frequently Asked Questions about yichen-wechat-local-vault

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

FAQPage Schema
How do I extract WeChat messages from local Mac databases?▼

Run extract_keys.py to capture SQLCipher encryption keys, then decrypt_all_dbs.py --mode full to decrypt all databases into a private vault. Use vault_cli.py history to query and export specific conversations in Markdown format.

Can I search across all WeChat chats at once?▼

Yes. Use vault_cli.py search "keyword" to find text across decrypted message tables. The search also decompresses stored content, resolves file names in links, and matches within merged forwards and attachments.

What is the difference between full and incremental decryption?▼

Full decryption processes every database; incremental only updates changed or new databases. Incremental mode skips unchanged sources, making regular refreshes much faster for personal daily workflows.

Does this Skill work with WeChat dual accounts on one Mac?▼

Yes, but account selection is explicit. Specify --targets all to capture both when extracting keys, then use account-specific config paths to decrypt and query each account separately. Default is WeChat1; microphone2 requires manual selection.

Can I export Windows WeChat data if I provide an offline snapshot?▼

Yes. Provide the plaintext database snapshot directory to vault_cli.py snapshot --snapshot /path/to/snapshot validate, then use snapshot chats and history sub-commands to query without any Windows machine or live WeChat process.

What personal data does this Skill hide by default?▼

JSON and text output hide account identifiers (username, WeChat ID) and show internal placeholders instead; use --include-identifiers to export them for local-only reconciliation. Credential fields in message XML and attachment URLs remain hidden unless explicitly shown.