← Back to Skills Marketplace
zq62191161-ai

Weekly Report Email

by zq62191161-ai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
146
Downloads
0
Stars
0
Active Installs
9
Versions
Install in OpenClaw
/install xl-weekly-report-email
Description
通用周报收集和邮件推送技能,支持交互式填写周报内容,自动计算周数和日期范围,生成美观的HTML格式邮件。
Usage Guidance
Before installing, note the following: 1) The code expects Node (to run main.js and use nodemailer) and it calls python3 via child_process.execSync to compute ISO week — the skill metadata does not declare these binary requirements; ensure those runtimes exist and are acceptable. 2) The skill will ask you to store SMTP credentials (SMTP_USER/SMTP_PASS, SMTP_FROM) in a .env file inside the skill directory; only provide credentials you trust, and be aware these are persisted on disk. 3) There is no install spec — you may need to run npm install in the skill directory to install nodemailer. 4) The skill uses child_process to run python3 (shell execution) which is a moderate risk surface — review/limit execution environment or sandbox the skill if you have concerns. 5) The SKILL.md emphasizes not auto-sending, but confirm in your environment that the code indeed waits for explicit user confirmation before calling sendWeeklyReport (review main.js/mailerl.js call sites). 6) Minor code smells (duplicate functions in setup.js, absolute path in SKILL.md) are not proof of malice but indicate the package could be sloppy — review the code yourself or run it in an isolated environment. If you decide to proceed: install dependencies locally (npm ci), inspect .env after creation, and consider creating a dedicated SMTP account with limited privileges or an authorization token rather than using your primary mailbox password.
Capability Analysis
Type: OpenClaw Skill Name: xl-weekly-report-email Version: 1.0.0 The skill bundle is a legitimate utility designed to collect weekly report information through an interactive AI dialogue and send it as a formatted HTML email via SMTP. It uses the standard 'nodemailer' library and stores user-provided credentials locally in a .env file. While the code uses 'child_process.execSync' in main.js to calculate ISO week numbers via a Python snippet, the input is derived from system time and is not user-controlled, posing no RCE risk. The instructions in SKILL.md are focused on ensuring a structured user experience and do not contain malicious prompt injections or attempts to exfiltrate sensitive data.
Capability Assessment
Purpose & Capability
The skill's name/description match the code: it collects report content, generates HTML and sends via SMTP. However the package expects a Node runtime and the 'nodemailer' dependency (present in package.json/package-lock) and also invokes python3 (via child_process.execSync in main.js) to compute ISO week number. The registry metadata declared no required binaries or env vars, which is inconsistent with the actual code that reads/writes .env and config.json and requires node/python runtime and nodemailer.
Instruction Scope
SKILL.md restricts behavior (one question at a time, require explicit confirmation before sending) and documents writing a temporary markdown under memory/ and storing SMTP creds in a local .env. Those instructions are within the skill's purpose. Caveats: SKILL.md tells the agent to run 'nodejs main.js' and to cd to an absolute workspace path (/home/node/.openclaw/...), which may not exist in all environments; it promises temporary file deletion but I did not find a guaranteed delete routine in the provided code excerpts (the generator and tester create files but deletion flow isn't visible).
Install Mechanism
There is no install spec even though package.json and package-lock.json list a dependency (nodemailer). The skill will require Node and its dependencies to run; additionally the code uses python3 via a shell exec. The absence of declared runtime/install requirements (node, npm/yarn, python3) is an incoherence and may cause runtime failures or hidden attempts to exec arbitrary binaries.
Credentials
The skill requires SMTP credentials (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, SMTP_FROM) and stores them in a .env file in the skill directory. Those credentials are proportionate to sending email. However the registry metadata claimed 'required env vars: none' and 'required config paths: none' while the code reads/writes .env and config.json in its own directory — this mismatch should be corrected and noted. Storing credentials on disk under the skill directory is practical but increases persistence risk if the host or skill files are shared or backed up.
Persistence & Privilege
always:false (good). The skill writes persistent files in its own directory (.env and config.json) and temporary files under memory/. This is normal for a mailer skill but means user SMTP credentials will be persisted on disk by design. The skill does not request elevated platform privileges or modify other skills' configs, but the persisted secrets should be treated carefully.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xl-weekly-report-email
  3. After installation, invoke the skill by name or use /xl-weekly-report-email
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本:通用周报收集和邮件推送技能
v1.8.3
修复 tags 显示
v1.8.2
修复 tags 格式错误
v1.8.1
Bug 修复:修复日期计算错误,周五/周六/周日时周数不减1,周四/周四之前减1;修复截止日期和时间范围计算逻辑
v1.8.0
安全修复:移除 sections 数组导出,防止误用示例内容;添加参数验证和调试日志
v1.7.0
邮箱配置改为自动引导用户填写,不再依赖外部技能;敏感信息统一存储在 .env(已排除发布);统一版本管理
v1.6.1
修复:排除 config.json 敏感文件
v1.6.0
优化内容解析逻辑和格式提示
v1.5.0
优化内容解析逻辑,增加更多状态样式,支持组合状态拆分,未按格式写时直接展示不报错,修复内容丢失问题
Metadata
Slug xl-weekly-report-email
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 9
Frequently Asked Questions

What is Weekly Report Email?

通用周报收集和邮件推送技能,支持交互式填写周报内容,自动计算周数和日期范围,生成美观的HTML格式邮件。 It is an AI Agent Skill for Claude Code / OpenClaw, with 146 downloads so far.

How do I install Weekly Report Email?

Run "/install xl-weekly-report-email" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Weekly Report Email free?

Yes, Weekly Report Email is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Weekly Report Email support?

Weekly Report Email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Weekly Report Email?

It is built and maintained by zq62191161-ai (@zq62191161-ai); the current version is v1.0.0.

💬 Comments