← Catalog

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

Extension

Install

Install with PiG

pig install npm:pi-agent-pi-markitdown

Install with Pi

pi install npm:pi-agent-pi-markitdown
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.2 (README.md). PiG does not review it.

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)

ParameterTypeDescription
pathstring (required)File path or URL
savebooleanSave to ~/.pi/output/
useDocIntelbooleanAzure Document Intelligence
usePluginsbooleanEnable 3rd-party plugins
keepDataUrisbooleanKeep 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