utility-markitdown
Skill2 starsChanged 4 months agoMITView on GitHub
Convert documents (PDF, DOCX, XLSX, PPTX, images, HTML, CSV, JSON, XML, ZIP, EPUB, YouTube) into clean Markdown so Claude can actually read their contents. Primary trigger — Jacob drops a Word / Excel / PowerPoint / PDF into a `4 - Projects/[name]/` folder to kick off project work; Claude must convert it first before doing anything else, otherwise it can't read the source. Also use whenever Jacob asks to "extract", "read", "summarise", "pull from", "what does this say", or just shares a non-text file path expecting Claude to engage with the contents. Does NOT handle voice / audio (use utility-transcribe — different pipeline, pushes to Notion). Does NOT create or edit documents (use documents-docx / documents-pptx / documents-davila7-xlsx / documents-pdf for authoring).
- Installs packages
In this repository37 other files it gives its agents.
- commercial-insightSkill
- data-requestSkill
- scenario-modelSkill
- duckdbSkill
- intelligence-internal-commsSkill
- market-intelSkill
- sql-reviewSkill
- xlsxSkill
- docxSkill
- pdfSkill
- pptxSkill
- theme-factorySkill
- thinkcellSkill
- clevel-reviewSkill
- exec-commsSkill
- partner-reviewSkill
- working-constructSkill
- route-taskSkill
- pm-customer-journeySkill
- pm-exec-onboardingSkill
- pm-problem-statementSkill
- pm-proto-personaSkill
- pm-storyboardSkill
- pm-user-storySkill
- kanban-curateSkill
- epic-builderSkill
- exec-summarySkill
- steerco-packSkill
- program-trackerSkill
- weekly-reviewSkill
- book-deskSkill
- draw-excalidraw-diagramSkill
- mcp-builderSkill
- notion-workboardSkill
- smartsheetSkill
- utility-transcribeSkill
- writing-humanizerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If cleaned/ doesn't exist yet, create it.
- Very specific: line 55
Only for small files where the full content is needed in the conversation immediately.
- Distinctive: line 59
When Jacob drops several files into a project, batch them:
- Very specific: line 91
Large files: Always use -o for files that would produce more than a few hundred lines of markdown.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
utility-markitdown
Microsoft's MarkItDown, installed as a CLI. Turns binary documents into plain Markdown so their content can be read, quoted, analysed, or fed into downstream skills.
The workflow this skill is built for
Jacob's standard ingest pattern:
- He drops a source file into a project folder — typically
4 - Projects/[project-name]/raw/(or sometimes loose in the project root if the project is fresh). The source is usually.docx,.pptx,.xlsx, or.pdf. - He asks Claude to do something with it — analyse, summarise, draft a response, extract a table, etc. Sometimes he just says "have a look" or refers to the file by name.
- Claude can't read the binary directly. This skill is the gate: convert the source to
.mdfirst, then do the work.
Voice files follow a different pipeline — they go in 5 - Voice Files/ and are handled by utility-transcribe (Whisper + Notion push). Don't use markitdown for audio.
Default convention — where the .md lives
Inside a project folder, follow the existing Analyst structure:
| Source file lives in… | Write the converted .md to… |
4 - Projects/[name]/raw/source.docx | 4 - Projects/[name]/cleaned/source.md |
4 - Projects/[name]/source.docx (loose) | 4 - Projects/[name]/cleaned/source.md (create cleaned/ if missing) |
| Outside a project folder | Sibling to the source: source.docx → source.md |
If cleaned/ doesn't exist yet, create it. Then append a ## Ingest — [date] entry to the project's log.md (per the project log convention) noting:
- Source file (path, file size, page/sheet/slide count if known)
- Output
.mdpath - Anything markitdown failed on (scanned PDF pages, complex tables, etc.)
For one-off / outside-a-project conversions, skip the log step.
Usage
Installed binary: <workspace>/.local/bin/markitdown (on PATH, just markitdown).
Convert a single file → save alongside
markitdown "/path/to/source.docx" -o "/path/to/cleaned/source.md"This is the default for project work. Always use -o rather than piping to stdout for project ingest — it gives you a re-readable artefact and avoids dumping huge content into the conversation.
Convert and read inline (small files only)
markitdown "/path/to/short.docx"Only for small files where the full content is needed in the conversation immediately. For anything more than ~200 lines, write to a file and Read it.
Convert a folder of dropped files
When Jacob drops several files into a project, batch them:
cd "<workspace>/4 - Projects/[project-name]"
mkdir -p cleaned
for f in raw/*.{docx,pptx,xlsx,pdf}; do
[ -e "$f" ] || continue
out="cleaned/$(basename "${f%.*}").md"
markitdown "$f" -o "$out"
donePython API (only when CLI won't do)
from markitdown import MarkItDown
text = MarkItDown().convert("/path/to/file.pdf").text_contentFor LLM-assisted image captions inside PPTX or image files, pass an OpenAI client with llm_model="gpt-4o". Rarely needed for routine ingest.
Supported formats
PDF, PowerPoint (.pptx), Word (.docx), Excel (.xlsx / .xls), images (EXIF + OCR), HTML, CSV, JSON, XML, ZIP (iterates contents), YouTube URLs, EPUB, Outlook .msg. Skip audio — use utility-transcribe.
Gotchas
- Python version. markitdown needs Python 3.10+; the project
.venvis 3.9. Don'tpip install markitdowninto the project venv — it silently resolves to a stale 0.0.1a1 alpha. The CLI installed viauv tool installis the only correct entry point. - Scanned PDFs. Built-in PDF converter is text-layer only. If the result is empty or gibberish, the PDF is scanned — flag this to Jacob and offer Azure Document Intelligence (
-d -e "<endpoint>") or another OCR step. - Excel fidelity. Cells convert to Markdown tables — formulas are evaluated values, not formulas. If the structure of the workbook matters (formulas, named ranges, cell references), use
documents-davila7-xlsxinstead of markitdown. - PowerPoint speaker notes. Captured. Slide images are not described unless
llm_clientis wired in via the Python API. - Encoding in stdout. Some shells mangle em dashes / smart quotes when piped. If the conversation shows
‚Äîinstead of—, write to a file with-oandReadit — the file itself is fine. - Large files. Always use
-ofor files that would produce more than a few hundred lines of markdown. Dumping megabytes into a conversation wastes context. - YouTube. Pass URL directly:
markitdown "https://youtu.be/...". Returns the transcript if one exists.
Reinstall / upgrade
uv tool upgrade markitdown
# or
uv tool install --reinstall 'markitdown[all]' --python 3.12Triggers — when to reach for this skill
- Jacob says: "have a look at [file]", "what does this say", "summarise this deck", "pull the key terms", "extract the table from", "convert to markdown", "markitdown this".
- A file path with
.docx/.pptx/.xlsx/.pdfappears in a request and the task requires reading the contents. - A project folder under
4 - Projects/has new non-text files inraw/(or loose in the project root) that haven't been converted yet, and Jacob is asking Claude to act on them. - Scenarios where the next skill (
analysis-commercial-insight,analysis-scenario-model,intelligence-market-intel, etc.) needs the source as text — markitdown is the upstream conversion step.
When NOT to use
- Audio file →
utility-transcribe. - File is already
.md/.txt/.csv/.sql/ source code → justReadit. - Need to create or edit a document →
documents-docx/documents-pptx/documents-davila7-xlsx/documents-pdf. - Need full visual fidelity (layout, fonts, colours) preserved — markitdown is lossy on visual formatting.
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.

