yichen-wechat-windows-reader

Query and export authorized plaintext WeChat SQLite snapshots read-only on Windows.

2.0k|274|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wechat-windows-reader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yichen-wechat-windows-reader
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-wechat-windows-reader
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wechat-windows-reader

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It lets you analyze an already-decrypted, user-authorized Windows WeChat (Weixin) SQLite snapshot locally without touching the running client, extracting keys, decrypting databases, or using the network, while enforcing strict safety boundaries on paths, sidecars, and output locations.

Core Features & Use Cases

  • Snapshot Validation: Verifies required databases, manifest with a canonical UUIDv4 snapshot_id, compatible Msg_<32hex> message tables, and rejects WAL/SHM/journal sidecars, symlinks, junctions, and UNC paths.
  • Chat Listing and Querying: Lists conversations with snapshot-scoped anonymous chat IDs, then runs history, keyword search, and date-range queries with row, byte, and limit budgets.
  • Markdown Export: Exports selected conversations to Markdown in a default local directory, with explicit confirmation required for external paths or overwrites.
  • Use Case: You have a checkpointed plaintext snapshot of your own WeChat data and want to search one conversation for a keyword and export it as Markdown without any risk of modifying the original data.

Quick Start

Ask the assistant to validate the snapshot at your chosen path and then list its chats using the snapshot_reader script with the --snapshot flag.

Frequently Asked Questions about yichen-wechat-windows-reader

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

FAQPage Schema
How do I read WeChat chat history from a Windows snapshot?

Run the snapshot_reader.py script with --snapshot pointing to your plaintext snapshot directory, using the validate, chats, history, search, and export subcommands. The snapshot must already be decrypted, checkpointed, and contain a valid snapshot-manifest.json.

Can this tool decrypt WeChat SQLCipher databases or extract keys?

No. The reader explicitly does not extract keys, decrypt SQLCipher databases, read process memory, recover WAL/SHM data, or inspect Weixin.exe. It only accepts an already-decrypted plaintext SQLite snapshot supplied by the user.

Does the WeChat snapshot reader work on macOS or Linux?

No. It is Windows-only: the locked dependency permits only the CPython 3.12 Windows AMD64 zstandard wheel, and the default export path uses %LOCALAPPDATA%. Installation fails closed on other interpreters or architectures.

Why does snapshot validation fail with sidecar or schema errors?

Validation fails if WAL, SHM, or journal sidecars exist, required databases or the manifest are missing, or no compatible rowid-capable Msg_<32hex> table is found. Provide a checkpointed static snapshot matching the documented schema.

What are the limitations of the Windows WeChat snapshot reader?

It is experimental and only supports schema variants covered by the validator and synthetic fixtures; broad compatibility with real Weixin 4.x databases is not established. It also caps limits at 1-5000 rows and enforces scan and decode byte budgets.