export-pdf SKILL.md skillA
export-pdf from martineserios/thebrana is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add martineserios/thebrana/export-pdf@git:20260811.4e0e0e5Pins git:20260811.4e0e0e5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- martineserios/thebrana
- Path
system/skills/export-pdf/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260811.4e0e0e5, committed Aug 11, 2026
- First version recorded
- Apr 6, 2026
- Size
- 5,858 bytes
- Repository stars
- 3
- License
- MIT
Convert a markdown file to PDF using mdpdf. Use when exporting proposals, SOPs, or any markdown document to PDF.
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
# Export PDF — Markdown to PDF Converter
Convert a markdown file to a styled PDF using mdpdf.
## Process
### 1. Parse arguments
If `$ARGUMENTS` is empty, ask the user for the markdown file path. If provided, use it directly (e.g., `/brana:export-pdf propuesta-integracion-payway.md`).
### 2. Resolve path
Resolve the file path:
- If relative, resolve against `$PWD`
- Validate the file exists and has `.md` extension
- If the file doesn't exist, suggest matches using `Glob` with `**/*{slug}*.md`
### 3. Pre-render Mermaid blocks
Check if the source file contains any Mermaid code blocks:
```bash
grep -c '```mermaid' "{source_file}"
```
**If count is 0:** skip this step — no Mermaid blocks found. `render_source` = `{source_file}`.
**If count > 0:**
1. Resolve `mmdc`:
```bash
mmdc_bin=$(which mmdc 2>/dev/null)
```
If empty, warn the user: "Mermaid blocks found but `mmdc` is not installed — they will render as raw code. Install with: `npm install -g @mermaid-js/mermaid-cli` then `ln -sf $(which mmdc) ~/.local/bin/mmdc`". Set `render_source` = `{source_file}` and skip to step 4.
2. Create a temp workspace and copy the source:
```bash
tmp_dir=$(mktemp -d)
…Read the whole file at its exact version.
How to install
mdr add martineserios/thebrana/export-pdf@sha256:4de820fc1131c77cThe line at the top of this page pins the label git:20260811.4e0e0e5, 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_jprtayvkl4kq2r2q)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Apr 6, 2026 and Aug 11, 2026, about one every 42 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260811.4e0e0e5 latest | 2026-08-11 | 4e0e0e5 | 5,858 B | A | view · diff |
| git:20260610.c15894f | 2026-06-10 | c15894f | 5,478 B | A | view · diff |
| git:20260610.be2a852 | 2026-06-10 | be2a852 | 910 B | A | view · diff |
| git:20260406.763893d | 2026-04-06 | 763893d | 727 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 (5858 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
martineserios/thebrana · 3 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jprtayvkl4kq2r2q GET https://markdownregistry.com/api/v1/resolve?ref=martineserios/thebrana/export-pdf GET https://markdownregistry.com/api/v1/blob/4de820fc1131c77c952907a99eacc0d3474bdaa0ab1e880a9832bf1f4f36fe25
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.