markitdown-skill

markitdown-skill is a skill for Claude Code from EthanYoQ/Skill-hub. It costs 79 tokens per session (981 once invoked), scanned B, original, MIT.

A command-line tool for converting files and web content into Markdown, a plain-text format commonly used for technical documents. It supports formats including PDF, Word, PowerPoint, Excel, images, audio, HTML, YouTube, and web pages.

In plain words
What is it for?
Use it to convert documents or URLs to Markdown, extract text from PDFs and images, preserve tables and headings, and transcribe audio or video.
Why use it?
It avoids extracting text and structure separately from different file types. It can also turn image text into words through OCR and spoken audio or video into a transcript.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to convert documents or URLs to Markdown, extract text from PDFs and images, preserve tables and headings, and transcribe audio or video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/markitdown-skill
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 EthanYoQ/Skill-hub --skill markitdown-skill
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Claude Code.

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-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/markitdown-skill/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/markitdown-skill)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/markitdown-skill"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/markitdown-skill/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-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/markitdown-skill"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/markitdown-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 981 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00079 $0.00981
Opus 5.5 $0.00032 $0.00392
Sonnet 5.5 $0.00016 $0.00196
Haiku 4.5 $0.00008 $0.00098

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

Security

Grade B, and why

markitdown-skill scanned grade B with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/batch_convert.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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install tesseract-ocr
archives/user-installed-skills/markitdown-skill/1dbe0b6427269806/markitdown-skill/SKILL.md · 141 lines

How it starts

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

MarkItDown Skill

Documentation and utilities for converting documents to Markdown using Microsoft's MarkItDown library.

Note: This skill provides documentation and a batch script. The actual conversion is done by the markitdown CLI/library installed via pip.

When to Use

Use markitdown for:

  • 📄 Fetching documentation (README, API docs)
  • 🌐 Converting web pages to markdown
  • 📝 Document analysis (PDFs, Word, PowerPoint)
  • 🎬 YouTube transcripts
  • 🖼️ Image text extraction (OCR)
  • 🎤 Audio transcription

Quick Start

# Convert file to markdown
markitdown document.pdf -o output.md

# Convert URL
markitdown https://example.com/docs -o docs.md

Supported Formats

Format Features
PDF Text extraction, structure
Word (.docx) Headings, lists, tables
PowerPoint Slides, text
Excel Tables, sheets
Images OCR + EXIF metadata
Audio Speech transcription
HTML Structure preservation
YouTube Video transcription

Installation

The skill requires Microsoft's markitdown CLI:

pip install 'markitdown[all]'

Or install specific formats only:

pip install 'markitdown[pdf,docx,pptx]'

Common Patterns

Fetch Documentation

markitdown https://github.com/user/repo/blob/main/README.md -o readme.md

Convert PDF

markitdown document.pdf -o document.md

Batch Convert

# Using included script
python ~/.openclaw/skills/markitdown/scripts/batch_convert.py docs/*.pdf -o markdown/ -v

# Or shell loop
for file in docs/*.pdf; do
  markitdown "$file" -o "${file%.pdf}.md"
done

Python API

from markitdown import MarkItDown

md = MarkItDown()
result = md.convert("document.pdf")
print(result.text_content)

Troubleshooting

"markitdown not found"

pip install 'markitdown[all]'

OCR Not Working

# Ubuntu/Debian
sudo apt-get install tesseract-ocr

# macOS
brew install tesseract

Read the full file on GitHub · 141 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 141 lines · 79 tokens per session scan B 47aee272f21a

Subscribe to this mod's changes

markitdown-skill is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 79 tokens to every session and 981 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

markitdown-skill compared with skills from other repositories

markitdown-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markitdown-skillEthanYoQ/Skill-hubSkill122d agoMITB79Claude Code
document-processorvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA65Claude Code, Codex
form-fillerinbharatai/claude-skillsSkill448mo agoMITA22Claude Code, Codex
invoice-creatorinbharatai/claude-skillsSkill448mo agoMITA23Claude Code, Codex
latex-writerinbharatai/claude-skillsSkill448mo agoMITA28Claude Code, Codex
pdfinbharatai/claude-skillsSkill448mo agoMITA30Claude Code, Codex
mvpHarmeet10000/skillsSkill86mo agoMITA0Claude Code, Codex