Analyze Wechat banner
Jiang59991 Jiang59991

Analyze Wechat

Development community

Description

# /analyze-wechat 分析微信聊天记录,自动完成从环境安装到生成报告的全流程。 ## 路径约定 ```bash # 自动检测:如果当前目录就是工具目录,直接使用;否则从环境变量或默认位置读取 if [ -f "$(pwd)/export_contact.py" ]; then TOOL_DIR="$(pwd)" else TOOL_DIR="${WECHAT_ANALYZER_DIR:-$HOME/.claude/wechat-analyzer}" fi DECRYPT_TOOL="${WECHAT_DECRYPT_DIR:-$HOME/Documents/wechat-db-decrypt-macos}" ``` --- ## 完整流程 ### 步骤 1:安装 Python 依赖(自动) ```bash # 使用 venv 隔离依赖,避免污染系统 Python VENV="$TOOL_DIR/.venv" if [ ! -d "$VENV" ]; then python3 -m venv "$VENV" fi source "$VENV/bin

Installation

Installs to ~/.claude/commands/jiang59991-ginger_wechat_portrait-analyze-wechat.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Jiang59991/ginger_wechat_portrait/HEAD/.claude/commands/analyze-wechat.md -o ~/.claude/commands/jiang59991-ginger_wechat_portrait-analyze-wechat.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository