360 Secure SkillHub
360 安全技能中心

firecrawl-parse

通过 Firecrawl 命令行解析本地 PDF、DOCX、XLSX、HTML 等文档,将结果写入 .firecrawl/ 下的 Markdown 文件;可用 -S 生成摘要、用 -Q 针对文档提问,单文件上限 50 MB,需联网使用 Firecrawl 服务。

分类:效率
firecrawl
热度 54.70
最近更新 2026-10-18 21:54:42

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add firecrawl/cli/firecrawl-parse
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
firecrawl-parse
description
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.
allowed-tools
["Bash(firecrawl *)","Bash(npx firecrawl-cli *)"]

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

# Ask a question about the doc
firecrawl parse ./paper.pdf -Q "What are the main conclusions?" \
  -o .firecrawl/paper-qa.md

Then read the output incrementally with head, grep, or rg.

Run firecrawl parse --help for the full option list.

Done when: the markdown, summary, or answer is written under .firecrawl/ and you have inspected it with bounded reads.

Tips

  • Quote paths with spaces: firecrawl parse "./My Doc.pdf" -o .firecrawl/mydoc.md.
  • Max upload size: 50 MB per file.
  • Credits: ~1 per PDF page; HTML is 1 flat.
  • Check .firecrawl/ before re-parsing the same file.
  • To check your credit balance (recommended for batch processing and similar workflows), use firecrawl credit-usage (requires authentication).

See also