Skip to content
firecrawl-agent logo

Firecrawl Agent Skill

firecrawl-agent

Perform autonomous deep web research using Firecrawl's agent. Searches, navigates, and extracts data from websites without needing URLs. Use when users need web research, company information, competitive analysis, or structured data extraction from the web.

SKILL.md

Full skill instructions

Firecrawl Agent Skill

This skill enables autonomous deep web research using Firecrawl's /​agent endpoint. The agent can search, navigate, and extract structured data from websites without requiring URLs upfront.

When to Use This Skill

Use this skill when you need to:

  • Research companies - Find founders, funding, employee counts, tech stacks
  • Gather competitive intelligence - Compare products, pricing, features
  • Extract structured data - Get specific information in a defined schema
  • Answer questions requiring web research - When information isn't in your knowledge base

Quick Start

Run a simple research query:

cd firecrawl-agent/​scripts
python firecrawl_agent.py "Find the founders and founding year of Anthropic"

Prerequisites

  1. Install dependencies:

    pip install -r scripts/​requirements.txt
    
  2. Set API key:

    export FIRECRAWL_API_KEY=your_api_key_here
    

    Get your API key at: https://www.firecrawl.dev/

Usage

Basic Research (No Schema)

python scripts/​firecrawl_agent.py "What are the main features of Notion?"

Research with Structured Output

For predictable, structured responses, provide a JSON schema:

python scripts/​firecrawl_agent.py \
  "Find information about Stripe" \
  --schema '{"company_name": "string", "founded_year": "number", "founders": ["string"], "headquarters": "string"}'

Command Line Options

OptionDescriptionDefault
promptYour research query (required)-
--schemaJSON schema for structured outputNone
--modelModel to use: spark-1-mini or spark-1-prospark-1-mini
--urlsComma-separated starting URLsNone
--max-creditsMaximum credits to spend50

Model Selection

  • spark-1-mini (default): Faster, cheaper, good for straightforward queries
  • spark-1-pro: More capable, better for complex research requiring deeper navigation
# Use pro model for complex research
python scripts/​firecrawl_agent.py \
  "Compare the pricing tiers of Notion, Coda, and Obsidian" \
  --model spark-1-pro

Providing Starting URLs

If you know relevant URLs, provide them to focus the search:

python scripts/​firecrawl_agent.py \
  "Extract the pricing information" \
  --urls "https://stripe.com/​pricing,https://stripe.com/​enterprise"

Common Use Cases

Company Research

python scripts/​firecrawl_agent.py \
  "Research Anthropic: founders, funding rounds, key products, and employee count" \
  --schema '{"name": "string", "founders": ["string"], "funding_total": "string", "products": ["string"], "employee_count": "string"}'

Product Comparison

python scripts/​firecrawl_agent.py \
  "Compare Vercel and Netlify deployment platforms" \
  --model spark-1-pro

Contact Information

python scripts/​firecrawl_agent.py \
  "Find contact information for Acme Corp" \
  --schema '{"email": "string", "phone": "string", "address": "string", "social_links": ["string"]}'

Output Format

The script outputs JSON with the following structure:

{
  "success": true,
  "status": "completed",
  "data": {
    // Your extracted data here
  },
  "sources": [
    "https://example.com/​page1",
    "https://example.com/​page2"
  ],
  "credits_used": 12
}

Error Handling

Common errors and solutions:

ErrorCauseSolution
FIRECRAWL_API_KEY not setMissing API keyExport the environment variable
Rate limit exceededToo many requestsWait and retry, or upgrade plan
Credit limit reachedmaxCredits exceededIncrease --max-credits or simplify query
Invalid schemaMalformed JSON schemaValidate your JSON syntax

Cost Management

  • The agent uses credits based on complexity and pages visited
  • Free tier: 5 runs per day
  • Set --max-credits to cap spending:
    python scripts/​firecrawl_agent.py "Research topic" --max-credits 25
    

Reference Documentation

  • See references/​REFERENCE.md for complete API parameter documentation
  • See references/​SCHEMAS.md for common schema patterns
  • See assets/​example_schemas/ for ready-to-use Pydantic models

Notes

  • Firecrawl agent is in "research preview" - pricing is dynamic
  • Results are available for 24 hours after completion
  • Complex queries may take 30-60 seconds to complete

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View