Firecrawl Automation
它能做什么
这个工具可以帮你自动从网站上收集信息。你可以获取某个页面的内容,也可以扫描整个网站来收集多个页面,或者提取姓名、价格等结构化数据。
适用场景
- ✓当你需要下载网页上的主要文字内容时。
- ✓当你想查看一个网站或某个板块的所有页面时。
- ✓当你需要从多个页面中提取特定数据(比如价格或产品名称)时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/firecrawl-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把 https://example.com/article 这个页面的主要内容提取为纯文本。”
每周 5 个新技能,1 分钟读完。
工作原理
你告诉工具要访问哪个页面或网站,以及想要哪类信息。然后它会访问该网站、收集数据,并以有条理的格式交给你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Firecrawl Automation
Run Firecrawl web crawling and extraction directly from Claude Code. Scrape individual pages, crawl entire sites, extract structured data with AI, batch process URL lists, and map website structures without leaving your terminal.
Toolkit docs: composio.dev/toolkits/firecrawl
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Firecrawl account when prompted. The agent will provide an authentication link.
- Be mindful of credit consumption -- scope your crawls tightly and test on small URL sets before scaling.
Core Workflows
1. Scrape a Single Page
Fetch content from a URL in multiple formats with optional browser actions for dynamic pages.
Tool: FIRECRAWL_SCRAPE
Key parameters:
url(required) -- fully qualified URL to scrapeformats-- output formats:markdown(default),html,rawHtml,links,screenshot,jsononlyMainContent(default true) -- extract main content only, excluding nav/footer/adswaitFor-- milliseconds to wait for JS rendering (default 0)timeout-- max wait in ms (default 30000)actions-- browser actions before scraping (click, write, wait, press, scroll)includeTags/excludeTags-- filter by HTML tagsjsonOptions-- for structured extraction withschemaand/orprompt
Example prompt: "Scrape the main content from https://example.com/pricing as markdown"
2. Crawl an Entire Site
Discover and scrape multiple pages from a website with configurable depth, path filters, and concurrency.
Tool: FIRECRAWL_CRAWL_V2
Key parameters:
url(required) -- starting URL for the crawllimit(default 10) -- max pages to crawlmaxDiscoveryDepth-- depth limit from the root pageincludePaths/excludePaths-- regex patterns for URL pathsallowSubdomains-- include subdomains (default false)crawlEntireDomain-- follow sibling/parent links, not just children (default false)sitemap--include(default),skip, oronlyprompt-- natural language to auto-configure crawler settingsscrapeOptions_formats-- output format for each pagescrapeOptions_onlyMainContent-- main content extraction per page
Example prompt: "Crawl the docs section of firecrawl.dev, max 50 pages, only paths matching docs"
3. Extract Structured Data
Extract structured JSON data from web pages using AI with a natural language prompt or JSON schema.
Tool: FIRECRAWL_EXTRACT
Key parameters:
urls(required) -- array of URLs to extract from (max 10 in beta). Supports wildcards likehttps://example.com/blog/*prompt-- natural language description of what to extractschema-- JSON Schema defining the desired output structureenable_web_search-- allow crawling links outside initial domains (default false)
At least one of prompt or schema must be provided.
Check extraction status with FIRECRAWL_EXTRACT_GET using the returned job id.
Example prompt: "Extract company name, pricing tiers, and feature lists from https://example.com/pricing"
4. Batch Scrape Multiple URLs
Scrape many URLs concurrently with shared configuration for efficient bulk data collection.
Tool: FIRECRAWL_BATCH_SCRAPE
Key parameters:
urls(required) -- array of URLs to scrapeformats-- output format for all pages (defaultmarkdown)onlyMainContent(default true) -- main content extractionmaxConcurrency-- parallel scrape limitignoreInvalidURLs(default true) -- skip bad URLs instead of failing the batchlocation-- geolocation settings withcountrycodeactions-- browser actions applied to each pageblockAds(default true) -- block advertisements
Example prompt: "Batch scrape these 20 product page URLs as markdown with ad blocking"
5. Map Website Structure
Discover all URLs on a website from a starting URL, useful for planning crawls or auditing site structure.
Tool: FIRECRAWL_MAP_MULTIPLE_URLS_BASED_ON_OPTIONS
Key parameters:
url(required) -- starting URL (must behttps://orhttp://)search-- guide URL discovery toward specific page typeslimit(default 5000, max 100000) -- max URLs to returnincludeSubdomains(default true) -- include subdomainsignoreQueryParameters(default true) -- dedupe URLs differing only by query params
…
常见问题
「爬取网站」是什么意思?
就像一个机器人依次访问网站的各个页面,从每一个页面中收集信息。
可以提取表格或列表之类的特定数据吗?
可以。你可以要求提取特定信息,比如产品名称、价格或功能,工具会尽量为你整理好。
如果一个网站有很多页面怎么办?
你可以设置工具最多访问多少个页面,这样它不会耗时太久,也不会因为任务过多而出错。
详情
作者的原始描述
Automate web crawling and data extraction with Firecrawl -- scrape pages, crawl sites, extract structured data, batch scrape URLs, and map website structures through the Composio Firecrawl integration.
热度
- GitHub 星标
- 77k
- 排名
- #2054
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。