markitdown

markitdown is a skill for Claude Code, Codex from K-Dense-AI/scientific-agent-skills. It costs 61 tokens per session (2,745 once invoked), scanned A, original, MIT.

A document-conversion tool that turns PDFs, Office files, web pages, spreadsheets, and other supported inputs into Markdown. Markdown is plain text with simple formatting symbols.

In plain words
What is it for?
Converting local files, streams, and selected web inputs; extracting text from PDFs and images; and preparing documents for search or RAG, a system that retrieves relevant stored text for an AI answer.
Why use it?
It creates searchable, structure-preserving text for analysis, indexing, and use by language models, including from some scanned documents with OCR.

Skill for Claude CodeCodex

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

not rated 44krepo +1.5k today A scan Socket: passSnyk: warnSkillSpector: pass 61 tokens original MIT

Good fit Converting local files, streams, and selected web inputs; extracting text from PDFs and images; and preparing documents for search or RAG, a system that retrieves relevant stored text for an AI answer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/markitdown
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 44,469 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill markitdown
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

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/k-dense-ai/scientific-agent-skills/markitdown/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/markitdown)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/markitdown"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/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/k-dense-ai/scientific-agent-skills/markitdown"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/markitdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,745 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. Third-party audits
  • Socket pass 12 Apr 2026
  • Snyk warn 12 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00061 $0.02745
Opus 5 $0.00030 $0.01373
Sonnet 5 $0.00012 $0.00549
Haiku 4.5 $0.00006 $0.00275

Measured 8d ago against content hash 732ca5ec26a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/batch_convert.py, scripts/convert_literature.py, scripts/inspect_installation.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/markitdown/SKILL.md · 282 lines

How it starts

The opening of the file, as written. The whole thing — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MarkItDown

Overview

MarkItDown is Microsoft's lightweight Python utility for turning common documents into structure-preserving Markdown. Its output is designed primarily for indexing, text analysis, search, and LLM ingestion—not high-fidelity visual reproduction.

This skill targets MarkItDown 0.1.6, released May 26, 2026. New code should use result.markdown; result.text_content remains only as a soft-deprecated compatibility alias.

Choose the Right Path

Need Recommended path
Trusted local PDF, Office, HTML, CSV, EPUB, or ZIP Built-in converter with convert_local()
Uploaded bytes or an already-open file convert_stream() with StreamInfo hints
Remote HTTP(S) input Validate and fetch it yourself, then call convert_response()
Scanned PDF or text inside embedded images Official markitdown-ocr vision plugin, Azure Document Intelligence, or Azure Content Understanding
Video, structured fields, or custom multimodal extraction Azure Content Understanding
Local agent integration Official markitdown-mcp server over STDIO or localhost
Bounding boxes, page coordinates, or screenshots Use a layout-aware parser such as LiteParse instead
PDF merge/split/forms/watermarks Use the pdf skill instead

Installation

Create an isolated environment:

uv venv --python 3.12 .venv
source .venv/bin/activate

Install every built-in feature:

uv pip install "markitdown[all]==0.1.6"

Or install only the converters required by the task:

uv pip install "markitdown[pdf,docx,pptx,xlsx]==0.1.6"

Available extras in 0.1.6 are:

  • pptx, docx, xlsx, xls, pdf, and outlook
  • audio-transcription and youtube-transcription
  • az-doc-intel and az-content-understanding
  • all

Verify the installation:

markitdown --version
python scripts/inspect_installation.py

The [all] extra does not install the separate markitdown-ocr plugin or an OpenAI-compatible client.

Read the full file on GitHub · 282 lines

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. 8d ago First seen · 282 lines · 61 tokens per session scan A 732ca5ec26a4

Subscribe to this mod's changes

markitdown is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (44,469 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 2,745 once invoked, about $0.0003 per session on Opus 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

doc-parse

A document parser that converts PDFs, PowerPoint files, spreadsheets, and Word files into structured Markdown with metadata and a confidence score.

anbeime/skill · 43 tokens

openapi-utilities

Openapi utility services - real-time currency exchange rates, HTML-to-PDF conversion (renders JavaScript), .it domain registration/management, and managed RAG (retrieval-augmented generation over your documents). Use for these one-off utility tasks.

openapi/openapi-skills · 56 tokens

ChatDOC Studio--KnowledgeMate

Create and operate ChatDOC Studio knowledge bases through pdrouter using a Bearer API key and JavaScript helpers. Use when Codex needs to upload one or more PDF/DOC/DOCX files, skip failed files without aborting the whole job, create a knowledge base from successful uploads, or call the ChatDOC Studio knowledge-base…

PaodingAI/skills · 92 tokens

ai-science-vision-rag

ColPali-style Vision RAG: embed rendered PDF pages, retrieve via ColBERT MaxSim, feed top-k pages to Qwen2-VL, no OCR. Use for PDF/document QA over figures and tables, multimodal retrieval, or Recall@k/MRR eval.

Pavel-Kravchenko/Bioinformatics · 65 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

llm-document-extraction

Extract structured data from construction documents using LLMs. Process RFIs, submittals, contracts, specifications. Convert unstructured PDFs to structured JSON/Excel.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 39 tokens