firecrawl-crawl
GitHub用于批量抓取网站内容,支持按路径限制和深度控制。通过CLI执行爬取任务,获取页面数据并保存为JSON文件,适用于文档提取或全站内容收集场景。
Trigger Scenarios
Install
npx skills add firecrawl/cli --skill firecrawl-crawl -g -y
SKILL.md
Frontmatter
{
"name": "firecrawl-crawl",
"description": "Bulk-extract many pages from one site or section. Use for \"crawl\", \"everything under \/docs\", or content spanning linked pages.\n",
"allowed-tools": [
"Bash(firecrawl *)",
"Bash(npx firecrawl-cli *)"
]
}
firecrawl crawl
Bulk extract content from a website. Crawls pages following links up to a depth/limit.
Prerequisite: crawl requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
Quick start
# Crawl a docs section
firecrawl crawl "<url>" --include-paths /docs --limit 50 --wait -o .firecrawl/crawl.json
# Full crawl with depth limit
firecrawl crawl "<url>" --max-depth 3 --wait --progress -o .firecrawl/crawl.json
# Check status of a running crawl
firecrawl crawl <job-id>
Run firecrawl crawl --help for the full option list.
Done when: the crawl reaches a terminal status and the saved output under .firecrawl/ contains the expected pages.
Tips
- Use
--waitwhen you need the results immediately. It has no default timeout; use--timeout <seconds>to bound polling. Without--wait, crawl returns a job ID for async polling. - Scope crawls with
--include-pathswhenever the request names a section — crawl only the pages you need. - Crawl consumes credits per page. Check
firecrawl credit-usagebefore large crawls (credit-usagerequires authentication).
See also
- firecrawl-scrape — scrape individual pages
- firecrawl-map — discover URLs before deciding to crawl
- firecrawl-download — download site to local files (uses map + scrape)
- firecrawl-build-scrape — building bulk extraction into an app instead of running it here
Version History
-
86aaf06
Current 2026-08-27 16:51
重构技能文档结构:移除过时的CLI选项表,替换为帮助命令指引;删除冗余的使用说明章节;拆分监控相关职责;将否定式指令改为肯定式;增加明确的完成标准;精简描述以优化Token消耗。
-
253abde
2026-08-19 19:06
新增认证前置说明;更新工作流步骤描述;修复链接并优化文档结构。
- 6c50c5d 2026-07-24 11:49


