AgentStack
SKILL verified MIT Self-run

Wechat Extraction

skill-zsn2003-weixin-liaotianjilu-skill-weixin-liaotianjilu-skill · by zsn2003

Use when the user asks to extract, export, validate, read, analyze, or summarize WeChat/Weixin/微信聊天记录 from their own local device. Follow a user-authorized, local-first workflow with privacy safeguards and structured outputs.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-zsn2003-weixin-liaotianjilu-skill-weixin-liaotianjilu-skill

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Wechat Extraction? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

微信聊天记录提取(WeChat Extraction)

Help a user work with their own WeChat chat records on their own machine. This skill is an agent workflow, not a bundled decryptor. It keeps raw data local, asks for explicit scope, validates exported JSON, and turns authorized exports into useful summaries, action lists, timelines, or evidence indexes.

Scope

Use this skill for:

  • Exporting a named WeChat contact or group chat with a user-provided local

extractor.

  • Validating an existing JSON export before analysis.
  • Summarizing chats into decisions, timelines, owners, blockers, risks, and

follow-up actions.

  • Building reusable local runbooks for a user's own WeChat archive.

Do not use this skill for:

  • Accessing someone else's account or device.
  • Uploading private chat logs, database files, or key material to a third party.
  • Bulk extraction without a clear user-approved target and purpose.
  • Bypassing platform rules, legal restrictions, or device-owner consent.

Safety Rules

Before touching data, confirm the user owns or is authorized to access the device/account and ask for the smallest useful scope, such as one contact, one group, or one date range.

Never print long raw chat logs in the final answer. Summarize and point to local output files.

Treat all of the following as sensitive:

  • WeChat database files
  • decrypted database copies
  • key files, memory dumps, and all_keys.json-style outputs
  • raw JSON exports
  • media attachments, voice notes, images, and transferred files

Do not commit, publish, paste, or upload sensitive artifacts.

Generic Paths

macOS WeChat data is often under a path shaped like this:

$HOME/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files//

Use environment variables instead of hard-coded personal paths:

export WECHAT_DATA_ROOT="$HOME/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files/"
export WECHAT_EXPORT_TOOL_DIR="$HOME/tools/wechat-export"
export WECHAT_OUTPUT_DIR="$HOME/wechat-exports"

Workflow

  1. Confirm authorization and scope.

Ask for the target chat name, expected date range, and intended output. Prefer a named chat over account-wide extraction.

  1. Inspect existing exports first.

``bash find "$WECHAT_OUTPUT_DIR" -maxdepth 2 -type f \( -name '*.json' -o -name '*.jsonl' \) ``

  1. Export with the user's local tool.

This skill does not ship a decryption tool. If the user already has an authorized local extractor, run it from their machine and write output to a local directory. Keep commands tool-specific and avoid exposing keys.

Example placeholder:

``bash cd "$WECHAT_EXPORT_TOOL_DIR" python3 export_chat.py "Chat Name" "$WECHAT_OUTPUT_DIR/chat-name.json" ``

  1. Validate the export.

``bash python3 scripts/validate_export.py "$WECHAT_OUTPUT_DIR/chat-name.json" ``

  1. Analyze only the requested scope.

Useful outputs include:

  • concise summary
  • timeline by date
  • participant / role roster
  • decisions and evidence snippets
  • owner / action list
  • open questions and missing media gaps
  • source file paths for local follow-up
  1. Persist reusable work.

Put reusable notes in local docs or a project memory file. Keep raw exports out of Git unless the user explicitly creates a sanitized fixture.

Output Format

When responding to the user, include:

  • what was read or exported
  • local output path
  • number of messages and date range
  • most actionable findings
  • missing media, voice, or attachment gaps
  • clear note that raw private data stayed local

Keep the answer compact. Do not paste full private conversations.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.