Introduction¶
A common practice after exporting or copying WeChat chat records is to manually scroll through pages and subjectively judge the other party’s attitude. Such methods make it difficult to quantify whether the interaction is balanced or if there is an emotional shift, let alone create structured reports while maintaining local privacy. Conversely, feeding the entire conversation into an online Large Language Model (LLM) raises concerns about the leakage of sensitive information such as phone numbers and ID card numbers.
The following is an introduction to @user_9d5a2a39/wechatanalyzer on SkillHub: it parses chat text locally, runs analyzers for MBTI, Big Five personality traits, emotion, and risk, and optionally utilizes Windows SAPI for voice interaction. The current product version bundled within the Skill package is v5.0.0, while the relationship health and voice capabilities introduced in v2.9.0 remain retained in the CLI.
What is this¶
The WeChat Chat Analysis and Prediction Tool (Coordinate @user_9d5a2a39/wechatanalyzer) is a community-released Agent Skill maintained by the SkillHub user “NextTimeForSure24”. The Skill embeds a Python-based analysis toolchain: it imports text from txt files, clipboards, or multi-platform formats, and performs local tokenization, personality and emotion inference, relationship and group chat metrics calculation, privacy scanning, and conversation prediction. It can also export reports in Markdown, CSV, and HTML formats.
SkillHub categorizes this under data-analysis, with subcategories including Data Visualization, Data Insight, and User Analysis. The tag requires_api_key=false indicates that the Skill itself does not strictly bind to a third-party API Key (configuring a Key is required only for optional LLM insights).
As of October 19, 2026, SkillHub statistics show approximately 40,000 downloads and 49 favorites. The Skill package version on the store side is 1.0.19, which coexists with the product version 5.0.0 declared within the package; after installation, the version is determined by running python scripts/main.py version.
Core Features¶
The following capabilities are derived from the SkillHub description and the internal SKILL.md, organized by version history.
Analysis and Reporting¶
- Personality and Emotion: MBTI, Big Five personality traits; jieba tokenization, negation recognition, and sarcasm detection; rolling emotional trends and turning points (v2.9.0); five-dimension relationship health scoring (v2.9.0).
- Risk and Relationship: Risk detection and grading; relationship health and scenario inference. From v5.0.0, multi-subject analysis for group chats is added (speech proportion, named relationship networks, dyadic interaction balance, etc.).
- Privacy: Local privacy scanning in v5.0.0 (10 categories of PII, bank card Luhn validation, one-click desensitization); automatic desensitization can be configured before sending to optional LLMs.
- Prediction and Deduction: Multi-layer fusion reply prediction using Rule + RAG + MiroFish + HistoryAware; deduction capabilities such as Markov chains and time patterns (wired in v4.0.0 and subsequent versions).
- AI Insights (Optional): DeepSeek / OpenAI compatible / Ollama support; disabled by default, requires configuration via environment variables or
config.json. - Export and Trends: Markdown / CSV / JSON / single-file HTML; cross-session snapshot comparison (v5.0.0
sessionsubcommand).
Data Access and Desktop Capabilities¶
- Multi-source Import: Format recognition for WeChat, Enterprise WeChat, QQ, iMessage, etc.;
analyze-v2 --pastesupports direct pasting from chat windows (v5.0.0 fixes sender misinterpretation caused by timestamps at the beginning of lines). - Desktop Capture (Windows): Clipboard monitoring, reading WeChat windows via UI Automation; MCP Server provides corresponding tools (Skill description mentions 30 MCP tools in total).
Voice Interaction (v2.9.0, Still Available)¶
Enter the conversation via python scripts/main.py voice, supporting colloquial commands for analyzing files, predictions, demos, self-checks, reports, calendars, etc. The TTS fallback chain is pyttsx3 → Windows SAPI (PowerShell System.Speech) → terminal printing; STT uses speech_recognition → SAPI dictation → text input. If no microphone is available, it automatically switches to typing; this can be disabled in the voice section of config.json (voice.enabled=false).
The Skill documentation emphasizes: MBTI, Big Five, emotion, risk, and relationship health are all heuristic estimates, and privacy scanning is regex-based identification; these cannot replace professional psychological or safety audits.
Installation and Activation¶
Installing the Skill in an Agent¶
Official installation instructions: Ask the Agent to read the SkillHub Installation Documentation and install the coordinate @user_9d5a2a39/wechatanalyzer.
If the SkillHub CLI is already installed, the Skill needs to be installed to the current Agent’s skills directory (Cursor is used as an example here):
command -v skillhub && skillhub --version
skillhub install @user_9d5a2a39/wechatanalyzer --dir ~/.cursor/skills/
Alternatively, you can download the Zip from the SkillHub page (store version 1.0.19) and extract it to the skills path recognized by your Agent. Client directories vary for Codex, Claude Code, Windsurf, etc.; refer to Section 4 of the Installation Documentation for details.
Installing Python Dependencies (Running the Analysis CLI)¶
After extracting the Skill, execute the following in the skill package root directory:
pip install -r requirements.txt
pip install -r requirements-rag.txt # Optional: for RAG predictions
python scripts/main_setup.py # One-click environment detection and configuration
Most core analysis capabilities are available without installing RAG dependencies; however, enabling RAG for the first time may require downloading embedding models (documentation states approximately 50–100MB).
The environment variable WECHAT_ANALYZER_DATA_DIR can specify the runtime data directory; vector libraries, reports, and snapshots default to the system temporary directory, ensuring relative paths are not written back into the skill package.
Typical Usage¶
After the Agent installs the Skill, it can be triggered via natural language (e.g., “Analyze WeChat chat records,” “Voice analysis”). When running the CLI directly locally, common commands are as follows.
Paste or file analysis, and export:
python scripts/main.py analyze-v2 --paste
python scripts/main.py analyze-v2 --input chat_history.txt
python scripts/main.py analyze-v2 --paste --markdown report.md --csv metrics.csv --html report.html
python scripts/main.py analyze-v2 --paste --ai --label WithThem
Cross-session comparison (v5.0.0):
python scripts/main.py session --list
python scripts/main.py session --compare
Prediction and Desktop Capture (Windows):
python scripts/main.py predict-v2 --paste
python scripts/main.py capture
python scripts/main.py capture --source clipboard --seconds 30
Voice Interaction (v2.9.0):
python scripts/main.py voice
Self-check:
python scripts/main.py doctor
python scripts/main.py demo
Scenarios and Cautions¶
Suitable for: Users who need to organize dyadic or group chat records locally, quickly view emotional trends and relationship metrics, perform desensitization checks, or export tables to Excel; scenarios where users wish to drive the same analysis workflow via voice or text on Windows.
Limitations and Pitfalls:
- Analysis quality depends on sample size and export format; if the pasted format is abnormal, use
--platform wechatto specify the platform. v5.0.0 has fixed issues regarding common WeChat copy formats. - Group chat analysis defaults to at least 3 participants; dyadic conversations should not be forced into group chat metric interpretations.
- The voice SAPI path is designed for Windows; Linux/macOS mainly rely on pyttsx3 / speech_recognition or pure text fallback.
- Desktop window capture and clipboard monitoring are Windows-specific capabilities; other systems primarily rely on file imports.
- Optional LLM insights send desensitized summaries to the configured model; users must assess compliance and Key security themselves.
- Although the SkillHub security scan result is “Safe, no risks,” it is still recommended to prioritize local rule-based analysis and manual review for sensitive chats.
Conclusion¶
@user_9d5a2a39/wechatanalyzer consolidates chat analysis, prediction, export, and (on Windows) voice entry points into a single local toolset, suitable for a rough reading of relationships and emotions under the premise of “data not leaving the machine.” For installation and details, see the SkillHub page: https://www.skillhub.cn/skills/user_9d5a2a39/wechatanalyzer ; the user-provided API entry is https://api.skillhub.cn/user_9d5a2a39/wechatanalyzer (same Skill coordinate as the store page).