文档办公

firecrawl-parse

firecrawl/cli

Convert a local file (PDF, DOCX, XLSX, HTML, …) to markdown, or answer questions about its content. Use whenever the input is a file path, not a URL.

  • 5.1万 次安装
  • 674 星标
  • 收录于

安装命令

npx skills add https://github.com/firecrawl/cli --skill firecrawl-parse

要点

Convert local documents—PDF, DOCX, XLSX, HTML, and more—to clean markdown saved to disk.

  • Supports 8+ file formats including PDF, DOCX, DOC, ODT, RTF, XLSX, XLS, and HTML variants
  • Includes AI-powered summarization (-S flag) and question-answering (-Q flag) to extract insights directly from parsed content
  • Outputs to .firecrawl/ directory to avoid bloating context; handles files up to 50 MB with per-page credit consumption
  • Use for local files only; prefer firecrawl-scrape for URLs

SKILL.md

firecrawl parse

Turn a local document into clean markdown on disk. Supports PDF, DOCX, DOC, ODT, RTF, XLSX, XLS, HTML/HTM.

Quick start

Always save to .firecrawl/ with -o — parsed docs can be hundreds of KB and blow up context if streamed to stdout. Add .firecrawl/ to .gitignore.

mkdir -p .firecrawl

# File → markdown
firecrawl parse ./paper.pdf -o .firecrawl/paper.md

# AI summary
firecrawl parse ./paper.pdf -S -o .firecrawl/paper-summary.md