← Back to Skills Marketplace
Markdown to PDF Advanced
by
20181112523
· GitHub ↗
· v1.1.1
· MIT-0
186
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install md-to-pdf-advanced
Description
Convert Markdown files to PDF with multiple backend options (WeasyPrint, Pandoc, wkhtmltopdf). Supports syntax highlighting, tables, images, custom CSS theme...
Usage Guidance
This skill appears to do what it says: run the included Python script to convert Markdown to PDF. Before installing/use: (1) be aware the script may attempt to install Python packages via pip at runtime (network access and package installation), so pre-install dependencies if you require offline or locked environments; (2) the script invokes subprocesses (pandoc/wkhtmltopdf) if present — review and install those from your trusted package sources if needed; (3) it does not request any secrets, but run it in a controlled environment if you want to limit package installs or subprocess execution. If you want to avoid any runtime network activity, pre-install WeasyPrint/Pygments/markdown and/or ensure pandoc/wkhtmltopdf are available on the system.
Capability Analysis
Type: OpenClaw Skill
Name: md-to-pdf-advanced
Version: 1.1.1
The skill bundle is a legitimate tool for converting Markdown files to PDF using WeasyPrint or Pandoc. The core logic in `scripts/md_to_pdf.py` handles document conversion, syntax highlighting via Pygments, and CSS styling without any signs of malicious intent. While the script includes an auto-install feature for Python dependencies using `subprocess`, it is clearly documented in `SKILL.md` and aligned with the tool's purpose; furthermore, subprocess calls are implemented safely using argument lists rather than shell execution.
Capability Assessment
Purpose & Capability
Name/description match the files and code: a Python-based Markdown→PDF converter with optional pandoc/wkhtmltopdf support. Required binaries (python3, optional pandoc/wkhtmltopdf) and provided CSS assets are appropriate for this purpose.
Instruction Scope
SKILL.md instructs the agent to run the included script (exec('python3 .../md_to_pdf.py')) which is expected. The script reads only the input Markdown and optional CSS, writes the output PDF, and may invoke subprocesses (pandoc/wkhtmltopdf or pip). One small inconsistency: the skill metadata says "No network required for local file conversion," but the script can attempt to auto-install WeasyPrint via pip at runtime (and support for remote images implies optional network access).
Install Mechanism
Install spec uses standard package managers (pip, apt, brew) and only installs well-known packages (weasyprint, markdown, Pygments, pandoc, wkhtmltopdf). No downloads from untrusted URLs. Runtime pip install (install_weasyprint) occurs inside the script if WeasyPrint is missing — this is normal but requires network and executes package installation.
Credentials
The skill requests no environment variables or credentials and does not access config paths. It only reads user-supplied input and optional local CSS files, which is proportionate to its function.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges, always:false, and does not modify other skills or system-wide settings. It runs as an ordinary utility invoked by the agent.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install md-to-pdf-advanced - After installation, invoke the skill by name or use
/md-to-pdf-advanced - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
Add emoji troubleshooting guide for PDF rendering
v1.1.0
Add emoji troubleshooting guide for PDF rendering
v1.0.0
Initial release: Multi-backend Markdown to PDF converter with WeasyPrint and Pandoc support, syntax highlighting, and multiple CSS themes
Metadata
Frequently Asked Questions
What is Markdown to PDF Advanced?
Convert Markdown files to PDF with multiple backend options (WeasyPrint, Pandoc, wkhtmltopdf). Supports syntax highlighting, tables, images, custom CSS theme... It is an AI Agent Skill for Claude Code / OpenClaw, with 186 downloads so far.
How do I install Markdown to PDF Advanced?
Run "/install md-to-pdf-advanced" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown to PDF Advanced free?
Yes, Markdown to PDF Advanced is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Markdown to PDF Advanced support?
Markdown to PDF Advanced is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown to PDF Advanced?
It is built and maintained by 20181112523 (@20181112523); the current version is v1.1.1.
More Skills