소스 정보
- 저장소
- YuLaiZ/markitdown-skill
- 최근 소스 활동
- 2026년 3월 26일 10:31
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/YuLaiZ/markitdown-skill --skill markitdown명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | MarkItDown |
| description | 将各种文档格式转换为 Markdown。当用户要求读取、解析 doc、docx、pdf、xls、xlsx、ppt、pptx 等 Office 文档时使用。 |
| allowed-tools | Bash(markitdown *), Bash(libreoffice *) |
使用 markitdown 命令将文档转换为 Markdown 格式。
要求 Python 3.10+,根据需要选择安装:
# 按需安装特定格式支持
pip install 'markitdown[pdf]' # PDF
pip install 'markitdown[docx]' # Word
pip install 'markitdown[pptx]' # PowerPoint
pip install 'markitdown[xlsx]' # Excel
pip install 'markitdown[xls]' # 旧版 Excel
# 安装全部支持(推荐)
pip install 'markitdown[all]'
其他可选依赖:[outlook]、[audio-transcription]、[youtube-transcription]
用于转换旧版 Office 格式(.doc, .ppt):
# Homebrew 安装
brew install --cask libreoffice
# 或手动下载 dmg 安装
# https://www.libreoffice.org/download/download/
| 格式 | 说明 |
|---|---|
.docx | Word 文档 |
.xls / .xlsx | Excel 表格 |
.pptx | PowerPoint 演示文稿 |
.pdf | PDF 文档 |
旧版 Office 格式需要用 libreoffice 转换后再读取:
| 格式 | 转换命令 |
|---|---|
.doc | libreoffice --headless --convert-to docx file.doc |
.ppt | libreoffice --headless --convert-to pptx file.ppt |
markitdown /path/to/file.docx
markitdown /path/to/file.pdf
markitdown /path/to/file.xlsx
# 转换(建议用 --outdir 指定输出目录)
libreoffice --headless --convert-to docx --outdir /path/to/output /path/to/file.doc
# 读取转换后的文件
markitdown /path/to/output/file.docx
markitdown file.pdf -o output.md
用户说:"帮我读取 <源文件路径>"
执行步骤:
libreoffice --headless --convert-to docx --outdir <输出文件目录> <源文件路径>markitdown <输出文件目录>/<文件名>.docx返回的内容就是转换后的 Markdown 文本,可以直接阅读和分析。