academic-pdf-to-gfm skillA
academic-pdf-to-gfm is agent-read markdown (skill) from terrylica/cc-skills: Convert academic PDF papers to GitHub-renderable GFM markdown with math equations. TRIGGERS - PDF, GitHub markdown, math.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Academic PDF → GitHub GFM Conversion
A battle-tested workflow for converting academic/research PDF papers into GitHub-renderable GFM markdown with inline figures, mathematically correct LaTeX, and validated output.
**Battle-tested on**: López de Prado (2026) "How to Use the Sharpe Ratio" — 51 pages, 82 equations, 8 figures.
> **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
## Quick Start — Per-Page Routing Workflow
**Do NOT try to apply a single extraction method to the entire PDF.** Modern academic papers mix text, tables, and figures; route each page individually.
### Step 1: Render all pages at 300 DPI
```bash
# Generate PNG for every page at 300 DPI
uv run --python 3.14 --with pymupdf python3 << 'EOF'
import fitz, os
doc = fitz.open('paper.pdf')
os.makedirs("pages", exist_ok=True)
for i in range(len(doc)):
pix = doc[i].get_pixmap(matrix=fitz.Matrix(300/72, 300/72), alpha=False)
pix.save(f"pages/page{i:04d}.png")
print(f"Page {i}: {pix.width}×{pix.height}")
EOF
```
…Read the whole file at its exact version.
How to install
mdr add terrylica/cc-skills/academic-pdf-to-gfm@git:20260731.e3d07a3mdr add terrylica/cc-skills/academic-pdf-to-gfm@sha256:04320d55ce38f445Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_7ghfpvitjke2url2)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260731.e3d07a3 latest | 2026-07-31 | e3d07a3 | 30,534 B | A | view · diff |
| git:20260731.4848d18 | 2026-07-31 | 4848d18 | 23,311 B | A | view · diff |
| git:20260527.1b5cbb2 | 2026-05-27 | 1b5cbb2 | 20,874 B | A | view · diff |
| git:20260506.fd8a4c9 | 2026-05-06 | fd8a4c9 | 20,874 B | A | view · diff |
| git:20260401.d376871 | 2026-04-01 | d376871 | 21,743 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 (30534 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
terrylica/cc-skills · 74 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7ghfpvitjke2url2 GET https://markdownregistry.com/api/v1/resolve?ref=terrylica/cc-skills/academic-pdf-to-gfm GET https://markdownregistry.com/api/v1/blob/04320d55ce38f4458c26f72fc0f008f20d4be7a454738f0c99989f61f13bf023
Your agent 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.