MarkItDown

MarkItDown is a skill for Claude Code from CarbeneAI/Forge. It costs 72 tokens per session (602 once invoked), scanned A, original, MIT.

A file-conversion tool that turns documents and other media into Markdown, a plain-text format commonly used for notes and documentation. It can process formats such as PDF, Word, PowerPoint, spreadsheets, web pages, images, audio, EPUB, and archives, with optional saving to an Obsidian notes vault.

In plain words
What is it for?
Converting individual files or folders to Markdown, extracting text from images with OCR, transcribing audio, importing documents into Obsidian, and processing supported web or YouTube content.
Why use it?
It removes the manual work of copying content from different file types into reusable text and notes. Batch conversion also helps when importing many files.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Converting individual files or folders to Markdown, extracting text from images with OCR, transcribing audio, importing documents into Obsidian, and processing supported web or YouTube content.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/carbeneai/forge/markitdown/github.svg)](https://agentmods.dev/skills/carbeneai/forge/markitdown)
Your own site
<a href="https://agentmods.dev/skills/carbeneai/forge/markitdown"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/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/carbeneai/forge/markitdown"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/markitdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 602 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.00072 $0.00602
Opus 5.5 $0.00029 $0.00241
Sonnet 5.5 $0.00014 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 3mo ago against content hash 86d00f94cd0d, 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tools/Convert.ts), 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.

.claude/skills/MarkItDown/SKILL.md · 67 lines

How it starts

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

MarkItDown

Convert any document to clean Markdown using Microsoft's markitdown library, with optional save to Obsidian vault.

Supported Formats

PDF, DOCX, PPTX, XLSX, XLS, HTML, CSV, JSON, XML, images (with OCR), audio (with transcription), .msg (Outlook), EPUB, ZIP archives, YouTube URLs, HTTP URLs

Workflow Routing

Action Trigger Behavior
Convert "convert this file to markdown" Convert file → stdout or save to Obsidian
Batch "convert all PDFs in folder" Convert multiple files in batch
Import "import this to obsidian" Convert + save to Obsidian vault

Quick Usage

# Convert a file and print markdown
bun ${PAI_DIR}/skills/MarkItDown/tools/Convert.ts input.pdf

# Convert and save to Obsidian vault
bun ${PAI_DIR}/skills/MarkItDown/tools/Convert.ts input.pdf --obsidian

# Convert with custom output filename
bun ${PAI_DIR}/skills/MarkItDown/tools/Convert.ts input.pdf --obsidian --name "My Notes"

# Convert to specific Obsidian subfolder
bun ${PAI_DIR}/skills/MarkItDown/tools/Convert.ts input.pdf --obsidian --folder "Imports"

# Batch convert all PDFs in a directory
bun ${PAI_DIR}/skills/MarkItDown/tools/Convert.ts ~/Documents/*.pdf --obsidian --folder "PDF-Imports"

Examples

Example 1: Convert PDF to Obsidian

User: "Convert this PDF to markdown and save in Obsidian"
→ Runs Convert.ts with --obsidian flag
→ Converts PDF to markdown via markitdown
→ Saves to ~/Nextcloud/PAI/Obsidian/Imports/<filename>.md
→ Reports success with file path

Example 2: Quick conversion for reading

User: "Can you read this DOCX file?"
→ Runs Convert.ts on the file
→ Returns markdown content to conversation
→ Claude can now analyze/summarize the content

Example 3: Batch import

User: "Import all the slides from my presentations folder to Obsidian"
→ Runs Convert.ts on each .pptx file
→ Saves all to Obsidian vault under Imports/
→ Reports count of files converted

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 67 lines · 72 tokens per session scan A 86d00f94cd0d

Subscribe to this mod's changes

MarkItDown is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 602 once invoked, about $0.0003 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-08-31.

Related

MarkItDown compared with skills from other repositories

MarkItDown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MarkItDownCarbeneAI/ForgeSkill91mo agoMITA72Claude Code
analyzing-malicious-pdf-with-peepdfmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A73Claude Code
html-presentationMathews-Tom/armorySkill3456d agoMITA70Claude Code
md-to-pdfMathews-Tom/armorySkill3456d agoMITA60Claude Code
arxiv-packageMathews-Tom/armorySkill3456d agoMITA105Claude Code
lumen-citationskortix-ai/sunaSkill21kyesterdaynoneA39Claude Code, Codex
lumen-redliningkortix-ai/sunaSkill21kyesterdaynoneA34Claude Code, Codex