← Back to Skills Marketplace
201
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install pdf-report
Description
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...
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf-report - After installation, invoke the skill by name or use
/pdf-report - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 201 downloads so far.
How do I install PDF Report?
Run "/install pdf-report" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PDF Report free?
Yes, PDF Report is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PDF Report support?
PDF Report is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PDF Report?
It is built and maintained by Umbra (@mohamed-hammane); the current version is v1.0.1.
More Skills