← Back to Skills Marketplace
alone86136

Markdown to PDF

by Alone86136 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
207
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install markdown-to-pdf
Description
Convert Markdown files to beautiful PDF documents. Supports custom styling, code highlighting, and multiple output options. Use when users need to convert MD...
Usage Guidance
This skill appears to do exactly what it says: convert Markdown to PDF using the included Python script plus wkhtmltopdf. Before installing/use: (1) install wkhtmltopdf from an official package or distro repository (avoid unknown binaries), (2) be cautious when converting untrusted Markdown that references local file paths or remote URLs — wkhtmltopdf's --enable-local-file-access allows reading local files and fetching remote resources, which could expose sensitive local content if the Markdown includes file:// links or similar, and (3) run conversions in a sandbox or with limited file permissions if you expect untrusted input. Otherwise the skill is internally consistent and proportionate.
Capability Analysis
Type: OpenClaw Skill Name: markdown-to-pdf Version: 1.0.0 The skill provides a utility to convert Markdown files to PDF using the `wkhtmltopdf` tool. A security vulnerability is present in `scripts/convert.py` where the subprocess call includes the `--enable-local-file-access` flag. This configuration allows the PDF generator to access and embed local system files if the input Markdown contains malicious HTML elements (e.g., `<iframe src="file:///etc/passwd">`), potentially leading to local file disclosure. While this flag is often used to support local images, its inclusion without input sanitization constitutes a high-risk vulnerability.
Capability Assessment
Purpose & Capability
Name/description describe converting Markdown to PDF. The code implements Markdown→HTML conversion, syntax highlighting, and calls wkhtmltopdf to create a PDF — exactly what the skill claims. Declared dependencies (markdown, pygments, wkhtmltopdf) match the implementation.
Instruction Scope
SKILL.md instructs installing pip packages and wkhtmltopdf and to run the included script. The runtime instructions do not read environment variables or unrelated system files. One operational detail to note: the script invokes wkhtmltopdf with --enable-local-file-access, which is necessary to embed local resources (images/CSS) but means wkhtmltopdf may read local files or fetch remote resources referenced by the generated HTML — this is expected for this functionality but worth being aware of.
Install Mechanism
No install spec is provided (instruction-only skill + included script). Dependencies are standard Python packages and a well-known external binary (wkhtmltopdf). The skill does not download or execute code from untrusted URLs or include an automated installer that writes arbitrary archives to disk.
Credentials
The skill requires no environment variables or credentials. The requested resources (Python libs and system wkhtmltopdf) are proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It does not modify other skills or agent-wide configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install markdown-to-pdf
  3. After installation, invoke the skill by name or use /markdown-to-pdf
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Convert Markdown files to beautiful PDF documents with code syntax highlighting. Supports custom CSS styling. Requires markdown, pygments Python packages and wkhtmltopdf system binary.
Metadata
Slug markdown-to-pdf
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Markdown to PDF?

Convert Markdown files to beautiful PDF documents. Supports custom styling, code highlighting, and multiple output options. Use when users need to convert MD... It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.

How do I install Markdown to PDF?

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

Is Markdown to PDF free?

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

Which platforms does Markdown to PDF support?

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

Who created Markdown to PDF?

It is built and maintained by Alone86136 (@alone86136); the current version is v1.0.0.

💬 Comments