Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Scrape, crawl, and extract structured data from any website using the Firecrawl CLI.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: firecrawl-agent3description: |4AI-powered autonomous data extraction that navigates complex sites and returns structured JSON. Use this skill when the user wants structured data from websites, needs to extract pricing tiers, product listings, directory entries, or any data as JSON with a schema. Triggers on "extract structured data", "get all the products", "pull pricing info", "extract as JSON", or when the user provides a JSON schema for website data. More powerful than simple scraping for multi-page structured extraction.5allowed-tools:6- Bash(firecrawl *)7- Bash(npx firecrawl *)8---910# firecrawl agent1112AI-powered autonomous extraction. The agent navigates sites and extracts structured data (takes 2-5 minutes).1314## When to use1516- You need structured data from complex multi-page sites17- Manual scraping would require navigating many pages18- You want the AI to figure out where the data lives1920## Quick start2122```bash23# Extract structured data24firecrawl agent "extract all pricing tiers" --wait -o .firecrawl/pricing.json2526# With a JSON schema for structured output27firecrawl agent "extract products" --schema '{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"}}}' --wait -o .firecrawl/products.json2829# Focus on specific pages30firecrawl agent "get feature list" --urls "<url>" --wait -o .firecrawl/features.json31```3233## Options3435| Option | Description |36| ---------------------- | ----------------------------------------- |37| `--urls <urls>` | Starting URLs for the agent |38| `--model <model>` | Model to use: spark-1-mini or spark-1-pro |39| `--schema <json>` | JSON schema for structured output |40| `--schema-file <path>` | Path to JSON schema file |41| `--max-credits <n>` | Credit limit for this agent run |42| `--wait` | Wait for agent to complete |43| `--pretty` | Pretty print JSON output |44| `-o, --output <path>` | Output file path |4546## Tips4748- Always use `--wait` to get results inline. Without it, returns a job ID.49- Use `--schema` for predictable, structured output — otherwise the agent returns freeform data.50- Agent runs consume more credits than simple scrapes. Use `--max-credits` to cap spending.51- For simple single-page extraction, prefer `scrape` — it's faster and cheaper.5253## See also5455- [firecrawl-scrape](../firecrawl-scrape/SKILL.md) — simpler single-page extraction56- [firecrawl-interact](../firecrawl-interact/SKILL.md) — scrape + interact for manual page interaction (more control)57- [firecrawl-crawl](../firecrawl-crawl/SKILL.md) — bulk extraction without AI58