← 返回 Skills 市场
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ithrael-daily-digest
功能描述
每日摘要生成技能。扫描当前工作目录下的所有 .md 文件,生成结构化摘要报告。触发词:"生成今日摘要"、"daily digest"、"生成摘要报告"、"汇总 markdown 文件"。
使用说明 (SKILL.md)
Daily Digest - 每日摘要生成
功能概述
本技能用于扫描当前工作目录(或指定目录)下的所有 .md 文件,自动生成一份结构化的摘要报告,包含文件清单、标题、章节结构、字数统计等信息。
触发场景
当用户表达以下意图时使用本技能:
- "生成今日摘要"
- "帮我汇总今天的 markdown 文件"
- "生成每日报告"
- "daily digest"
- "汇总当前目录的 .md 文件"
- "看看今天写了哪些文档"
使用方法
基础用法(扫描当前目录)
python3 {baseDir}/scripts/generate_digest.py
指定目录
python3 {baseDir}/scripts/generate_digest.py /path/to/directory
输出到文件
python3 {baseDir}/scripts/generate_digest.py > daily-digest-$(date +%Y-%m-%d).md
输出格式
生成的摘要报告包含以下部分:
-
报告头信息
- 生成时间
- 扫描目录
- 文件总数
-
文件清单
- 每个 .md 文件的标题(提取自一级标题)
- 字数统计
- 章节列表(提取自二级标题)
-
统计汇总
- 总文件数
- 总字数
- 平均字数
示例输出
# 📋 今日摘要报告
**生成时间**: 2026-05-25 19:00:00
**扫描目录**: /home/admin/workspace
**文件总数**: 3
---
## 📄 文件清单
### meeting-notes.md
- **标题**: 周会纪要
- **字数**: 1250
- **章节**: 参会人員,讨论议题,行动计划
### project-update.md
- **标题**: 项目进度更新
- **字数**: 800
- **章节**: 本周完成,下周计划
---
## 📊 统计汇总
- **总文件数**: 3
- **总字数**: 2050
- **平均字数**: 683
脚本说明
scripts/generate_digest.py 功能:
- 自动扫描指定目录下的所有
.md文件 - 提取一级标题作为文档标题
- 提取二级标题作为章节列表
- 统计每个文件的字数
- 生成汇总统计信息
注意事项
- 仅处理
.md后缀的文件 - 文件按字母顺序排序
- 无法读取的文件会显示错误信息
- 支持 UTF-8 编码的文件
安全使用建议
Install only if you are comfortable with the agent reading Markdown files in the current or specified folder and showing filenames, titles, headings, word counts, and read errors in the digest. For sensitive workspaces, run it on an explicit limited directory rather than the project root.
能力评估
Purpose & Capability
The stated purpose is to generate a daily Markdown digest, and the script matches that by reading .md files, extracting titles, second-level headings, and word counts, then printing a report.
Instruction Scope
Some trigger phrases are broad enough to activate on general summary requests, but the skill text does disclose that it scans the current or specified directory for Markdown files.
Install Mechanism
The artifact contains a SKILL.md file and one Python helper script, with no dependencies, installer hooks, automatic startup, or package-manager behavior.
Credentials
Reading all .md files in the current or specified directory is proportionate for a digest tool, but filenames, headings, and counts can reveal sensitive project or meeting metadata.
Persistence & Privilege
No persistence, privilege escalation, credential access, network access, background worker, file deletion, or automatic mutation behavior was found; output goes to stdout unless the user redirects it.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ithrael-daily-digest - 安装完成后,直接呼叫该 Skill 的名称或使用
/ithrael-daily-digest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Markdown file digest generator
元数据
常见问题
Daily Digest 是什么?
每日摘要生成技能。扫描当前工作目录下的所有 .md 文件,生成结构化摘要报告。触发词:"生成今日摘要"、"daily digest"、"生成摘要报告"、"汇总 markdown 文件"。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。
如何安装 Daily Digest?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ithrael-daily-digest」即可一键安装,无需额外配置。
Daily Digest 是免费的吗?
是的,Daily Digest 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Daily Digest 支持哪些平台?
Daily Digest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily Digest?
由 Ithrael(@ithrael)开发并维护,当前版本 v1.0.0。
推荐 Skills