Markdown to PDF Advanced

v1.1.1

Convert Markdown files to PDF with multiple backend options (WeasyPrint, Pandoc, wkhtmltopdf). Supports syntax highlighting, tables, images, custom CSS theme...

0· 97·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97699m2rpg2pramnrm653spd183sanv

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Binspython3
Any binpandoc, wkhtmltopdf

Install

Install pandoc and wkhtmltopdf (brew)brew install pandoc

Comments