Firecrawl automation

From ComposioHQ/awesome-codex-skills · View interactive version

Firecrawl automation is an AI agent skill from the GitHub repository ComposioHQ/awesome-codex-skills. 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.

How to use this skill

Skill file

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

  1. Add the Composio MCP server to your configuration:

```

https://rube.app/mcp

```

  1. Connect your Firecrawl account when prompted. The agent will provide an authentication link.
  2. 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:

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:

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:

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:

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:

Example prompt: "Map all URLs on docs.example.com, focusing on API reference pages"


6. Monitor and Manage Crawl Jobs

Track crawl progress, retrieve results, and cancel runaway jobs.

Tools: FIRECRAWL_CRAWL_GET, FIRECRAWL_GET_THE_STATUS_OF_A_CRAWL_JOB, FIRECRAWL_CANCEL_A_CRAWL_JOB

Both require the crawl job id (UUID) returned when the crawl was initiated.

Example prompt: "Check the status of crawl job 019b0806-b7a1-7652-94c1-e865b5d2e89a"


Known Pitfalls


Quick Reference

| Tool Slug | Description |

|---|---|

| FIRECRAWL_SCRAPE | Scrape a single URL with format/action options |

| FIRECRAWL_CRAWL_V2 | Crawl a website with depth/path control |

| FIRECRAWL_EXTRACT | Extract structured data with AI prompt/schema |

| FIRECRAWL_BATCH_SCRAPE | Batch scrape multiple URLs concurrently |

| FIRECRAWL_MAP_MULTIPLE_URLS_BASED_ON_OPTIONS | Discover/map all URLs on a site |

| FIRECRAWL_CRAWL_GET | Get crawl job status and results |

| FIRECRAWL_GET_THE_STATUS_OF_A_CRAWL_JOB | Check crawl job progress |

| FIRECRAWL_CANCEL_A_CRAWL_JOB | Cancel an active crawl job |

| FIRECRAWL_EXTRACT_GET | Get extraction job status and results |

| FIRECRAWL_CRAWL_PARAMS_PREVIEW | Preview crawl parameters before starting |

| FIRECRAWL_SEARCH | Web search + scrape top results |


Powered by Composio

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.