pi-agent-pi-markitdown
Convert any document to Markdown with Microsoft's markitdown CLI — PDF, DOCX, PPTX, XLSX, images (OCR), audio (transcription), YouTube, HTML, CSV, JSON, XML, EPUB, ZIP
Package details
Install pi-agent-pi-markitdown from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-agent-pi-markitdown- Package
pi-agent-pi-markitdown- Version
1.0.2- Published
- Jul 14, 2026
- Downloads
- 274/mo · 274/wk
- Author
- wwyxin
- License
- MIT
- Types
- extension
- Size
- 15.9 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-agent-pi-markitdown
Convert any document to Markdown using Microsoft's markitdown CLI — as a Pi extension.
Install
pip install 'markitdown[all]' # Required: the conversion engine
pi install npm:pi-agent-pi-markitdown
Then reload Pi (/reload).
Usage
As a tool (LLM auto-calls)
Just ask: "convert this pdf to markdown", "transcribe this mp3", or "get the YouTube transcript".
As a command
/markitdown ~/report.pdf # Convert, output inline
/markitdown -s ~/report.pdf # Convert + save to ~/.pi/output/
/markitdown -s -p deck.pptx # Use third-party plugins
/markitdown -d invoice.pdf # Azure Document Intelligence
/markitdown -k brand.html # Keep base64 images
/markitdown https://youtu.be/xxx # YouTube transcript
/markitdown -l # List installed plugins
Tool parameters (for the LLM)
| Parameter | Type | Description |
|---|---|---|
path |
string (required) | File path or URL |
save |
boolean | Save to ~/.pi/output/ |
useDocIntel |
boolean | Azure Document Intelligence |
usePlugins |
boolean | Enable 3rd-party plugins |
keepDataUris |
boolean | Keep base64 images inline |
Supported formats
PDF, DOCX, PPTX, XLSX, HTML, CSV, JSON, XML, EPUB, ZIP, images (OCR/EXIF), audio (transcription), YouTube URLs.
Requirements
- Python 3 +
markitdown(pip install 'markitdown[all]') - Pi coding agent
Source
本扩展基于 coroboros/agent-skills 中的 markitdown skill 移植为 Pi 扩展。
- 原始安装命令:
npx skills add coroboros/agent-skills --skill markitdown - 原始作者:coroboros
License
MIT