to-markdown
Skill2 starsChanged 26 days agoMITView on GitHub
Convert files to Markdown — PDFs, images, Word/PowerPoint/Excel docs, HTML, audio, and other media — so their content can be used as lightweight AI context. Use when the user says "/to-markdown", "to markdown", "convert this PDF/image/doc", or wants file contents extracted into .md files.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
- bmad-labs/skillstheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Mathews-Tom/armory★ 340same name
- bmad-labs/skills★ 19same 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.
- html-explainSkill
- html-house-styleSkill
- html-planSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
After converting, verify the .md is non-empty and skim it — MarkItDown tables from complex layouts can come out mangled.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
to-markdown
Convert the given file(s) to Markdown. Goal: capture roughly all the information, not pixel-perfect fidelity. Unless told otherwise, write the output next to the source with the same basename and a .md extension (Benefits Guide.pdf → Benefits Guide.md). If given a directory, convert every supported file in it.
By file type
PDF, DOCX, PPTX, XLSX, HTML, CSV, EPUB, audio — use MarkItDown (Microsoft, https://github.com/microsoft/markitdown). No install needed with uv:
uvx --from 'markitdown[all]' markitdown "input.pdf" -o "output.md"(markitdown[pdf] is enough if only converting PDFs.)
Images (png/jpg/webp/heic, screenshots, photos of documents) — MarkItDown only extracts EXIF/OCR fragments. Instead, read the image directly with your vision and transcribe it yourself into Markdown: reproduce headings, tables, and lists; describe charts/diagrams in prose.
Scanned PDFs — if MarkItDown's output is empty or near-empty, the PDF is an image scan. Read the PDF directly (vision) and transcribe it to Markdown yourself, same as an image.
Quality checks (always)
- After converting, verify the .md is non-empty and skim it — MarkItDown tables from complex layouts can come out mangled. If a table is garbled but legible, leave it; if information was lost, re-read the source and fix that section by hand.
- Note in one line to the user anything that didn't survive conversion (images, charts, scanned pages you transcribed manually).
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.

