Convert trusted local documents to Markdown with a version-pinned Microsoft MarkItDown runtime. Use when the user needs a durable .md artifact, batch-ready extraction, or local conversion of PDF, DOCX, PPTX, XLS/XLSX, Outlook MSG, HTML, CSV, JSON, XML, EPUB, or an explicitly approved ZIP. Prefer native read_file for simple text reading and OCR workflows for scans. Local-only by default: no URLs, MCP, plugins, cloud services, audio/YouTube, or LLM image extraction without separate explicit approval.
Ships in markitdown-local. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use Microsoft MarkItDown as an upstream runtime without vendoring it. This skill adds a narrow local-only wrapper, version pinning, archive limits, and routing rules appropriate for Hermes/OSCEIA.
Pinned runtime:
markitdown==0.1.6
Local extras only:
pdf, docx, pptx, xlsx, xls, outlook
Use when the user wants:
Do not use when:
read_file already returns the needed text and no .md artifact is requested;read_file for directly supported text. Done when the content is readable and no sidecar is needed.Resolve this skill's directory, then run its wrapper. Use the actual skill path in place of <skill-dir>.
env -u PYTHONPATH -u PYTHONHOME -u VIRTUAL_ENV \
uv run --isolated \
--with 'markitdown[pdf,docx,pptx,xlsx,xls,outlook]==0.1.6' \
python '<skill-dir>/scripts/convert_local.py' \
'C:/path/input.docx' \
-o 'C:/path/input.md'
Why clear Python variables: Hermes may export a PYTHONPATH pointing at its own venv. External Python tools can then import incompatible binary packages such as lxml. The clean isolated runtime avoids that collision.
Why not [all]: it installs cloud/audio/YouTube dependencies that this local workflow does not need, and may require pre-release Azure packages.
The wrapper refuses to overwrite by default. Use --force only when replacing the named Markdown file is within the user's requested scope:
python '<skill-dir>/scripts/convert_local.py' input.pdf -o output.md --force
Run it through the same isolated uv run prefix shown above.
ZIP conversion is opt-in because MarkItDown recursively reads members into memory. Use only after confirming that the archive is expected and trusted:
python '<skill-dir>/scripts/convert_local.py' bundle.zip -o bundle.md --allow-archive
The wrapper rejects by default:
Do not weaken these limits merely to make an unknown archive pass.
For several trusted files:
Use collision-safe output names. Two files named report.pdf and report.docx must not silently overwrite the same report.md.
After every conversion:
0..md file exists and is non-empty.read_file.A successful command is not proof of semantic completeness.
Read references/security-and-routing.md before handling archives, externally supplied documents, personal data, or cloud/OCR requests.
Always enforce:
file:/data: URI input;markitdown. The upstream generic API can fetch HTTP/HTTPS and local URIs. The wrapper intentionally exposes only convert_local().--allow-archive and keep limits.v0.1.6e144e0a2be95b34df17433bac904e635f2c5e551See references/pilot-findings.md for the OSCEIA smoke-test evidence behind this wrapper.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/markitdown-local:markitdown-localfrom markitdown-local
npx claudepluginhub osceiatech/skills-osceia --plugin markitdown-local