xiaohongshu
xiaohongshu
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.
Full skill instructions
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.
Use this skill when you need to:
Run a simple research query:
cd firecrawl-agent/scripts
python firecrawl_agent.py "Find the founders and founding year of Anthropic"
Install dependencies:
pip install -r scripts/requirements.txt
Set API key:
export FIRECRAWL_API_KEY=your_api_key_here
Get your API key at: https://www.firecrawl.dev/
python scripts/firecrawl_agent.py "What are the main features of Notion?"
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"}'
| Option | Description | Default |
|---|---|---|
prompt | Your research query (required) | - |
--schema | JSON schema for structured output | None |
--model | Model to use: spark-1-mini or spark-1-pro | spark-1-mini |
--urls | Comma-separated starting URLs | None |
--max-credits | Maximum credits to spend | 50 |
spark-1-mini (default): Faster, cheaper, good for straightforward queriesspark-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
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"
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"}'
python scripts/firecrawl_agent.py \
"Compare Vercel and Netlify deployment platforms" \
--model spark-1-pro
python scripts/firecrawl_agent.py \
"Find contact information for Acme Corp" \
--schema '{"email": "string", "phone": "string", "address": "string", "social_links": ["string"]}'
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
}
Common errors and solutions:
| Error | Cause | Solution |
|---|---|---|
FIRECRAWL_API_KEY not set | Missing API key | Export the environment variable |
Rate limit exceeded | Too many requests | Wait and retry, or upgrade plan |
Credit limit reached | maxCredits exceeded | Increase --max-credits or simplify query |
Invalid schema | Malformed JSON schema | Validate your JSON syntax |
--max-credits to cap spending:
python scripts/firecrawl_agent.py "Research topic" --max-credits 25
references/REFERENCE.md for complete API parameter documentationreferences/SCHEMAS.md for common schema patternsassets/example_schemas/ for ready-to-use Pydantic modelsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
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...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
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...
Display project status, active tracks, and next actions
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.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience