agentleFS
mckayqsnellmckayqsnell/snell-skills/skills/tools/to-markdown/SKILL.md

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

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. Mathews-Tom/armory★ 340same name
    2. 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.

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
  1. Distinctive:

    After converting, verify the .md is non-empty and skim it — MarkItDown tables from complex layouts can come out mangled.

    line 26

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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)

  1. 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.
  2. Note in one line to the user anything that didn't survive conversion (images, charts, scanned pages you transcribed manually).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.