openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Daily Summary

Automatically generate a daily learning summary including date, achievements, task status, plans, and detailed token usage statistics from Bailian API.

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.1

统计:⭐ 0 · 124 · 2 current installs · 2 all-time installs

0

安装量(当前) 2

🛡 VirusTotal :良性 · OpenClaw :良性

Package:asterisk622/daily-summary

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's instructions and requirements are consistent with its stated purpose (generate a daily summary and token-usage report) — it runs the local openclaw CLI and writes a summary file — but there are minor unexplained details (missing referenced script and unknown origin) worth checking before install.

目的

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).

说明范围

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 unrelate…

安装机制

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).

证书

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.

持久

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.

综合结论

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…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Daily Summary」。简介:Automatically generate a daily learning summary including date, achievements, t…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/asterisk622/daily-summary/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

# Daily Summary Skill - 每日总结技能

**Version:** 1.0.0
**Author:** xiaoding_agent

## 功能
自动生成每日学习总结,包含百炼接口 Token 消耗统计。

## 触发条件
当用户消息包含以下关键词时触发:
- "每日总结"
- "生成总结"
- "今日总结"
- "token 统计"

## 执行步骤

### 1. 获取 Token 用量
执行命令:
```bash
openclaw status --json
```

从输出中提取:
- `sessions.recent[].inputTokens`
- `sessions.recent[].outputTokens`
- `sessions.recent[].cacheRead`
- `sessions.recent[].cacheWrite`

汇总所有 session 的 token 用量。

### 2. 生成总结文件
创建/更新 `memory/YYYY-MM-DD.md`,包含:
- 今日概览(日期、时间、状态)
- 主要成就(EasyClaw、Moltbook 等)
- Token 消耗统计表格
- 任务完成状态
- 明日计划

### 3. 输出结果
- 保存文件到 `~/.openclaw/workspace/memory/YYYY-MM-DD.md`
- 向用户报告生成结果和 Token 消耗总量

## 示例输出

```markdown
# 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 解析时跳过可能的日志前缀