markitdown

markitdown is a skill for Claude Code, Codex from myths-labs/muse. It costs 41 tokens per session (329 once invoked), scanned A, original, MIT.

A Python utility that converts files such as PDFs, Word documents, spreadsheets, presentations, images, audio, and web pages into Markdown, a plain-text document format.

In plain words
What is it for?
Use it to extract text from documents and other media for analysis, indexing, or use as input to an AI coding workflow.
Why use it?
It gives coding agents a consistent text representation of files they may otherwise struggle to read or search.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to extract text from documents and other media for analysis, indexing, or use as input to an AI coding workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/myths-labs/muse/markitdown
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add myths-labs/muse --skill markitdown
Clone the repo
git clone --depth 1 https://github.com/myths-labs/muse

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for markitdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/myths-labs/muse/markitdown/github.svg)](https://agentmods.dev/skills/myths-labs/muse/markitdown)
Your own site
<a href="https://agentmods.dev/skills/myths-labs/muse/markitdown"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/markitdown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for markitdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/myths-labs/muse/markitdown"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/markitdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 329 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00329
Opus 5.5 $0.00016 $0.00132
Sonnet 5.5 $0.00008 $0.00066
Haiku 4.5 $0.00004 $0.00033

Measured 1mo ago against content hash 0444e36d4a8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

markitdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/toolkit/markitdown/SKILL.md · 68 lines

What it actually says

MarkItDown

MarkItDown is a lightweight Python utility by Microsoft for converting various files to Markdown for use with LLMs.

Capabilities

Converts the following formats to Markdown:

  • PDF
  • PowerPoint (.pptx)
  • Word (.docx)
  • Excel (.xlsx)
  • Images (EXIF & OCR)
  • Audio (Transcription)
  • HTML
  • Text formats (CSV, JSON, XML)
  • YouTube URLs
  • ZIP files

Installation

To use MarkItDown, you first need to install it. It requires Python 3.10+.

pip install "markitdown[all]"

Usage

Command Line

Convert a file and print to stdout:

markitdown path-to-file.pdf

Convert a file and save to output:

markitdown path-to-file.pdf -o document.md

Pipe content:

cat path-to-file.pdf | markitdown

Python API

from markitdown import MarkItDown

md = MarkItDown()
result = md.convert("test.xlsx")
print(result.text_content)

Microsoft Document Intelligence

For better PDF extraction, use Azure Document Intelligence:

markitdown path-to-file.pdf -o document.md -d -e "<endpoint>"
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 68 lines · 41 tokens per session scan A 0444e36d4a8f

Subscribe to this mod's changes

markitdown is a skill published in the GitHub repository myths-labs/muse (37 stars, last pushed 27d ago), licensed MIT. It adds 41 tokens to every session and 329 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ingest

Read web pages and search the web through the workspace Load lane. A query or URL returns document outlines with refs; pass refs back to read the original text of the sections you need, batch several refs in one call, and follow nextRef only while more evidence is needed. Use whenever the user gives a URL, asks you to…

Prismer-AI/PrismerCloud · 132 tokens

markitdown

Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.

K-Dense-AI/scientific-agent-skills · 62 tokens

azure-ai-document-intelligence-ts

Extract text, tables, and structured data from documents using Azure Document Intelligence (@azure-rest/ai-document-intelligence). Use when processing invoices, receipts, IDs, forms, or building custom document models.

microsoft/skills · 47 tokens

azure-ai

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

microsoft/skills · 76 tokens

pkf-writing

Author, update, convert, validate, persist, and render PKF (.pkf) content through message-inline, Library Asset, or Memory Page carriers. Use for structured reports, knowledge pages, delivery cards, or any .pkf body. NOT for recall, memory-graph placement, or curation decisions — those belong to the memory skill.

Prismer-AI/PrismerCloud · 78 tokens

liteparse

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path…

Prismer-AI/PrismerCloud · 173 tokens