How this skill is triggered — by the user, by Claude, or both
Slash command
/markdown-file:markdown-fileThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert local files to Markdown using [markitdown](https://github.com/microsoft/markitdown) by Microsoft.
Convert local files to Markdown using markitdown by Microsoft.
Plugin root: this SKILL.md is at
skills/markdown-file/SKILL.mdinside the plugin. All paths below are relative to the plugin root (two directories up from this file). Resolve them from this file's location before running.
Run once before first use:
bash <plugin-root>/setup.sh
PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), HTML, CSV, JSON, XML, images (EXIF/OCR), audio (transcription), EPUB, ZIP archives.
<plugin-root>/.venv/bin/markitdown <input-file> -o <output.md>
Or pipe to stdout:
<plugin-root>/.venv/bin/markitdown <input-file>
<plugin-root>/.venv/bin/markitdown report.pdf -o report.md
<plugin-root>/.venv/bin/markitdown slides.pptx -o slides.md
<plugin-root>/.venv/bin/markitdown data.xlsx -o data.md
<plugin-root>/.venv/bin/markitdown photo.jpg -o photo.md
No Python/venv needed — just Docker:
bash <plugin-root>/run.sh report.pdf -o report.md
The run.sh wrapper auto-detects: uses Docker if available (builds image on first run), falls back to venv. You can also run Docker directly:
docker run --rm -v "$(pwd):/work" cliskills/markdown-file report.pdf -o report.md
Build the image once with: docker build -t cliskills/markdown-file <plugin-root>/
PLUGIN_ROOT by resolving ../.. from this SKILL.md file's pathbash $PLUGIN_ROOT/run.sh <input> [options] — auto-detects Docker or venvbash $PLUGIN_ROOT/setup.sh) and use $PLUGIN_ROOT/.venv/bin/markitdown directly.md if the user wants to see the contentDo NOT use this skill for URLs — use markdown-web instead.
Requires Python 3.10+ (venv mode) or Docker.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub pforret/cli-skills --plugin markdown-file