baoyu-wechat-summary

Summarizes WeChat group chat history into structured digests using the wx-cli binary.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/virahitvin8/crafty-gis --skill baoyu-wechat-summary-virahitvin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-wechat-summary
Source: https://github.com/virahitvin8/crafty-gis/tree/main/GIT_STAR/assignment-generator/antigravity-skills-main/antigravity-skills-main/skills/baoyu-wechat-summary
Command: npx skills add https://github.com/virahitvin8/crafty-gis --skill baoyu-wechat-summary-virahitvin8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wx-cli, and includes references (resource) components.

What problem does it solve? Turning hundreds of scattered WeChat group messages into a readable recap is tedious and easy to get wrong. This Skill fetches group chat history via the local wx-cli binary and produces a structured digest with statistics, speaker leaderboards, member portraits, and categorized topic summaries, while maintaining per-group history and per-user profiles across runs. ## Core Features & Use Cases - Structured Group Digests: Generates a normal digest with message statistics, a top-10 leaderboard, member portraits, and topic-categorized body, plus an optional sarcastic roast (毒舌) variant. - Incremental History Tracking: Maintains history.json and an append-only history-digests.jsonl per group so follow-up runs only cover new messages since the last digest. - Persistent User Profiles: Builds and updates per-member profile files (normal and roast variants) with role tags, quotes, and signature events, with privacy guardrails baked in. - Use Case: Ask to summarize what a WeChat group discussed over the past week; the Skill resolves the group, fetches messages with wx history, and writes a dated digest file plus updated member profiles. ## Quick Start Summarize what the group named 相亲相爱一家人 discussed over the last 7 days and save the digest.

Frequently Asked Questions about baoyu-wechat-summary

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

FAQPage Schema
How do I summarize a WeChat group chat with wx-cli?

Ask for a digest with a group name and time range, such as the last 7 days. The Skill resolves the group via wx contacts, fetches messages with wx history --since/--until --json, and writes a dated digest file with statistics, portraits, and categorized topics.

What is the roast version of a group chat digest?

The roast version is an opt-in sarcastic rewrite of the normal digest, triggered by keywords like 毒舌 or roast. It adds biting commentary to the leaderboard and portraits while following strict red lines against personal attacks on appearance, health, or family.

Does this WeChat summary skill work without wx-cli installed?

No, the wx-cli binary is a hard prerequisite and the Skill will not auto-install it. You must install it yourself, run wx init while WeChat 4.x is running, and ensure ~/.wx-cli is owned by your user before any digest can be generated.

Why does wx history return nothing or hang?

Common causes are a stuck daemon, stale keys after a WeChat restart, or ~/.wx-cli owned by root from a legacy sudo init. Restart the daemon with wx daemon stop && wx daemon start, or run wx init --force while WeChat is running.

Can the digest include image content from the chat?

No, wx-cli does not decode chat images, so images appear as opaque placeholders. The Skill supports an extension point where one-line descriptions placed in imgs/{message_id}.txt are woven into the relevant topic.

How does incremental summarization avoid re-covering old messages?

Each run records last_message_time in the group's history.json file. On the next run without an explicit time range, messages at or before that timestamp are dropped, so only new activity is summarized.