daily-wechat-summary
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "daily-wechat-summary" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ad596870f4447ddc87c967b8d6c65249ae64075512b9fdb7ae8243297dc383cf. Verify the upstream source and version against https://skillhub.cn/skills/user_b9fef09e/daily-wechat-summary before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Daily WeChat summary: distills WeChat group messages with AI to generate a daily work report.
Introduction source: third_party · user_b9fef09e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: daily-wechat-summary
slug: daily-wechat-summary
version: 1.0.0
displayName: Daily WeChat Summary
summary: Generate daily work report from WeChat group messages with AI distillation
description: >-
Generate daily work report from WeChat group messages. Use when:
(1) scheduling a cron for daily group message digest,
(2) distilling raw WeChat group chat into a structured work report,
(3) setting up or fixing the daily-wechat-summary cron job,
(4) the user asks about daily report or "今天的日报呢".
Monitors 5 groups: SW-SJ测试沟通, 自研产品测试内部群, Femto重点项目内部群,
夜间支撑, 广州自动开站环境搭建.
tags: [wechat, daily-report, automation, work-summary]
license: MITDaily WeChat Summary
Overview
生成每日工作日报,流程分两层:
- 数据层(脚本):用
wechat-cli读本地微信数据库,拉取近 24h 原始消息 - 报告层(Agent):Agent 阅读原始数据,AI 蒸馏成结构化日报
[WeChat Desktop DB] <- wechat_cli
|
v
fetch_summary.py
-> wechat_snapshot.json (原始 JSON dump)
-> summary_result.json (含 raw_text 供 Agent 阅读)
-> logs/fetch_latest.log
|
v
Agent AI distillation -> 最终日报(announce 投递到用户微信)
Architecture
[WeChat Desktop DB] <- wechat_cli (local Python pkg)
|
v
fetch_summary.py
--format file|json|text (--format json = 原 daily_summary.py 行为)
--date YYYY-MM-DD (历史补跑)
--check (仅预检)
-> ~/.openclaw/workspace/daily-wechat-summary/
|
v
Agent distillation -> plain text daily report
|
v
Cron announce -> User's WeChat chat
Dependencies
This skill runs on Windows with:
- WeChat Desktop (logged in at least once)
- Python 3.10+ (
py -3可用,无需手动指定路径) wechat-cliPython package
预检(安装或验证):
py -3 fetch_summary.py --check
pip install wechat-cli # 如提示未安装
Configuration
配置文件位于 ~/.openclaw/workspace/daily-wechat-summary/config.json。
修改监控群列表或过滤规则:
{
"groups": ["群名1", "群名2"],
"max_messages_per_group": 200,
"exclude_keywords": ["<sysmsg", "revokemsg", "拍了拍"]
}
Scripts
scripts/fetch_summary.py(合并主脚本)
支持参数:
| 参数 | 说明 |
|---|---|
| (无参数) | 拉取近 24h,输出到 workspace 文件 |
--format file |
同上,默认值 |
--format json |
JSON 输出到 stdout(等价于原 daily_summary.py) |
--format text |
初步文本输出到 stdout(供 pipe) |
--date YYYY-MM-DD |
补跑指定日期(如 --date 2026-07-09) |
--check |
仅预检 wechat-cli 是否就绪,不抓取数据 |
输出文件(写到 ~/.openclaw/workspace/daily-wechat-summary/):
| 文件 | 内容 |
|------|------|
| summary_result.json | 完整输出(含 raw_text 供 AI 蒸馏) |
| wechat_snapshot.json | 原始消息 dump |
| config.json | 配置(自动创建默认) |
| logs/fetch_latest.log | 运行日志 |
Python API:
from scripts.fetch_summary import fetch, format_raw_dump, load_config
cfg = load_config() # 加载 config.json
data = fetch(cfg["groups"], start_ts, end_ts,
cfg["max_messages_per_group"],
make_message_filter(cfg["exclude_keywords"]))
text = format_raw_dump(data, cfg["groups"], date_label)
scripts/daily_summary.py(已废弃)
兼容保留,透明转发到 fetch_summary.py --format json。
请迁移到 fetch_summary.py。
Workflow: Generating a Daily Report
按以下步骤执行(cron 或手动均相同)。
Step 1: 拉取原始数据
py -3 C:\Users\sw\.openclaw\workspace\skills\daily-wechat-summary\scripts\fetch_summary.py
Step 2: 阅读初步文本
summary_result.json 中的 raw_text 字段即为初步汇总,Agent 阅读后自行蒸馏。
Step 3: AI 蒸馏(Agent 做)
阅读原始消息后,用 AI 蒸馏成最终日报。关注点:
- 技术决策:版本号、配置变更、协议问题
- 阻塞项:Bug、失败、反复报错、客户问题
- 行动项:计划中的会议、升级、测试请求
- 已解决:已上线修复、已解决的问题
格式:纯中文文本(无 Markdown),简洁,适合微信阅读。
Step 4: 输出报告
将最终日报作为 Agent 回复输出,delivery.mode: "announce" 自动投送。
Report Format
【SW】工作日报 | 5月9日
【群名】
- 要点1
- 要点2
...
【群名】
- 要点1
...
Cron Setup
See references/cron-config.md.
推荐配置:
- Schedule:
40 8 * * *Asia/Shanghai - Session: isolated
- Delivery: announce
- Timeout: 300s
Quick add:
openclaw cron add `
--name "daily-wechat-summary" `
--cron "40 8 * * *" `
--tz "Asia/Shanghai" `
--session isolated `
--message "生成今日微信群工作日报" `
--announce `
--timeout-seconds 300
Groups Monitored
| Group | Focus |
|---|---|
| SW-SJ测试沟通 | 5G NR基站/核心网测试, 版本发布, G.8275.2同步 |
| 自研产品测试内部群 | 分布式核心网, AMF/MME, 终端长跑 |
| Femto重点项目内部群 | Femto客户问题, L4S, 切片测试 |
| 夜间支撑 | 现网故障, 128UE长跑, coredump分析 |
| 广州自动开站环境搭建 | 自动开站, 抓包工具, 网管界面 |
修改群列表:编辑 ~/.openclaw/workspace/daily-wechat-summary/config.json 中的 groups 数组。
Troubleshooting
Script fails with import error
-> wechat-cli not installed. Run pip install wechat-cli.
preflight check fails
-> py -3 fetch_summary.py --check
No messages fetched
-> WeChat database not accessible. Open WeChat Desktop and ensure it's logged in.
-> Check logs/fetch_latest.log.
Group names don't match
-> Group names must match exactly as in WeChat.
-> Verify by checking wechat_snapshot.json — if a group shows "error", the name doesn't match.
-> Modify config.json to correct the group name.
Cron runs but nothing delivered
-> Check delivery.mode is announce, not none.
-> openclaw cron list
Script timeout
-> Increase --timeout-seconds to 300 (currently set as default).
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决微信群消息自动生成日报的高频刚需场景
- 流程完整:本地数据抓取 + AI 蒸馏 + 自动投递
- 支持多群监控与灵活配置,实用性强
Highlights
- 触发词覆盖 cron 设置、消息蒸馏、日报查询等多种场景
- 边界清晰,不易误触或漏触
Areas to improve
-
引用文件缺失 Reported severity: Minor
SKILL.md 中引用了 references/cron-config.md,但该文件未包含在 ZIP 包中
Recommendation: 请补充 references/cron-config.md 文件或移除引用链接
Highlights
- 文档结构清晰,含完整的工作流、配置说明与故障排查
- 提供端到端示例与 cron 配置指引
Highlights
- 工具依赖明确(wechat-cli),参数设计合理
- 提供预检机制与详细日志,异常处理较完善
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 70, 205
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.