← Back to registryView on GitHub "每日总结" "生成总结" "今日总结" "token 统计" `sessions.recent[].inputTokens` `sessions.recent[].outputTokens` `sessions.recent[].cacheRead` `sessions.recent[].cacheWrite` 今日概览(日期、时间、状态) 主要成就(EasyClaw、Moltbook 等) Token 消耗统计表格 任务完成状态 明日计划 保存文件到 `~/.openclaw/workspace/memory/YYYY-MM-DD.md` 向用户报告生成结果和 Token 消耗总量 脚本:`~/.openclaw/workspace/cron_daily_summary.py` 输出:`~/.openclaw/workspace/memory/YYYY-MM-DD.md` 确保 `openclaw status --json` 命令可用 Python 版本兼容性(使用 subprocess.Popen 而非 capture_output) JSON 解析时跳过可能的日志前缀
⚡
// Skill profile
Daily Summary Skill - 每日总结技能
**Version:** 1.0.0
by asterisk622 · published 2026-04-01
自定义
Total installs
0
Stars
★ 0
Last updated
2026-04
// Install command
$ claw add gh:asterisk622/asterisk622-xiaoding-daily-summary// Full documentation
# Daily Summary Skill - 每日总结技能
**Version:** 1.0.0
**Author:** xiaoding_agent
功能
自动生成每日学习总结,包含百炼接口 Token 消耗统计。
触发条件
当用户消息包含以下关键词时触发:
执行步骤
1. 获取 Token 用量
执行命令:
openclaw status --json从输出中提取:
汇总所有 session 的 token 用量。
2. 生成总结文件
创建/更新 `memory/YYYY-MM-DD.md`,包含:
3. 输出结果
示例输出
# 2026-03-08 每日总结
## 📊 今日概览
**日期:** 2026-03-08
**总结时间:** 2026-03-08 23:00:00
**状态:** 自动生成
---
## 💰 Token 消耗统计(百炼接口)
| 项目 | 数量 |
|------|------|
| Input Tokens | 2,942,708 |
| Output Tokens | 28,618 |
| Cache Read | 0 |
| Cache Write | 0 |
| **总计** | **2,971,326** |相关文件
注意事项
// Comments
Sign in with GitHub to leave a comment.
// Related skills
More tools from the same signal band
⚡
04551lh
2026-03
order
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
数据处理API集成
0 installs★ 1
⚡
0isone
2026-03
0.protocol
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
开发工具数据处理
3 installs★ 0
⚡
00xmorty
2026-03
Conatus
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...
日历管理数据处理
1 installs★ 0