
Firecrawl
- 12 installs
- 82 repo stars
- Updated August 2, 2026
- aaaaqwq/agi-super-skills
This is a copy of firecrawl by aaaaqwq - installs and ranking accrue to the original listing.
firecrawl is a Claude Code skill that wraps the Firecrawl API to scrape pages, extract structured data, batch-crawl sites, and search-and-scrape.
About
firecrawl is a Claude Code skill that wraps the Firecrawl API for web scraping and data extraction. A developer uses it to scrape single pages (including dynamic content), extract structured data against a schema, batch-crawl sites, and search-and-scrape. It ships a shell script exposing scrape, extract, crawl, and search commands, with the API key stored via pass.
- Wraps the Firecrawl API for scraping, extraction, crawling, and search
- Scrape, extract, crawl, and search commands via a bundled shell script
- Supports markdown, html, text, and json output formats
Firecrawl by the numbers
- 12 all-time installs (skills.sh)
- Data as of Aug 3, 2026 (Skillselion catalog sync)
firecrawl capabilities & compatibility
Needs a Firecrawl API key; docs note usage limits depend on your plan.
- Capabilities
- web scraping · web search
- Use cases
- web scraping · web search
- Pricing
- Bring your own API key
What firecrawl says it does
此技能使用 Firecrawl API 提供专业网页抓取能力:
format: markdown (默认), html, text, json
npx skills add https://github.com/aaaaqwq/agi-super-skills --skill firecrawlAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 12 |
|---|---|
| repo stars | ★ 82 |
| Last updated | August 2, 2026 |
| Repository | aaaaqwq/agi-super-skills ↗ |
What it does
Scrape web pages, extract structured data, batch-crawl sites, and search-and-scrape using the Firecrawl API.
Who is it for?
Scraping complex or dynamic pages, extracting structured data, and batch-crawling sites.
Skip if: Sites with strong anti-scraping defenses; the docs note some sites have anti-crawler mechanisms.
When should I use this skill?
You need to scrape a web page, extract structured fields, or crawl a site into markdown.
What you get
Scraped page content or structured data returned in markdown, html, text, or json.
- Scraped page content
- Structured extracted data
- Crawled site data
By the numbers
- 4 commands: scrape, extract, crawl, search
- 4 output formats
Files
Firecrawl 网页抓取
功能说明
此技能使用 Firecrawl API 提供专业网页抓取能力:
- 单页抓取(支持动态内容)
- 结构化数据提取
- 批量网站爬取
- 搜索并抓取
使用方式
1. 抓取单个网页
./scripts/firecrawl.sh scrape <url> [format]- format: markdown (默认), html, text, json
2. 提取结构化数据
./scripts/firecrawl.sh extract <url> <schema>3. 批量爬取网站
./scripts/firecrawl.sh crawl <url> [max_pages]4. 搜索并抓取
./scripts/firecrawl.sh search <query> [limit]API Key
存储在: pass show api/firecrawl
示例
抓取 Polymarket 页面
./scripts/firecrawl.sh scrape "https://polymarket.com/event/fed-decision-in-march-885"提取产品信息
./scripts/firecrawl.sh extract "https://example.com/product" '{"name": "string", "price": "number"}'搜索 AI 新闻
./scripts/firecrawl.sh search "latest AI news" 5注意事项
- Firecrawl 有使用限制(取决于套餐)
- 复杂网页可能需要更长的处理时间
- 某些网站可能有反爬虫机制
#!/bin/bash
# Firecrawl API 调用脚本
# API Key 从 pass 获取
set -e
API_KEY=$(pass show api/firecrawl 2>/dev/null | head -1)
BASE_URL="https://api.firecrawl.dev/v1"
if [ -z "$API_KEY" ]; then
echo "错误: 无法获取 Firecrawl API Key"
echo "请确保已存储: pass insert api/firecrawl"
exit 1
fi
# 通用请求函数
firecrawl_request() {
local endpoint="$1"
local data="$2"
curl -s -X POST "${BASE_URL}${endpoint}" \
-H "Authorization: Bearer ${API_KEY}" \
-H "Content-Type: application/json" \
-d "$data"
}
# 抓取单个网页
scrape() {
local url="$1"
local format="${2:-markdown}"
echo "正在抓取: $url"
echo "格式: $format"
echo "---"
firecrawl_request "/scrape" "{
\"url\": \"$url\",
\"formats\": [\"$format\"],
\"onlyMainContent\": true
}" | jq -r '.data.content // .data.markdown // .'
}
# 提取结构化数据
extract() {
local url="$1"
local schema="$2"
echo "正在提取: $url"
echo "Schema: $schema"
echo "---"
firecrawl_request "/scrape" "{
\"url\": \"$url\",
\"formats\": [\"extract\"],
\"extract\": {
\"schema\": $schema
}
}" | jq '.data.extract // .'
}
# 批量爬取网站
crawl() {
local url="$1"
local max_pages="${2:-10}"
echo "正在爬取: $url"
echo "最大页数: $max_pages"
echo "---"
# 先发起爬取请求
local job_id=$(firecrawl_request "/crawl" "{
\"url\": \"$url\",
\"maxDepth\": 2,
\"limit\": $max_pages,
\"scrapeOptions\": {
\"formats\": [\"markdown\"],
\"onlyMainContent\": true
}
}" | jq -r '.id // .')
if [ "$job_id" == "null" ] || [ -z "$job_id" ]; then
echo "爬取失败"
exit 1
fi
echo "爬取任务已创建: $job_id"
echo "等待完成..."
# 轮询任务状态
local status="scraping"
local attempts=0
local max_attempts=60
while [ "$status" != "completed" ] && [ $attempts -lt $max_attempts ]; do
sleep 2
status=$(curl -s "${BASE_URL}/crawl/${job_id}" \
-H "Authorization: Bearer ${API_KEY}" | jq -r '.status // "unknown"')
echo "状态: $status"
attempts=$((attempts + 1))
done
# 获取结果
if [ "$status" == "completed" ]; then
curl -s "${BASE_URL}/crawl/${job_id}" \
-H "Authorization: Bearer ${API_KEY}" | jq '.data // .'
else
echo "爬取超时"
exit 1
fi
}
# 搜索并抓取
search() {
local query="$1"
local limit="${2:-5}"
echo "正在搜索: $query"
echo "限制: $limit"
echo "---"
firecrawl_request "/search" "{
\"query\": \"$query\",
\"limit\": $limit,
\"scrapeOptions\": {
\"formats\": [\"markdown\"],
\"onlyMainContent\": true
}
}" | jq '.data // .'
}
# 帮助信息
help() {
echo "Firecrawl API 调用脚本"
echo ""
echo "用法:"
echo " $0 scrape <url> [format] 抓取单个网页"
echo " $0 extract <url> <schema> 提取结构化数据"
echo " $0 crawl <url> [max_pages] 批量爬取网站"
echo " $0 search <query> [limit] 搜索并抓取"
echo ""
echo "示例:"
echo " $0 scrape https://example.com"
echo " $0 extract https://example.com '{\"title\": \"string\"}'"
echo " $0 crawl https://example.com 10"
echo " $0 search \"AI news\" 5"
}
# 主入口
case "$1" in
scrape)
scrape "$2" "$3"
;;
extract)
extract "$2" "$3"
;;
crawl)
crawl "$2" "$3"
;;
search)
search "$2" "$3"
;;
*)
help
;;
esac
Related skills
FAQ
What output formats does it support?
The scrape command supports markdown (default), html, text, and json.
Where is the API key stored?
The docs store the Firecrawl API key at pass show api/firecrawl.