← Back to Skills Marketplace
1523
Downloads
0
Stars
20
Active Installs
1
Versions
Install in OpenClaw
/install daily-report-writer
Description
根据输入生成日报 Markdown 草稿并写入 reports 目录
README (SKILL.md)
Daily Report Writer
Use when
- 用户要求生成“日报/工作总结草稿”
Inputs
- date(必填,YYYY-MM-DD)
- highlights(必填,数组)
- blockers(可选,数组)
Steps
- 校验参数是否齐全。
- 读取(或创建)
reports/{{date}}-daily-report.md。 - 按固定模板写入内容。
- 返回
status/summary/data/nextAction。
Failure
- 缺参数:明确指出缺哪一项,并给示例输入。
- 写文件失败:返回目录权限检查建议。
Usage Guidance
This skill appears coherent, but take these practical precautions before enabling it: 1) Confirm the agent enforces strict validation of the date input (YYYY-MM-DD) to avoid path-traversal or injection into the file path. 2) Verify the path is interpreted as a relative reports/ directory inside the agent workspace (not an absolute or parent path). 3) Decide and document overwrite behavior (should existing reports be replaced, backed up, or rejected?). 4) Ensure the reports directory has appropriate permissions and is isolated from sensitive system locations. 5) Review the report template to avoid accidentally writing or exposing sensitive information. 6) If running in a multi-tenant or production environment, run the skill in a sandboxed workspace with limited write permissions. If you want a higher-assurance review, provide the actual template the skill will write and the agent runtime path resolution rules so we can check for filename sanitization and exact file locations.
Capability Analysis
Type: OpenClaw Skill
Name: daily-report-writer
Version: 1.0.0
The `daily-report-writer` skill, defined in `SKILL.md`, instructs the agent to write a Markdown report to `reports/{{date}}-daily-report.md`. The direct use of the user-provided `date` input in the file path creates a potential path traversal vulnerability. If the OpenClaw runtime does not adequately sanitize the `date` input, an attacker could manipulate it to write files to arbitrary locations outside the intended `reports` directory. While no explicit malicious intent (e.g., data exfiltration, remote execution) is present in the instructions, the file write capability with a user-controlled path component poses a significant security risk.
Capability Assessment
Purpose & Capability
Name/description and runtime instructions align: the skill only needs to generate content and read/create a file under reports/{{date}}-daily-report.md. There are no unrelated env vars, binaries, or installs.
Instruction Scope
Instructions are narrowly scoped to validating inputs, creating/reading reports/{{date}}-daily-report.md, writing a fixed template, and returning a status. One operational note: the SKILL.md does not specify input sanitization beyond date format; ensure the agent enforces the YYYY-MM-DD constraint and prevents path traversal or use of absolute paths so the file write stays confined to the intended workspace.
Install Mechanism
No install spec or code is present (instruction-only), so nothing is downloaded or written to disk outside the expected report file.
Credentials
No environment variables, credentials, or config paths are requested; this is proportionate to the stated purpose.
Persistence & Privilege
The skill is not forced-always (always: false). It can be invoked autonomously (normal default) and writes only its own report file per instructions. No indication it modifies other skills or global agent configs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install daily-report-writer - After installation, invoke the skill by name or use
/daily-report-writer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of daily-report-writer.
- Generates daily report drafts in Markdown format based on user input.
- Saves reports to the reports directory using the provided date.
- Supports input of highlights (required) and blockers (optional).
- Validates all required parameters and provides clear error messages with examples if missing.
- Handles file read/write, and gives permission troubleshooting suggestions on failure.
Metadata
Frequently Asked Questions
What is Daily Report Writer?
根据输入生成日报 Markdown 草稿并写入 reports 目录. It is an AI Agent Skill for Claude Code / OpenClaw, with 1523 downloads so far.
How do I install Daily Report Writer?
Run "/install daily-report-writer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Daily Report Writer free?
Yes, Daily Report Writer is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Daily Report Writer support?
Daily Report Writer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Daily Report Writer?
It is built and maintained by JoiFG (@joifg); the current version is v1.0.0.
More Skills