C
convert-documents-to-markdown
by @firecrawlv
4.5(120)
此技能可将 Word、PPT、Excel、PDF 等常见办公文档一键转换为 GitHub 风格的 Markdown,支持从标准输入读取或输出到文件,适用于需要提取文档内容进行写作、数据整理或知识管理的场景,帮助用户快速将非结构化文档转化为结构化文本。
安装方式
npx skills add https://github.com/firecrawl/anydoc --skill convert-documents-to-markdowncompare_arrows
Before / After 效果对比
1 组使用前
在没有这个技能之前,用户手动处理一份PDF或Office文档时,需要打开原始文件、逐段复制内容、手动调整标题和表格格式,再粘贴到Markdown编辑器中。一份10页的报告往往耗时30分钟以上,且容易遗漏或出错。
使用后
此技能只需一条命令即可将整个文档自动转换为规范的GitHub风格Markdown,几秒钟内完成,格式保持完整,让用户能立即获得干净、结构化的文本,大幅节省时间并避免手动错误。
SKILL.md
Convert documents to Markdown
Run the anydoc CLI. It needs Node 20+ and no install:
npx -y @firecrawl/anydoc <file> # Markdown to stdout
npx -y @firecrawl/anydoc <file> -o out.md # write to a file
npx -y @firecrawl/anydoc - --format csv < f # read stdin
Rules:
- Supported inputs:
.doc,.docx,.docm,.odt,.rtf,.epub,.pdf,.ppt,.pps,.pot,.pptx,.pptm,.ppsx,.ppsm,.odp,.xls,.xlsx,.xlsm,.xlsb,.ods,.csv. - The format is detected from the file content. Pass
--format <name>only when detection cannot work: CSV from stdin, or a missing or wrong extension. - Exit codes: 0 success, 1 the document could not be converted, 2 usage error. Failures print one
anydoc: <message>line to stderr. The CLI never prompts. - For a large document, write to a file with
-oand read the parts you need instead of streaming everything into context. - Scanned and image-only PDFs need OCR, which anydoc does not do; they fail as unsupported. The hosted Firecrawl Parse API handles those.
- Inside a Node, Python, or Rust codebase, prefer the library over shelling out:
@firecrawl/anydocon npm,firecrawl-anydocon PyPI,anydocon crates.io. Each exposes the sameto_markdown/toMarkdownAPI.
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量12.3K
评分4.5 / 5.0
版本
更新日期2026年10月22日
对比案例1 组
用户评分
4.5(120)
5
37%
4
43%
3
13%
2
5%
1
2%
为此 Skill 评分
0.0
兼容平台
🤖claude-code
时间线
创建2026年8月9日
最后更新2026年10月22日