vibeinging

Wechat Persona Insight — Communication skill for Claude Code

Communication community

微信聊天记录 → 人格画像与关系洞察:本地解密、行为统计、语言模式、抢功检测、单文件 HTML 报告 Local-first personality & relationship insights from decrypted WeChat (macOS) chat history — zero network, privacy-first, agent-skill compatible.

How to install Wechat Persona Insight

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vibeinging/wechat-persona-insight and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Wechat Persona Insight does

微信聊天记录 → 人格画像与关系洞察:本地解密、行为统计、语言模式、抢功检测、单文件 HTML 报告 Local-first personality & relationship insights from decrypted WeChat (macOS) chat history — zero network, privacy-first, agent-skill compatible.

Alternatives in Communication

  • Prompts.chat — f.k.a. Awesome ChatGPT Prompts 154.3k ★
  • Qiaomu Anything To Notebooklm — Claude Skill: Multi-source content processor for NotebookLM 1.4k ★
  • Nekro Agent — NekroAgent 是一个面向多人互动场景的跨平台 Agent 框架,集 Claude Code 沙盒执行、工作区编排、长期记忆、结构化 MCP 管理与可视化控制台于一体,兼具高扩展性、多模态交互、实时状态推送和自动化 800 ★

README

WeChat Persona Insight · 微信人格洞察

**Local-first personality & relationship analysis from your decrypted WeChat chat history**

微信聊天记录 → 人格画像 · 关系复盘 · 行为模式报告 —— 全程本地、零网络请求

[![License: MIT](https://img.shields.io/badge/License-MIT-5eead4.svg)](LICENSE) [![Platform: macOS](https://img.shields.io/badge/platform-macOS-38bdf8.svg)](#) [![Python 3](https://img.shields.io/badge/python-3-a78bfa.svg)](#) [![Privacy: local-only](https://img.shields.io/badge/privacy-100%25%20local%20·%200%20network-fb923c.svg)](#隐私红线--privacy)

[功能](#-features--功能) · [快速开始](#快速开始) · [HTML 报告](#html-可视化报告) · [示例报告](#示例报告假数据) · [FAQ](#faq) · [分析纪律](#分析纪律防自嗨)


![报告截图 · 画像与结论区](docs/screenshot-hero.png)

在已解密的微信本地数据库之上做行为与语言模式分析:你是谁、你和某人是什么关系、你的性格弱点在哪里。每个结论都有**统计数字 + 聊天原文 + 出现频次**三要素支撑。

数据层(抓密钥、解密、增量刷新)由上游 [yichen-wechat-local-vault](https://github.com/mcncarl/yichen-skills/tree/main/yichen-wechat-local-vault) 提供,本项目只做"从消息到人格结论"的分析层。

✨ Features / 功能

  • 🔐 本地解密管线:frida 抓密钥 → SQLCipher 解密 → 双库合并(macOS / 微信 4.x)
  • 📊 行为统计:方向比、会话发起比(>6h 间隔)、双向回复延迟、月度关系演变
  • 🧠 语言模式扫描:答应:拒绝、付出:求助、All-in/FOMO、模糊承诺、情绪词、提问率
  • ⚖️ 关系探针:主题密度、请求:付出比、金钱往来线索、被反驳后的反应链、抢功检测(群内成果型发言 vs 私聊 48h 前驱消息交叉对照)
  • 📄 单文件 HTML 报告:深色仪表盘、周×小时热图、月度曲线、雷达图、可展开证据原文、"说人话版"结论——零外部依赖可离线归档
  • 🤖 双形态使用:作为 Agent Skill(SKILL.md,兼容 ZCode / Claude Code 等)或独立 CLI 脚本
  • 🛡️ 隐私优先:零网络请求、wxid 全量脱敏、密钥不进报告

依赖与环境

  • 上游 skillyichen-wechat-local-vault(消息访问全部通过进程内 import 其 vault_cli,本项目自身零 SQL)
  • Python 包(bootstrap 抓密钥时需要):fridafrida-toolspycryptodomezstandard
  • 平台:macOS + 微信 4.x

目录结构

wechat-persona-insight/
├── SKILL.md               # 分析流程与纪律(Agent 模式下模型读这个)
├── README.md
├── references/pitfalls.md # 数据层踩坑手册(解读数据前必读,全部实测)
├── scripts/               # bootstrap / chat_stats / pattern_scan / relation_probe / report_ui / insight_lib
├── assets/template.html   # HTML 报告模板(零外部依赖)