← 返回 Skills 市场
Daily Summary
作者
asterisk622
· GitHub ↗
· v1.0.1
· MIT-0
327
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install daily-summary
功能描述
Automatically generate a daily learning summary including date, achievements, task status, plans, and detailed token usage statistics from Bailian API.
使用说明 (SKILL.md)
Daily Summary Skill - 每日总结技能
Version: 1.0.0 Author: xiaoding_agent
功能
自动生成每日学习总结,包含百炼接口 Token 消耗统计。
触发条件
当用户消息包含以下关键词时触发:
- "每日总结"
- "生成总结"
- "今日总结"
- "token 统计"
执行步骤
1. 获取 Token 用量
执行命令:
openclaw status --json
从输出中提取:
sessions.recent[].inputTokenssessions.recent[].outputTokenssessions.recent[].cacheReadsessions.recent[].cacheWrite
汇总所有 session 的 token 用量。
2. 生成总结文件
创建/更新 memory/YYYY-MM-DD.md,包含:
- 今日概览(日期、时间、状态)
- 主要成就(EasyClaw、Moltbook 等)
- Token 消耗统计表格
- 任务完成状态
- 明日计划
3. 输出结果
- 保存文件到
~/.openclaw/workspace/memory/YYYY-MM-DD.md - 向用户报告生成结果和 Token 消耗总量
示例输出
# 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** |
相关文件
- 脚本:
~/.openclaw/workspace/cron_daily_summary.py - 输出:
~/.openclaw/workspace/memory/YYYY-MM-DD.md
注意事项
- 确保
openclaw status --json命令可用 - Python 版本兼容性(使用 subprocess.Popen 而非 capture_output)
- JSON 解析时跳过可能的日志前缀
安全使用建议
This skill appears coherent with its stated purpose: it parses `openclaw status --json` and writes a daily summary markdown in your OpenClaw workspace. Before installing or enabling it, check: (1) Ensure you trust code that will run the local `openclaw` CLI — that command may reveal session or account details depending on its output. (2) Be aware the skill will create/modify files under ~/.openclaw/workspace/memory; review file permissions and contents. (3) The SKILL.md mentions `cron_daily_summary.py` and cron behavior, but no script is included — if you want scheduled runs, either supply/inspect your own script or ask the author for the implementation. (4) The package has no homepage or source listed; if you need stronger assurance, request the script source or a vetted upstream repo before enabling autonomous invocation.
功能分析
Type: OpenClaw Skill
Name: daily-summary
Version: 1.0.1
The skill bundle is designed to generate daily activity summaries and track token usage for the OpenClaw agent. It operates by executing the local 'openclaw status' command and writing markdown reports to a designated local workspace directory (~/.openclaw/workspace/memory/). No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or the associated metadata.
能力评估
Purpose & Capability
Name/description (daily learning summary with token stats) matches the runtime instructions: it runs `openclaw status --json` to extract token fields and writes a daily markdown file. Minor inconsistency: SKILL.md references a helper script (`~/.openclaw/workspace/cron_daily_summary.py`) and cron-related behavior that are not included in the package (no code files provided).
Instruction Scope
Instructions are narrowly scoped: run `openclaw status --json`, parse token-related fields, aggregate and save results to `~/.openclaw/workspace/memory/YYYY-MM-DD.md`, and report totals. This stays within the stated purpose, but it explicitly requires executing a local CLI and writing into the user's OpenClaw workspace; it also gives parsing/implementation hints (subprocess.Popen, skip log prefixes). It does not instruct reading other unrelated files or exfiltrating data to external endpoints.
Install Mechanism
Instruction-only skill with no install spec and no code files (aside from SKILL.md and package.json). Lowest-risk install footprint (nothing downloaded or written by an installer).
Credentials
The skill requests no environment variables or external credentials, which is appropriate. However, it will parse the output of `openclaw status --json` — depending on what that CLI prints, the command may expose session metadata or other sensitive runtime details. The skill does not declare or ask for additional secrets.
Persistence & Privilege
It does not request always: true and does not modify other skills. It will create/modify files under `~/.openclaw/workspace` (memory file and references a cron script path). Writing files to the user's workspace is expected for this capability but is a persistent side effect to be aware of. The referenced cron script is not provided, so automatic scheduling is not actually installed by this package.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install daily-summary - 安装完成后,直接呼叫该 Skill 的名称或使用
/daily-summary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No changes detected in this version.
- Version remains at 1.0.1 with no file or documentation updates.
- All features and instructions are unchanged from the previous release.
v1.0.0
Daily Summary Skill v1.0.0
- Automatically generates a daily study summary, including BaLian API token usage stats
- Triggered by keywords like "每日总结", "生成总结", "今日总结", or "token 统计"
- Aggregates session token usage by running the openclaw status command and parsing results
- Creates or updates a markdown summary file with daily overview, achievements, token statistics, tasks, and plans
- Reports the summary file location and total token usage to the user
元数据
常见问题
Daily Summary 是什么?
Automatically generate a daily learning summary including date, achievements, task status, plans, and detailed token usage statistics from Bailian API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 327 次。
如何安装 Daily Summary?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-summary」即可一键安装,无需额外配置。
Daily Summary 是免费的吗?
是的,Daily Summary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Daily Summary 支持哪些平台?
Daily Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily Summary?
由 asterisk622(@asterisk622)开发并维护,当前版本 v1.0.1。
推荐 Skills