Daily Report Skill
Trigger
- - Configure via OpenClaw cron to auto-execute at your preferred time
- Or manual trigger: "generate daily report"
Workflow
- 1. Load config
- Read
config/daily-report.json (workspace root)
- Fall back to defaults or prompt user if missing
- See
references/config.example.md
- 2. Collect data
- Read
memory/YYYY-MM-DD.md (today's journal)
- Read conversation logs, task status (optional)
- 3. Generate report
- Load template:
assets/template.md
- Replace variables:
{{date}},
{{time}},
{{recipient}},
{{agent_name}}
- Fill sections: work, learning, review, suggestions, evolution
- 4. Save file
- Write to INLINECODE7
- 5. Send notification
- Iterate through configured
channels
- Call corresponding message API per channel type
- Supports parallel multi-channel delivery
Configuration
Config file: config/daily-report.json (workspace root, not included in skill package)
Required fields:
- -
recipient.name - Report recipient name - INLINECODE11 - Notification channels (at least one)
- INLINECODE12 - Agent name
See references/config.example.md for details.
Template
Report template at assets/template.md
Supported variables:
- -
{{date}} - Date (YYYY-MM-DD) - INLINECODE14 - Time (HH:MM)
- INLINECODE15 - Recipient name
- INLINECODE16 - Agent name
Manual Invocation
CODEBLOCK0
Or with temporary overrides:
CODEBLOCK1
日报技能
触发方式
- - 通过 OpenClaw 定时任务配置,在您偏好的时间自动执行
- 或手动触发:生成日报
工作流程
- 1. 加载配置
- 读取 config/daily-report.json(工作区根目录)
- 若缺失则回退至默认值或提示用户
- 参见
references/config.example.md
- 2. 收集数据
- 读取 memory/YYYY-MM-DD.md(今日日志)
- 读取对话记录、任务状态(可选)
- 3. 生成报告
- 加载模板:assets/template.md
- 替换变量:{{date}}、{{time}}、{{recipient}}、{{agent_name}}
- 填充各板块:工作、学习、回顾、建议、进化
- 4. 保存文件
- 写入 memory/daily-reports/YYYY-MM-DD.md
- 5. 发送通知
- 遍历已配置的 channels
- 根据渠道类型调用对应的消息 API
- 支持多渠道并行发送
配置说明
配置文件:config/daily-report.json(工作区根目录,不包含在技能包中)
必填字段:
- - recipient.name - 报告接收人名称
- channels - 通知渠道(至少一个)
- agent_name - 智能体名称
详见 references/config.example.md。
模板
报告模板位于 assets/template.md
支持的变量:
- - {{date}} - 日期(YYYY-MM-DD)
- {{time}} - 时间(HH:MM)
- {{recipient}} - 接收人名称
- {{agent_name}} - 智能体名称
手动调用
生成日报
或带临时覆盖参数:
生成日报并发送至飞书 ou_xxx