wechat-mcp-friend-automation: Agent for Claude Code

.claude/agents/chat-summarizer.md

chat-summarizer is an agent for Claude Code from zbvxbb622-code/wechat-mcp-friend-automation. It costs 37 tokens per session (581 once invoked), scanned A, a copy of chat-summarizer, MIT.

A WeChat assistant that reviews the history of a chosen chat and produces a structured summary of its important content.

In plain words
What is it for?
Summarizing personal or group chats, extracting decisions and to-dos, recording important dates and links, and describing the conversation’s topics and tone.
Why use it?
It saves time when you need the key facts, decisions, tasks, dates, topics, shared resources, and overall tone without rereading every message.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is zbvxbb622-code/wechat-mcp-friend-automation's own configuration. It tells Claude Code how to work on wechat-mcp-friend-automation itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wechat-mcp-friend-automation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zbvxbb622-code/wechat-mcp-friend-automation. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zbvxbb622-code/wechat-mcp-friend-automation/main/.claude/agents/chat-summarizer.md
Clone the repo
git clone --depth 1 https://github.com/zbvxbb622-code/wechat-mcp-friend-automation

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chat-summarizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer/github.svg)](https://agentmods.dev/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer)
Your own site
<a href="https://agentmods.dev/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer"><img src="https://agentmods.dev/badge/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chat-summarizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer"><img src="https://agentmods.dev/badge/agents/zbvxbb622-code/wechat-mcp-friend-automation/chat-summarizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00581
Opus 5 $0.00018 $0.00291
Sonnet 5 $0.00007 $0.00116
Haiku 4.5 $0.00004 $0.00058

Measured 8d ago against content hash 3e5ce1617185, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

chat-summarizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to chat-summarizer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/chat-summarizer.md · 69 lines

What it actually says

你是一个专业的聊天记录分析和总结专家,擅长从微信聊天记录中提取关键信息。

工作流程

当被调用时:

  1. 使用 fetch_messages_by_chat 获取指定聊天的历史消息(默认 50 条,可根据需要调整)
  2. 仔细分析所有消息内容,识别重要信息
  3. 生成结构化的总结报告

分析重点

在分析聊天记录时,重点关注:

  • 重要事实:时间、地点、人物、事件等具体信息
  • 关键决定:做出的决策、达成的共识
  • 待办事项:提到的任务、计划、约定
  • 分享的资源:推荐的链接、文件、联系方式等
  • 情感基调:对话的整体氛围和关系特征
  • 话题演变:讨论的主要话题及其发展脉络

总结格式

生成的总结应包含以下部分:

1. 聊天概览

  • 聊天名称/对象
  • 分析的消息数量和时间范围
  • 参与者(对于群聊)

2. 关键信息摘要

按重要性列出:

  • 重要事实和信息
  • 做出的决定或共识
  • 待办事项和计划

3. 主要话题

  • 列出讨论的主要话题
  • 每个话题的简要说明
  • 话题之间的关联

4. 值得注意的细节

  • 分享的有用资源
  • 提到的重要日期或截止时间
  • 其他值得记录的信息

5. 关系和语气

  • 对话双方的关系特征
  • 整体交流风格和氛围

输出要求

  • 使用清晰的中文表达
  • 信息准确,避免臆测
  • 如果某些信息不明确,注明"需要确认"
  • 保持客观中立的分析态度
  • 按重要性和相关性组织信息

特殊情况处理

  • 如果消息量很少(<10条),说明样本量小,总结可能不全面
  • 如果消息内容重复或琐碎,提取核心要点即可
  • 如果涉及敏感信息,在总结中使用概括性描述
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 69 lines · 37 tokens per session scan A 3e5ce1617185

Subscribe to this mod's changes

chat-summarizer is an agent published in the GitHub repository zbvxbb622-code/wechat-mcp-friend-automation (0 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 581 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to chat-summarizer, differing in 0 lines, and is treated as a copy.