pdf-to-markdown
Skill0 starsChanged 6 months agoMITView on GitHub
Converts an attached PDF into a faithful, complete Markdown (.md) file — preserving every paragraph, list, table, footnote, heading, and special character without summarizing, compressing, or omitting content. Use this skill whenever the user wants to convert a PDF to Markdown, extract the full text of a PDF, or turn a PDF (including documents with parallel columns, tables, structured term/word-study blocks, or non-Latin scripts like Hebrew/Greek) into a structured Markdown file. Triggers on phrases like "convert this PDF to Markdown", "extract this PDF", "pasa este PDF a Markdown", or "conviértelo a .md".
10 other projects use a version of this.
Adopted by
Most recently taken up by
- laodao-ai/laodao-skillstheir own version, first seen Sep 26, 2026
- abr4xas/skillstheir own version, first seen Sep 23, 2026
- pamelafox/presentation-skillstheir own version, first seen Sep 2, 2026
- claesbackman/AI-research-feedbacktheir own version, first seen Aug 26, 2026
- yhbcode000/paper-share-skillstheir own version, first seen Aug 10, 2026
- paulmaunders/claude-skill-pdf-to-markdowntheir own version, first seen Jun 10, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- claesbackman/AI-research-feedback★ 491same name
- pamelafox/presentation-skills★ 125same name
- aliceisjustplaying/claude-skill-pdf-to-markdown★ 52same name
- yhbcode000/paper-share-skills★ 43same name
- laodao-ai/laodao-skills★ 4same name
- abr4xas/skills★ 2same name
- Alex-tangt/skill-system★ 2same name
- paulmaunders/claude-skill-pdf-to-markdown★ 2same name
- tbrandenburg/skills★ 1same name
- loongyowl/my-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- claude-skills-versionSkill
- quiz-generatorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
If a section looks repetitive or low-value, include it anyway.
- Distinctive: line 32
When the PDF has parallel columns (two or more blocks of text side by side), read all columns and dump their content sequentially into the …
- Very specific: line 41
Use horizontal rules (---) where the PDF shows a clear visual separation between sections.
- Distinctive: line 46
When the PDF presents a word or term together with structured analysis (root, semantic range, usage, contrast, context, impact, …
- Distinctive: line 92
When the PDF includes blocks at the end of a section or passage such as "Additional brief context", "Possible interpretations", "What does …
- Distinctive: line 107
If the table has column headers, include them as a bold title before the list items:
- Distinctive: line 119
If the text extractor produces corrupted or unreadable Hebrew/Greek, use the visible PDF text as a reference and transcribe it manually …
- Distinctive: line 121
Do not replace special characters with Latin approximations.
- Very specific: line 128
Never use •, ·, or other bullet glyphs directly as Markdown list markers — use only - or numbering.
- Very specific: line 133
Use bold for internal labels within blocks (e.g.
- Very specific: line 134
Use *italics* for transliterated terms or work titles (e.g.
- Distinctive: line 135
Don't add emphasis where the original has none.
- Very specific: line 145
Default filename: <source-basename>.md, derived from the PDF's filename or title.
- Very specific: line 146
If the document is a numbered chapter/unit and the user gives a base name, use <base-name>-capitulo<N>.md (or -chapterN for English …
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PDF to Markdown Skill
Converts an attached PDF document into a Markdown file that preserves all of its content and structure. Fidelity is the priority — this skill is for complete, lossless conversion, not summarization.
Workflow
1. Content preservation — the most important rule
- Copy all text from the PDF, without exception.
- Fix grammatical errors only if it's safe to do so; otherwise leave the text as-is.
- Do not summarize, compress, or omit any paragraph, sentence, list, fact, note, footnote, header, or section — no matter how minor it seems. Losing any information is a serious error.
- If a section looks repetitive or low-value, include it anyway. Deciding what to keep is not your call — that belongs to the document's author.
- When the PDF has parallel columns (two or more blocks of text side by side), read all columns and dump their content sequentially into the Markdown, without skipping any. Order is left-to-right, then top-to-bottom.
2. Structure and hierarchy
- Mirror the heading hierarchy of the original: main title →
#, sections →##, subsections →###, etc. - Preserve the order of content exactly as it appears in the PDF.
- Use horizontal rules (
---) where the PDF shows a clear visual separation between sections.
3. Structured term/keyword analysis blocks
When the PDF presents a word or term together with structured analysis (root, semantic range, usage, contrast, context, impact, application, questions...), wrap the whole analysis in a blockquote so it stays visually grouped:
> ### Term — "Translation"
>
> **Root and word family:**
> [full text, not summarized]
>
> **Semantic range:**
> - point 1
> - point 2
> - does NOT mean: [full text]
>
> **Usage and pattern:**
> [full text]
>
> **Translation contrast:**
> [full text]
>
> **Cultural context and mental image:**
> [full text]
>
> **Interpretive impact:**
> - point 1
> - point 2
>
> **Transformational application:**
> - Mind: [text]
> - Heart: [text]
> - Conduct: [text]
>
> **Reflection / self-examination questions:**
> 1. [full question]
> 2. [full question]Separate each distinct term's blockquote with ---. See
references/term-analysis-block.md for the full template.
Adapt field names/labels to whatever the PDF actually uses — the structure (blockquote, bold sub-labels, nested lists) is what matters, not these exact label names.
4. End-of-section info blocks
When the PDF includes blocks at the end of a section or passage such as "Additional brief context", "Possible interpretations", "What does your heart interpret?", or "Cross- referenced verses" (or equivalents), include all of them with their headings and full text.
5. Tables → lists
Do not use Markdown tables. Whenever the PDF presents information as a table, convert it into a list where each item corresponds to a row:
- [Column A]: [Column B] · [Column C]
- [Column A]: [Column B] · [Column C]If the table has column headers, include them as a bold title before the list items:
**[Header A] / [Header B] / [Header C]**
- [value A]: [value B] · [value C]
- [value A]: [value B] · [value C]6. Hebrew, Greek, and other special characters
- Preserve every character in Hebrew, Greek, or any other non-Latin script exactly as it appears in the PDF.
- If the text extractor produces corrupted or unreadable Hebrew/Greek, use the visible PDF text as a reference and transcribe it manually with fidelity.
- Do not replace special characters with Latin approximations.
7. List formatting
- Bullet lists → use
-. - Numbered lists → use
1.,2., etc. - Sub-lists → indent with 2 spaces.
- Never use
•,·, or other bullet glyphs directly as Markdown list markers — use only-or numbering.
8. Italics, bold, and emphasis
- Use
**bold**for internal labels within blocks (e.g. Root and word family:). - Use
*italics*for transliterated terms or work titles (e.g. hevel, teshuvá). - Don't add emphasis where the original has none.
9. Metadata and footers
- Include any authorship, edition, copyright, or distribution notes that appear in the PDF, as-is, at the start or end of the Markdown according to their position in the original.
10. Output file naming
- Default filename:
<source-basename>.md, derived from the PDF's filename or title. - If the document is a numbered chapter/unit and the user gives a base name, use
<base-name>-capitulo<N>.md(or-chapterNfor English documents) — match the pattern the user specifies. - Save the file to disk in the working directory (or the directory the user specifies) rather than printing the full content inline in chat — the volume of text is typically too large for a readable chat message.
11. Verification before delivering
Before finishing, check:
- Is all the PDF text present, with no omissions?
- Are all term-analysis blocks complete?
- Are there no Markdown tables — only lists?
- Is Hebrew/Greek text intact?
- Are end-of-section blocks (context, interpretations, cross-references) included?
- Does the output file have the correct name and location?
Options the user can specify
| Option | Default | Example |
| Output filename | <source-basename>.md | "guárdalo como Genesis-capitulo1.md" |
| Output directory | working directory | "save it in notas/" |
| Chapter/unit number | none | "this is capítulo 3" |
| Language of output | same as the PDF | (rarely changed — fidelity means keep source language) |
Reference
See references/term-analysis-block.md for the full annotated template for structured
term/word-study blocks (rule 3).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

