← Back to Skills Marketplace
2023
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install md-2-pdf
Description
Convert markdown files to clean, formatted PDFs using reportlab
Usage Guidance
This skill appears coherent and focused on converting Markdown to PDF. Before installing: (1) Verify the 'uv' runner on your system is the expected/trusted tool and understand how it installs Python dependencies (it may auto-install reportlab); (2) be aware the converter will read local files referenced by the markdown (images, etc.); (3) run it on non-sensitive sample files first to confirm behavior. If you require stricter isolation, run the script in a sandbox or inspect the full script in your environment before use.
Capability Analysis
Type: OpenClaw Skill
Name: md-2-pdf
Version: 1.0.0
The skill's primary function is to convert markdown to PDF. The `SKILL.md` instructions are benign and do not contain prompt injection attempts. The `scripts/md-to-pdf.py` script, however, includes functionality to embed images referenced in the input markdown. This feature allows the script to read arbitrary local files (if they are valid image formats) from paths specified in the markdown (e.g., ``). While the skill itself does not exfiltrate the generated PDF or its content, this capability represents a potential local information disclosure risk if the agent processes untrusted markdown, as sensitive local images could be embedded into the output PDF.
Capability Assessment
Purpose & Capability
Name/description ask for Markdown→PDF conversion and the package provides a Python script that uses reportlab for PDF generation. The declared required binary 'uv' matches the script shebang which runs via 'uv run'; this dependency is coherent with how the script is invoked.
Instruction Scope
SKILL.md only tells the agent to run the included script with uv and to pass input/output flags. It does not instruct the agent to read unrelated files, environment variables, or send data to external endpoints. The script parses markdown and constructs PDF elements (headers, lists, code blocks, tables, images) which is consistent with the feature list.
Install Mechanism
There is no install spec (instruction-only) which minimizes disk write risk. The script contains a comment listing a runtime dependency ('reportlab'); how that dependency is installed at runtime depends on the host's 'uv' runner. This is reasonable but you should confirm how your environment resolves Python dependencies when running 'uv run'.
Credentials
The skill requires no environment variables or credentials. The script operates on local files (markdown and referenced image paths) which is expected for a converter. No unrelated secrets or tokens are requested.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges. It does not modify other skills or global agent settings. Autonomous model invocation is allowed (default) but that is normal and acceptable here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install md-2-pdf - After installation, invoke the skill by name or use
/md-2-pdf - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of md-to-pdf:
- Convert markdown files to clean, professional PDFs using reportlab.
- Supports headers, bold/italic text, code (inline and blocks), tables, lists (bullet, numbered, task), hyperlinks, and horizontal rules.
- Skips YAML frontmatter automatically.
- Handles special characters and emojis.
- Adds page numbers and uses professional styling.
- Command-line options for output file naming and verbose mode.
Metadata
Frequently Asked Questions
What is md-2-pdf?
Convert markdown files to clean, formatted PDFs using reportlab. It is an AI Agent Skill for Claude Code / OpenClaw, with 2023 downloads so far.
How do I install md-2-pdf?
Run "/install md-2-pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is md-2-pdf free?
Yes, md-2-pdf is completely free (open-source). You can download, install and use it at no cost.
Which platforms does md-2-pdf support?
md-2-pdf is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created md-2-pdf?
It is built and maintained by araa47 (@araa47); the current version is v1.0.0.
More Skills