Pdf2md Skill
Description
A Claude Code / Cursor skill that converts any PDF into clean, structured Markdown using LLM vision.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
pdf2md-skill
A Claude Code / Cursor skill for converting any PDF into clean, structured Markdown — with equations, tables, and figures intact.
What This Does
**pdf2md-skill** makes PDFs readable for AI agents. Instead of losing tables, mangling equations, or dropping figures, it uses LLM vision to "see" each page and reconstruct the full document as agent-friendly Markdown.
No OCR. No layout heuristics. The LLM is both the reader and the formatter.
Key Features
- Vision-Based Extraction — Renders pages as images, uses LLM vision to read them. No OCR dependency. Works on scanned documents too.
- LaTeX Equation Precision — Distinguishes bold vectors (
\mathbf{x}) from scalars (x), validates bracket nesting, preserves equation numbering. - Smart Table Extraction — Handles multi-level headers, merged cells, preserves bold fidelity from the original PDF.
- Float-Aware Placement — Figures and tables placed after their first textual reference, not at their visual position on the page.
- Semantic Heading Hierarchy — Two-pass approach determines heading levels by document structure, not just font size.
- Cross-Page Continuity — Catches split paragraphs and dropped sentences at page boundaries.
- Metadata Extraction — Authors, affiliations, arXiv IDs structured in a clean blockquote header.
Installation
For Claude Code Users
git clone https://github.com/yuhaoliu7456/pdf2md-skill.git ~/.claude/skills/pdf2md-skill
Or copy manually:
mkdir -p ~/.claude/skills/pdf2md-skill
cp SKILL.md ~/.claude/skills/pdf2md-skill/
For Cursor Users
git clone https://github.com/yuhaoliu7456/pdf2md-skill.git .cursor/skills/pdf2md-skill
Then invoke by asking your agent to convert a PDF to markdown.
Usage
> "Convert this paper to markdown: ~/papers/attention-is-all-you-need.pdf"
> "Parse this PDF and extract all the equations: /path/to/document.pdf"
The skill will:
- Render each
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI