← Back to Skills Marketplace
huchiyv

Structured PDF Export

by huchiyv · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
174
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install structured-pdf-export
Description
将结构化内容(表格、对比清单、数据可视化)转换为美化 PDF 并发送。在准备输出竖线表格时自动触发:创建 HTML → 启动本地服务器 → 打开浏览器 → 转成 PDF → 发送 + 清理临时文件。文件名用中文描述性表述。**依赖条件**:OpenClaw 浏览器工具、Message 工具、Python HTTP...
Usage Guidance
This skill appears coherent and performs only local PDF generation. Before installing or running it: (1) Use it only on a single-user or trusted system (the workflow cannot safely isolate processes on multi-user hosts). (2) Manually verify that the generated HTML/PDF contain no secrets (API keys, tokens, PII) before sending. (3) Ensure the configured port is free or use a randomized/user-specific port to avoid disrupting other services. (4) Confirm that your OpenClaw browser and message tools actually operate locally and do not upload files to external services. (5) Review the included script (scripts/generate_table_pdf.py) if you have any doubt—there are no hidden network calls, but it writes to your workspace and creates a local http.server. (6) Be cautious granting autonomous invocation if you do not want the agent to start local servers or open the browser without an explicit prompt.
Capability Analysis
Type: OpenClaw Skill Name: structured-pdf-export Version: 1.2.0 The skill bundle provides a legitimate utility for generating PDF documents from structured data using a local Python HTTP server and the OpenClaw browser tool. The instructions in SKILL.md and the helper script scripts/generate_table_pdf.py include significant security considerations, such as using restricted file permissions (chmod 700), avoiding the interruption of unrelated system processes, and explicitly warning the agent to verify that no sensitive data is included in the generated HTML. The code is transparent, lacks obfuscation, and operates entirely within the user's defined workspace without any evidence of data exfiltration or malicious intent.
Capability Assessment
Purpose & Capability
Name/description (generate local PDFs from structured content) matches the provided artifacts: SKILL.md describes starting a local http.server, using the OpenClaw browser to render/pdf, and sending the resulting local file via message.send. No unrelated credentials, remote downloads, or unexpected binaries are requested.
Instruction Scope
Instructions stay within the PDF-export workflow (create HTML, serve locally, open with browser tool, produce local PDF, copy to workspace, send, cleanup). They explicitly require manual verification to avoid sending sensitive data and warn about multi-user process/port issues. This manual-verification requirement is a functional limitation (not a covert behavior) but increases operational risk if users skip checks.
Install Mechanism
Instruction-only skill with one helper script included; no install spec, no external downloads, and no packages are installed automatically. Risk from install mechanism is low.
Credentials
No secret environment variables or credentials are required. The skill uses a workspace path (OPENCLAW_WORKSPACE or $HOME fallback) and requires write permissions there. This is proportionate to the stated functionality.
Persistence & Privilege
Skill does not request permanent/always-on inclusion. It assumes the platform's browser and message tools; because autonomous invocation is allowed by default, the agent could start a local server and open the browser without interactive confirmation—this is expected behavior but users should be aware of it when granting invocation rights.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install structured-pdf-export
  3. After installation, invoke the skill by name or use /structured-pdf-export
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
新增:明确限制和假设 - 多用户系统的进程管理限制、敏感数据检查的手动验证要求、工具依赖假设、改进的故障排查
v1.1.1
修复:scripts/generate_table_pdf.py 现在使用用户主目录 + 环境变量替代硬编码 /tmp,与 SKILL.md 保持一致
v1.1.0
安全强化:修复硬编码路径、添加权限检查、进程管理、敏感数据检测、多用户支持、临时文件隔离
v1.0.0
初始版本:将结构化内容(表格、清单、对比)转化为美化 PDF 并发送
Metadata
Slug structured-pdf-export
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is Structured PDF Export?

将结构化内容(表格、对比清单、数据可视化)转换为美化 PDF 并发送。在准备输出竖线表格时自动触发:创建 HTML → 启动本地服务器 → 打开浏览器 → 转成 PDF → 发送 + 清理临时文件。文件名用中文描述性表述。**依赖条件**:OpenClaw 浏览器工具、Message 工具、Python HTTP... It is an AI Agent Skill for Claude Code / OpenClaw, with 174 downloads so far.

How do I install Structured PDF Export?

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

Is Structured PDF Export free?

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

Which platforms does Structured PDF Export support?

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

Who created Structured PDF Export?

It is built and maintained by huchiyv (@huchiyv); the current version is v1.2.0.

💬 Comments