markdown-to-pdf SKILL.md skillA
markdown-to-pdf from staskh/trading_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add staskh/trading_skills/markdown-to-pdf@git:20261108.4b22edaPins git:20261108.4b22eda in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- staskh/trading_skills
- Path
.claude/skills/markdown-to-pdf/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261108.4b22eda, committed Nov 8, 2026
- First version recorded
- May 21, 2026
- Size
- 2,205 bytes
- Repository stars
- 406
- License
- MIT
Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Markdown to PDF Converter Converts a markdown file to a professionally formatted PDF. Pure Python — no system tools required. ## Dependencies Requires two Python packages (already in `pyproject.toml`): ``` mistune>=3.2 reportlab>=4.0 ``` Install with: `uv sync` (or `pip install mistune reportlab`) ## Instructions ```bash 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) ## Output The script returns JSON with: - `success` — `true` or `false` - `input` — resolved absolute path of the input file - `output` — resolved absolute path of the generated PDF - `error` — error message if `success` is `false` - `generated_at` — NY timezone timestamp - `data_delay` — always `"real-time"` After conversion, tell the user the output PDF path. ## Examples ```bash # Convert sandbox/report.md → sandbox/report.pdf (default output) uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py sandbox/report.md # Explicit output path …
Read the whole file at its exact version.
How to install
mdr add staskh/trading_skills/markdown-to-pdf@sha256:4207c3cd18eeb0deThe line at the top of this page pins the label git:20261108.4b22eda, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mcdfbzkzzmwfkmqi)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 21, 2026 and Nov 8, 2026, about one every 171 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261108.4b22eda latest | 2026-11-08 | 4b22eda | 2,205 B | A | view · diff |
| git:20260521.3cb2db2 | 2026-05-21 | 3cb2db2 | 1,945 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2205 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
staskh/trading_skills · 406 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mcdfbzkzzmwfkmqi GET https://markdownregistry.com/api/v1/resolve?ref=staskh/trading_skills/markdown-to-pdf GET https://markdownregistry.com/api/v1/blob/4207c3cd18eeb0def5375ef64ae3051c70aac3ec27aca3ef4c32d3848272eff0
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from staskh/trading_skills
Every file in staskh/trading_skills