返回顶部
m

markitdown-skill

OpenClaw agent skill for converting documents to Markdown. Documentation and utilities for Microsoft's MarkItDown library. Supports PDF, Word, PowerPoint, Excel, images (OCR), audio (transcription), HTML, YouTube.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
1,752
下载量
0
收藏
概述
安装方式
版本历史

markitdown-skill

# MarkItDown Skill Documentation and utilities for converting documents to Markdown using Microsoft's [MarkItDown](https://github.com/microsoft/markitdown) library. > **Note:** This skill provides documentation and a batch script. The actual conversion is done by the `markitdown` CLI/library installed via pip. ## When to Use **Use markitdown for:** - 📄 Fetching documentation (README, API docs) - 🌐 Converting web pages to markdown - 📝 Document analysis (PDFs, Word, PowerPoint) - 🎬 YouTube transcripts - 🖼️ Image text extraction (OCR) - 🎤 Audio transcription ## Quick Start ```bash # Convert file to markdown markitdown document.pdf -o output.md # Convert URL markitdown https://example.com/docs -o docs.md ``` ## Supported Formats | Format | Features | |--------|----------| | PDF | Text extraction, structure | | Word (.docx) | Headings, lists, tables | | PowerPoint | Slides, text | | Excel | Tables, sheets | | Images | OCR + EXIF metadata | | Audio | Speech transcription | | HTML | Structure preservation | | YouTube | Video transcription | ## Installation The skill requires Microsoft's `markitdown` CLI: ```bash pip install 'markitdown[all]' ``` Or install specific formats only: ```bash pip install 'markitdown[pdf,docx,pptx]' ``` ## Common Patterns ### Fetch Documentation ```bash markitdown https://github.com/user/repo/blob/main/README.md -o readme.md ``` ### Convert PDF ```bash markitdown document.pdf -o document.md ``` ### Batch Convert ```bash # Using included script python ~/.openclaw/skills/markitdown/scripts/batch_convert.py docs/*.pdf -o markdown/ -v # Or shell loop for file in docs/*.pdf; do markitdown "$file" -o "${file%.pdf}.md" done ``` ## Python API ```python from markitdown import MarkItDown md = MarkItDown() result = md.convert("document.pdf") print(result.text_content) ``` ## Troubleshooting ### "markitdown not found" ```bash pip install 'markitdown[all]' ``` ### OCR Not Working ```bash # Ubuntu/Debian sudo apt-get install tesseract-ocr # macOS brew install tesseract ``` ## What This Skill Provides | Component | Source | |-----------|--------| | `markitdown` CLI | Microsoft's pip package | | `markitdown` Python API | Microsoft's pip package | | `scripts/batch_convert.py` | This skill (utility) | | Documentation | This skill | ## See Also - [USAGE-GUIDE.md](USAGE-GUIDE.md) - Detailed examples - [reference.md](reference.md) - Full API reference - [Microsoft MarkItDown](https://github.com/microsoft/markitdown) - Upstream library

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 markitdown-skill-1776420077 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 markitdown-skill-1776420077 技能

通过命令行安装

skillhub install markitdown-skill-1776420077

下载 Zip 包

⬇ 下载 markitdown-skill v1.0.1

文件大小: 10.68 KB | 发布时间: 2026-4-17 19:45

v1.0.1 最新 2026-4-17 19:45
Fixed metadata: added requires.bins, clarified skill provides docs + batch script (converter is Microsoft's pip package)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部