微信群聊天记录日报图片生成工具。分析微信群聊天记录,结合 AI 生成内容,**最终输出为手机端分辨率的日报长图(PNG)**。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install wechat-daily-report或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install wechat-daily-report⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/wechat-daily-report/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: wechat-daily-report description: 微信群聊天记录日报图片生成工具。分析微信群聊天记录,结合 AI 生成内容,最终输出为手机端分辨率的日报长图(PNG)。 ---
1. 运行 analyze_chat.py 分析聊天记录
↓
2. AI 根据聊天文本生成内容 (ai_content.json)
↓
3. 运行 generate_report.py 生成日报图片 (.png)
> ⚠️ 最终输出是 PNG 图片,不是 HTML。确保 --output 参数使用 .png 后缀。
python scripts/analyze_chat.py <聊天记录.json> --output-stats stats.json --output-text simplified_chat.txt
输出:
stats.json - 统计数据(话唠榜、熬夜冠军、词云等)simplified_chat.txt - 全量聊天文本,供 AI 分析根据 simplified_chat.txt 和 stats.json,按 references/ai_prompt.md 中的格式生成 AI 内容,保存为 ai_content.json。
AI 需要生成的内容包括:
topics: 讨论热点(3-5 个)resources: 教程/资源分享important_messages: 重要消息dialogues: 有趣对话qas: 问答talker_profiles: 话唠成员的特点标签(常用词已由脚本统计)python scripts/generate_report.py --stats stats.json --ai-content ai_content.json --output report.png
> ✅ 输出后缀必须是 .png,使用 iPhone 14 Pro Max 分辨率 (430x932 @3x) > > 图片生成需要安装 playwright:pip install playwright && playwright install chromium
{
"meta": {
"name": "群名称",
"platform": "wechat",
"type": "group"
},
"members": [
{"platformId": "xxx", "accountName": "昵称"}
],
"messages": [
{
"sender": "platformId",
"accountName": "昵称",
"timestamp": 1234567890,
"type": 0,
"content": "消息内容"
}
]
}
消息类型 (type):
0: 纯文本(脚本和 AI 只分析此类型)1: 图片5: 动画表情99: 系统消息| 数据 | 说明 | |------|------| | 总消息数 | 所有消息计数 | | 活跃用户数 | 去重用户数 | | 时间范围 | 首尾消息时间 | | 话唠榜 TOP3 | 按发言数排序 + 常用词 | | 熬夜冠军 | 23:00-06:00 最晚活跃者 | | 词云数据 | jieba 分词 + 词频统计 |
| 内容 | 输入数据 | |------|----------| | 讨论热点 | 精简文本 + 词云 TOP50 | | 成员画像 | 精简文本中的发言 | | 有趣对话 | 高互动片段 | | 问答识别 | 问号消息 ± 上下文 | | 教程/资源 | 精简全文识别 |
pip install jieba jinja2 playwright
playwright install chromium安装 wechat daily report 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/wechat-daily-report/ 目录(个人级,所有项目可用),或 .claude/skills/wechat-daily-report/(项目级)。重启 AI 客户端后,用 /wechat-daily-report 主动调用,或让 AI 根据上下文自动发现并使用。
wechat daily report 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
wechat daily report 可免费安装使用。请查阅仓库了解许可证信息。
微信群聊天记录日报图片生成工具。分析微信群聊天记录,结合 AI 生成内容,**最终输出为手机端分辨率的日报长图(PNG)**。
wechat daily report 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。