← Back to Skills Marketplace
flexrox

Flow PDF Generator

by FlexRox · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
5
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install flow-pdf-generator
Description
Generate professional PDF documents from structured JSON data. Use when user wants to create, export, or save content as a PDF file. Supports styled titles,...
README (SKILL.md)

PDF Generator

Generate styled PDF documents from structured JSON data using ReportLab.

Quick Start

python scripts/generate_pdf.py --output report.pdf --data '{
  "title": "Monthly Report",
  "subtitle": "March 2026",
  "author": "PragDev",
  "sections": [
    {"type": "text", "text": "Introduction text here."},
    {"type": "highlight", "text": "Key metric: +15%"},
    {"type": "list", "items": ["Item 1", "Item 2"]}
  ]
}'

JSON Schema Reference

See references/schema.md for complete schema documentation.

Output

  • PDF saved to path specified by --output or data.output
  • Default: output.pdf in current directory

Tips

  • Use accent_color and header_color for brand colors
  • Tables auto-alternate row backgrounds
  • Images must exist at the specified path
  • Page breaks create new pages
Usage Guidance
This skill appears to do what it says: generate PDFs from JSON using the included script. Before installing/running: (1) Review the script yourself — it reads any file paths you provide in the JSON (images or a JSON filename), so do not pass sensitive filesystem paths. (2) Install reportlab in a virtualenv (pip install reportlab) — the dependency is not declared. (3) Note the CLI quirk: if --data contains invalid JSON the script will try to open that string as a filename, which can cause unexpected local file reads; avoid passing untrusted strings as --data. (4) Run the script as a non-privileged user or in a sandbox if you will process JSON from untrusted sources. If you want extra assurance, run the script on sample data first to confirm behavior.
Capability Analysis
Type: OpenClaw Skill Name: flow-pdf-generator Version: 2.0.0 The skill is a legitimate PDF generation utility using the ReportLab library. It processes structured JSON data to create styled documents with support for tables, lists, and images. Analysis of 'scripts/generate_pdf.py' and 'SKILL.md' shows no evidence of malicious intent, data exfiltration, or unauthorized command execution; file access is limited to reading input data/images and writing the resulting PDF to a specified path.
Capability Assessment
Purpose & Capability
Name/description match the provided code and schema. The included script implements PDF generation (titles, tables, lists, images, page breaks) using ReportLab, which is exactly what the description promises.
Instruction Scope
SKILL.md instructs running the included script with JSON via --data or a file. The script reads JSON from the CLI or a file and will read image files referenced in the JSON (expected for embedding images). Minor concern: parse_args tries json.loads(json_input) and on JSONDecodeError treats the same value as a filename and opens it — this can lead to unexpected local file reads if an invalid JSON string is passed. There are no network calls or secret exfiltration in the code.
Install Mechanism
No install spec is provided (instruction-only), which is low risk. However, the code requires the ReportLab Python package but SKILL.md does not include installation instructions or a requirements.txt; users must install reportlab (e.g., pip install reportlab) before running.
Credentials
The skill requests no environment variables, credentials, or config paths and the code does not access environment secrets. All file I/O is limited to user-specified JSON or image paths.
Persistence & Privilege
Skill is not always-enabled and does not modify other skills or system-wide agent config. It does not persist credentials or request elevated/system privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install flow-pdf-generator
  3. After installation, invoke the skill by name or use /flow-pdf-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Renamed to Flow PDF Generator
Metadata
Slug flow-pdf-generator
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Flow PDF Generator?

Generate professional PDF documents from structured JSON data. Use when user wants to create, export, or save content as a PDF file. Supports styled titles,... It is an AI Agent Skill for Claude Code / OpenClaw, with 5 downloads so far.

How do I install Flow PDF Generator?

Run "/install flow-pdf-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Flow PDF Generator free?

Yes, Flow PDF Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Flow PDF Generator support?

Flow PDF Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Flow PDF Generator?

It is built and maintained by FlexRox (@flexrox); the current version is v2.0.0.

💬 Comments