← 返回 Skills 市场
freedompixels

企业报告生成器

作者 freedompixels · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
111
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install cn-report-generator
功能描述
企业日报/周报自动生成。从MEMORY.md和daily log自动生成结构化报告, 支持日报/周报/月报模板。
使用说明 (SKILL.md)

企业日报/周报自动生成

功能概述

自动从工作记录生成结构化日报、周报、月报,告别手动整理。

使用方法

生成日报

帮我生成今天的日报

生成周报

帮我生成本周的周报

生成月报

帮我生成本月的月报

执行流程

日报生成

  1. 读取今日工作记录(从memory/YYYY-MM-DD.md
  2. 提取完成事项、进行中事项、问题、明日计划
  3. 按模板生成结构化日报
  4. 保存到~/reports/daily/YYYY-MM-DD.md

周报生成

  1. 读取本周7天的daily log
  2. 汇总本周完成事项、待办事项、关键成果
  3. 生成周报摘要
  4. 保存到~/reports/weekly/YYYY-WW.md

月报生成

  1. 读取本月所有daily log
  2. 汇总月度成果、数据统计、问题复盘
  3. 生成月报
  4. 保存到~/reports/monthly/YYYY-MM.md

数据来源

  • MEMORY.md — 长期记忆和任务清单
  • memory/YYYY-MM-DD.md — 每日工作日志
  • memory/in_progress.md — 进行中的任务

报告模板

日报模板

# YYYY年MM月DD日 工作日报

## ✅ 今日完成
- [事项1]
- [事项2]

## 🚧 进行中
- [事项](预计完成时间)

## ⚠️ 问题与风险
- [问题描述]

## 📅 明日计划
- [计划事项]

周报模板

# YYYY年第WW周 工作周报

## 本周成果
- [成果1]
- [成果2]

## 数据统计
- 完成事项:X项
- 进行中:Y项
- 问题解决:Z项

## 问题与解决方案
- [问题描述] → [解决方案]

## 下周计划
- [计划事项]

输出位置

  • 日报:~/reports/daily/YYYY-MM-DD.md
  • 周报:~/reports/weekly/YYYY-WW.md
  • 月报:~/reports/monthly/YYYY-MM.md

注意事项

  • 需要定期维护daily log(记录每日工作)
  • 报告质量取决于工作记录的完整性
  • 建议每天下班前记录当日工作
安全使用建议
What to check before installing/using: 1) Confirm where your daily logs/MEMORY.md live — the script reads from ~/.qclaw/workspace (not an arbitrary system path); if your logs are stored elsewhere, update the script or SKILL.md. 2) Inspect the files that will be read (MEMORY.md, memory/*.md, in_progress.md) to ensure they don't contain sensitive data you don't want aggregated. 3) The skill writes reports to ~/reports — check file permissions and that this location is acceptable. 4) The script performs only local file reads/writes and regex parsing (no network or credential use), so there's no obvious exfiltration, but you can run it locally in a sandbox or review/modify the script before running. 5) Note small issues: monthly report is unimplemented and timestamp interpolation in the generated footer appears to be a minor string formatting bug (no security impact). If you need stricter assurance, request provenance of the skill author or run the code in an isolated environment first.
功能分析
Type: OpenClaw Skill Name: cn-report-generator Version: 1.1.0 The skill is a local productivity tool designed to aggregate markdown logs into structured reports. Analysis of `scripts/generate_report.py` and `SKILL.md` shows the code operates strictly on local file paths within the user's home directory (~/.qclaw/workspace and ~/reports), contains no network activity, and uses safe string manipulation and regex for data extraction without any dangerous execution sinks like eval() or os.system().
能力评估
Purpose & Capability
Name/description (generate daily/weekly/monthly reports from MEMORY and daily logs) matches the included script and SKILL.md. The script reads local memory and daily log files and writes markdown reports — this is proportional to the described purpose.
Instruction Scope
SKILL.md and the script both say they read MEMORY.md and daily logs and write reports to ~/reports. Minor inconsistency: SKILL.md refers to memory/YYYY-MM-DD.md and MEMORY.md (relative paths), while the script actually reads from WORKSPACE = ~/.qclaw/workspace (MEMORY.md at ~/.qclaw/workspace/MEMORY.md and daily logs under ~/.qclaw/workspace/memory). This is an implementation/detail mismatch (not an access to unrelated data), and monthly-report is unimplemented. Also the script only does local file I/O and regex parsing (no network calls).
Install Mechanism
Instruction-only skill with an included Python script; there is no install specification, no downloads, and no third-party package installs. Risk from install-time code is minimal.
Credentials
No environment variables, secrets, or external credentials are requested. The script reads files under the user's home (hidden workspace) and writes reports to ~/reports — these are consistent with the skill's stated functionality.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does create ~/reports and will create ~/.qclaw/workspace directories if invoked and those are used — this is expected for a local report generator.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cn-report-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cn-report-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: 修复SKILL.md格式,修复缺失脚本
v1.0.1
添加中文标题
v1.0.0
Initial release of cn-report-generator. - Automatically generates structured daily, weekly, and monthly reports from work logs. - Supports report templates for 日报/周报/月报 in Chinese. - Reads from MEMORY.md and daily logs for data extraction. - Saves reports to designated directories for easy access. - Designed to boost productivity and reduce manual reporting effort.
元数据
Slug cn-report-generator
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

企业报告生成器 是什么?

企业日报/周报自动生成。从MEMORY.md和daily log自动生成结构化报告, 支持日报/周报/月报模板。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 企业报告生成器?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cn-report-generator」即可一键安装,无需额外配置。

企业报告生成器 是免费的吗?

是的,企业报告生成器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

企业报告生成器 支持哪些平台?

企业报告生成器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 企业报告生成器?

由 freedompixels(@freedompixels)开发并维护,当前版本 v1.1.0。

💬 留言讨论