Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

microsoft-markitdownmicrosoft MarkItDown 文档

Agent Skill

microsoft-markitdown 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,892

周安装

159

GitHub Stars

公开资料未说明

下载量

1,247
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:microsoft-markitdown(microsoft MarkItDown 文档)
来源仓库:https://github.com/openlark/microsoft-markitdown
安装命令:
openclaw skills install microsoft-markitdown
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install microsoft-markitdown

简介

microsoft MarkItDown 将多种文件格式(PDF、Word、图像等)转换为 Markdown。

  • 适用于文档向量化、知识库构建与 LLM 训练数据预处理场景。
  • 支持批量转换与元数据保留,输出可用于文本分析。
  • 大文件处理可能耗时,建议分片或压缩后上传。
  • 安装于 OpenClaw,调用时需提供源文件路径与输出目录。

SKILL.md

name
microsoft-markitdown
description
Use MarkItDown to convert various files (PDF, Word, Excel, PPT, images, audio, HTML, CSV, JSON, etc.) to Markdown format for LLM processing and text analysis. Also supports content extraction from ZIP archives, YouTube videos, and EPUB e-books.

Microsoft MarkItDown

A Python tool for converting various file types to Markdown format.

Use Cases

Use this skill when users mention scenarios like "convert file to Markdown," "extract document content," "file to Markdown," or "extract text from PDF/Word/Excel."

Installation

pip install 'markitdown[all]'

Optional dependency group installations (to save space):

TagDescription
[pptx]PowerPoint files
[docx]Word files
[xlsx]Excel files
[xls]Legacy Excel files
[pdf]PDF files
[outlook]Outlook emails
[az-doc-intel]Azure Document Intelligence
[audio-transcription]Audio transcription (wav/mp3)
[youtube-transcription]YouTube video transcription

Command Line Usage

# Basic usage: output to stdout
markitdown path-to-file.pdf > document.md

# Specify output file
markitdown path-to-file.pdf -o document.md

# Pipe input
cat path-to-file.pdf | markitdown

# Use Azure Document Intelligence
markitdown path-to-file.pdf -o document.md -d -e "<document_intelligence_endpoint>"

# List installed plugins
markitdown --list-plugins

# Enable plugins
markitdown --use-plugins path-to-file.pdf

Python API Usage

from markitdown import MarkItDown

md = MarkItDown(enable_plugins=False)  # True to enable plugins
result = md.convert("test.xlsx")
print(result.text_content)

With LLM Image Description (Only supports pptx and image files)

from markitdown import MarkItDown
from openai import OpenAI

client = OpenAI()
md = MarkItDown(llm_client=client, llm_model="gpt-4o", llm_prompt="optional custom prompt")
result = md.convert("example.jpg")
print(result.text_content)

With Azure Document Intelligence

from markitdown import MarkItDown

md = MarkItDown(docintel_endpoint="<document_intelligence_endpoint>")
result = md.convert("test.pdf")
print(result.text_content)

Using markitdown-ocr Plugin (OCR for Images Embedded in PDF/DOCX/PPTX/XLSX)

from markitdown import MarkItDown
from openai import OpenAI

md = MarkItDown(
    enable_plugins=True,
    llm_client=OpenAI(),
    llm_model="gpt-4o",
)
result = md.convert("document_with_images.pdf")
print(result.text_content)

Supported Formats Overview

FormatExtensionsDependency Tag
PDF.pdf[pdf]
PowerPoint.pptx[pptx]
Word.docx[docx]
Excel.xlsx / .xls[xlsx] / [xls]
Images.jpg/.png etc.Built-in (OCR requires [audio-transcription] + LLM)
Audio.mp3/.wav[audio-transcription]
HTML.htmlBuilt-in
CSV/JSON/XML.csv/.json/.xmlBuilt-in
ZIP.zipBuilt-in (iterates contents)
YouTubeURL[youtube-transcription]
EPUB.epubBuilt-in
Outlook.msg[outlook]

Agent Execution Workflow

When a user requests file conversion:

  1. Confirm Input File: Obtain the file path.
  2. Install Dependencies: Check if markitdown is installed and suggest installing corresponding dependencies based on the file type if needed.
  3. Execute Conversion:

- Command line: markitdown <file> -o <output.md> - Or Python API.

  1. Return Result: Output the Markdown content or the saved file path.

Notes

  • Python 3.10+ is required.
  • Using a virtual environment is recommended to avoid dependency conflicts.
  • The OCR plugin requires an LLM API Key (e.g., OpenAI).
  • Azure Document Intelligence requires an Azure account configuration.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.64%
按下载量换算993

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills