Pdf2md Skill — AI skill for Claude Code
A Claude Code / Cursor skill that converts any PDF into clean, structured Markdown using LLM vision.
How to install Pdf2md Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yuhaoliu7456/pdf2md-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pdf2md Skill does
A Claude Code / Cursor skill that converts any PDF into clean, structured Markdown using LLM vision.
Alternatives in AI
- AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
- Agent Rules Books — AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k ★
- Claude To ChatGPT — This project converts the API of Anthropic's Claude model to the OpenAI Chat API format 1.3k ★
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
Claude Fable 5 System Prompt Clean
the optimized, token-efficient version of the leaked Claude Fable 5 / Mythos 5 system prompt. Re-engineered in
LLM Codes
Transform developer documentation to clean Markdown
Nab
Token-lean web microfetch for LLM agents: any URL → clean markdown via CLI, MCP server, and Claude Code plugin
Whisperx Transcribe
Claude Code skill/plugin: transcribe audio & video into clean, speaker-labeled Markdown via WhisperX, so an LL
Vault Organizer
Clean up, organize and index any markdown knowledge base (Obsidian/PARA) with Karpathy's 3-layer LLM-wiki meth
Mdscript
A template language for composable LLM prompt engineering. Write prompts with variables, loops, conditionals,
Related Agents
Architecture Writer
Introspects a codebase and its docs and writes an evidence-based architecture analysis report (Markdown with e
Agentic Auditor
PYA specialist spawned by the /pya orchestrator. Audits AI agent and LLM surfaces in an untrusted repository:
Load Test Generator
Use this agent to generate K6 load test scripts from markdown specs. Converts natural language load test speci