← 返回 Skills 市场
201
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install pdf-report
功能描述
Generate clean A4 PDF reports from structured JSON using Jinja2 and WeasyPrint. Use when the user needs a formatted PDF document — analytical summary, data r...
安全使用建议
This skill appears to do exactly what it says: read JSON and render a formatted A4 PDF using the included Jinja2 template or a user-supplied template. Before installing or running it, consider the following: (1) Installing WeasyPrint system libraries may require sudo/apt access — run in an environment where you control package installs. (2) If you supply custom templates, review them — templates can include absolute http(s) URLs (fonts, images, CSS) and WeasyPrint will fetch those during rendering, which may make outbound network requests. Avoid untrusted templates if you need an air-gapped or privacy-preserving run. (3) The script enforces that input, output, and template paths stay inside the workspace; still run it with non-sensitive data until you’re comfortable. (4) The code respects an OPENCLAW_WORKSPACE env var if present; you can set this explicitly to control where files are read/written.
能力评估
Purpose & Capability
Name/description (PDF from JSON using Jinja2/WeasyPrint) matches the included script, template, and the single required binary (python3). There are no unrelated credentials, system paths, or binaries requested.
Instruction Scope
Runtime instructions and the script stay focused on reading JSON and rendering a local template to PDF. The code enforces that input/output/template paths stay inside the workspace. One operational note: custom templates (raw HTML) can reference external resources (fonts, images, CSS). WeasyPrint may attempt to fetch externally-referenced URLs when rendering, which can result in network requests if a template contains absolute http(s) URLs — SKILL.md does not explicitly forbid external URLs.
Install Mechanism
This is instruction-only (no packaged installer). SKILL.md suggests creating a dedicated venv and installing weasyprint and jinja2 — a reasonable, low-risk approach. System packages for WeasyPrint are listed (apt-get), which is expected for that library.
Credentials
No credentials or sensitive environment variables are requested. The script optionally honors OPENCLAW_WORKSPACE to locate the workspace root; this is proportional to its need to resolve paths.
Persistence & Privilege
The skill is not always-on and does not request elevated or persistent platform privileges. It writes outputs and may create the suggested dedicated venv under the user's home; it does not modify other skills or system-wide agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf-report - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf-report触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
v1.0.1 — Security hardening + publish readiness
- Chart image paths from JSON are now validated against the workspace boundary (paths outside are rejected)
- Missing chart images produce a warning instead of silent broken images
- Workspace root detection is now resilient (OPENCLAW_WORKSPACE env var > marker file walk > fallback)
- Added Setup section with system deps, venv creation, and pip install
- Added automatic page numbering (bottom-right: "1 / 3")
- Documented custom template base_url behavior
v1.0.0
Initial release — A4 PDF reports from structured JSON via Jinja2 and WeasyPrint
元数据
常见问题
PDF Report 是什么?
Generate clean A4 PDF reports from structured JSON using Jinja2 and WeasyPrint. Use when the user needs a formatted PDF document — analytical summary, data r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 201 次。
如何安装 PDF Report?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-report」即可一键安装,无需额外配置。
PDF Report 是免费的吗?
是的,PDF Report 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PDF Report 支持哪些平台?
PDF Report 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PDF Report?
由 Umbra(@mohamed-hammane)开发并维护,当前版本 v1.0.1。
推荐 Skills