firecrawl-agent by firecrawl/cli
npx skills add https://github.com/firecrawl/cli --skill firecrawl-agentAI 驱动的自主数据提取。该代理会浏览网站并提取结构化数据(耗时 2-5 分钟)。
# 提取结构化数据
firecrawl agent "extract all pricing tiers" --wait -o .firecrawl/pricing.json
# 使用 JSON 模式获取结构化输出
firecrawl agent "extract products" --schema '{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"}}}' --wait -o .firecrawl/products.json
# 专注于特定页面
firecrawl agent "get feature list" --urls "<url>" --wait -o .firecrawl/features.json
| 选项 | 描述 |
|---|---|
--urls <urls> | 代理的起始 URL |
--model <model> |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 使用的模型:spark-1-mini 或 spark-1-pro |
--schema <json> | 用于结构化输出的 JSON 模式 |
--schema-file <path> | JSON 模式文件的路径 |
--max-credits <n> | 本次代理运行的积分上限 |
--wait | 等待代理完成 |
--pretty | 美化打印 JSON 输出 |
-o, --output <path> | 输出文件路径 |
--wait 以获取内联结果。不使用此选项则返回一个作业 ID。--schema 以获得可预测的结构化输出——否则代理将返回自由格式的数据。--max-credits 来限制花费。scrape——它更快且更便宜。每周安装量
6.5K
代码仓库
GitHub 星标数
207
首次出现
2026年3月10日
安全审计
安装于
codex6.4K
opencode6.3K
gemini-cli6.3K
github-copilot6.3K
cursor6.3K
amp6.3K
AI-powered autonomous extraction. The agent navigates sites and extracts structured data (takes 2-5 minutes).
# Extract structured data
firecrawl agent "extract all pricing tiers" --wait -o .firecrawl/pricing.json
# With a JSON schema for structured output
firecrawl agent "extract products" --schema '{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"}}}' --wait -o .firecrawl/products.json
# Focus on specific pages
firecrawl agent "get feature list" --urls "<url>" --wait -o .firecrawl/features.json
| Option | Description |
|---|---|
--urls <urls> | Starting URLs for the agent |
--model <model> | Model to use: spark-1-mini or spark-1-pro |
--schema <json> | JSON schema for structured output |
--schema-file <path> | Path to JSON schema file |
--max-credits <n> | Credit limit for this agent run |
--wait | Wait for agent to complete |
--pretty | Pretty print JSON output |
-o, --output <path> | Output file path |
--wait to get results inline. Without it, returns a job ID.--schema for predictable, structured output — otherwise the agent returns freeform data.--max-credits to cap spending.scrape — it's faster and cheaper.Weekly Installs
6.5K
Repository
GitHub Stars
207
First Seen
Mar 10, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex6.4K
opencode6.3K
gemini-cli6.3K
github-copilot6.3K
cursor6.3K
amp6.3K
83,400 周安装