Who it is forA person with hundreds of WeChat chats who wants to focus any note-taking or review on the conversations they use most.
The problemMost chats are inactive or group noise, and it is hard to tell which ones deserve a closer look.
The outcomeA ranked list of your chats by how many messages you sent, with one-on-one chats listed first, which you can use to pick targets for a summary.
What you need first
- A Mac with Apple silicon running macOS 14 or later
- WeChat installed and running on that Mac
- Administrator access for the one-time key setup
- Homebrew, or the DMG or ZIP from the Releases page
- A coding agent such as Claude Code, Codex, or Gemini CLI, if you want agent-written notes
Steps
- Run
brew tap bojieli/greenbubbles https://github.com/bojieli/greenbubbles.git - Run
brew install bojieli/greenbubbles/greenbubbles - Run
greenbubbles chats rank - Run
greenbubbles chats rank --minimum-self-messages 25to raise the threshold (the default is 10) (inferred, check the README) - Pick the chats to pass to
greenbubbles messages list --conversation "<name>"(inferred, check the README)
Prompt for your agent
Use the greenbubbles CLI from the repo bojieli/greenbubbles to rank my chats with `greenbubbles chats rank`. Return the top 10 conversations with their names and self-message counts. Verify that one-on-one chats appear before group chats in the output.
Caveat. The ranking counts only messages you sent, so a chat you mostly read may rank low even if it matters to you.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bojieli/greenbubbles and "Rank your WeChat chats to choose which ones to review"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer