Install any skill in seconds. Free to start, no credit card required.
Get Started Free →staskh/markdown-to-pdf
Convert a markdown file to PDF using mistune + reportlab.
Passed 10 of 15 test cases with the skill, and 3 of 15 without it.
and 11 more in the full report
11 fixed5 passed either way7 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
My markdown document contains H1, H2, H3, H4, and H5 headings. Which heading levels are explicitly supported by the conversion script?
| Checked | Without skill | With skill |
|---|---|---|
| States that Headings H1 through H3 are supported | Missed | Passed |
The instructions your model reads when the skill loads.
Converts a markdown file to a professionally formatted PDF. Pure Python — no system tools required.
Requires two Python packages (already in pyproject.toml):
mistune>=3.2
reportlab>=4.0
Install with: uv sync (or pip install mistune reportlab)
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py <input.md> [output.pdf]
input.md — path to the markdown file (required)output.pdf — output path (optional; defaults to same directory and basename as input)The script returns JSON with:
success — true or falseinput — resolved absolute path of the input fileoutput — resolved absolute path of the generated PDFerror — error message if success is falsegenerated_at — NY timezone timestampdata_delay — always "real-time"After conversion, tell the user the output PDF path.
# Convert sandbox/report.md → sandbox/report.pdf (default output)
test cases passed, vs 3 / 15 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.