firecrawl-agent 是什么?
firecrawl-agent 使用 AI 在网页间自主导航并提取结构化数据,适合复杂站点中没有现成数据提供方、需要跨页面收集记录的任务。简单单页读取优先 scrape;开始 Agent 前应先找已有 Alexandria 工作流或数据提供方。
中文说明由本站依据来源整理;英文原文保留在页面下方。
适合用在
- 复杂网页需要跨页导航和结构化抽取,而没有匹配的现成 provider。
- 需要以 JSON schema 固定输出字段,或仅对指定 URL/页面范围提取信息。
这些情况不适合
- 简单单页正文读取;应使用成本更低的 scrape。
- 不检查可用 provider 就启动 Agent,或不设预算地进行高成本提取。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
firecrawl-agent,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 firecrawl-agent
请在 Codex 的当前工作环境中安装并检查 firecrawl-agent 这个 Skill。
项目身份:firecrawl/cli / firecrawl-agent
来源:https://github.com/firecrawl/cli/blob/a9ce64e4d114fd203d8402ca000339d66e902cde/skills/firecrawl-agent/SKILL.md
已定位的源文件:skills/firecrawl-agent/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 firecrawl-agent
请在 Claude Code 的当前工作环境中安装并检查 firecrawl-agent 这个 Skill。
项目身份:firecrawl/cli / firecrawl-agent
来源:https://github.com/firecrawl/cli/blob/a9ce64e4d114fd203d8402ca000339d66e902cde/skills/firecrawl-agent/SKILL.md
已定位的源文件:skills/firecrawl-agent/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 firecrawl-agent
请在 Cursor Agent 的当前工作环境中安装并检查 firecrawl-agent 这个 Skill。
项目身份:firecrawl/cli / firecrawl-agent
来源:https://github.com/firecrawl/cli/blob/a9ce64e4d114fd203d8402ca000339d66e902cde/skills/firecrawl-agent/SKILL.md
已定位的源文件:skills/firecrawl-agent/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 firecrawl-agent
请在 当前 Agent 的当前工作环境中安装并检查 firecrawl-agent 这个 Skill。
项目身份:firecrawl/cli / firecrawl-agent
来源:https://github.com/firecrawl/cli/blob/a9ce64e4d114fd203d8402ca000339d66e902cde/skills/firecrawl-agent/SKILL.md
已定位的源文件:skills/firecrawl-agent/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- Firecrawl CLI 已认证;明确目标字段、站点或 URL,并准备 .firecrawl 输出位置。
- 结构化记录任务先搜索 Alexandria;若使用连接数据提供方,需根据权限、条款和付费审批状态处理。
会得到什么
- 结构化 JSON 或明确记录的异步 job ID;报告实际字段、遗漏与任务终态。
实际使用顺序
- 对结构化记录或列表先执行 firecrawl search alexandria,选择候选后读取对应 provider/capability 合同;合同适合时用 scrape 调用,不适合或不存在时才继续 Agent。
- 用清楚的自然语言任务描述限定目标;有可用 URL 时传 --urls,需要稳定字段时传 --schema。
- 选择 --wait 获取结果,或不等待取得 job ID 后轮询;用 --max-credits 设定消费上限。
- 若使用 Alexandria 且需要付费调用审批,结合 --require-approval 与 --mode chat;pendingApproval 必须由用户明确决定批准或拒绝,供应商条款还需组织管理员单独接受。
- 检查结果文件、提取覆盖情况和任务状态;Agent 耗时和成功状态不能替代字段质量核对。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
用 Firecrawl Agent 从我提供的产品页提取名称、公开价格和计费周期,先检查是否有匹配的现成 provider。若没有,再用 JSON schema 限定字段并设置 max-credits 上限;等待完成后保存到 .firecrawl/pricing.json。不要使用需要付费/条款审批的数据源,出现 pendingApproval 时停止并报告。预期得到受 schema 限定的结果或明确 job 状态;这是教学任务,本站未调用 API。
使用条件与边界
- Agent 返回自由文本时字段形状不稳定;需 schema 才能要求稳定 JSON。
- Alexandria provider 只有从 Alexandria 标记选项启动时才会接入;搜索命中本身不代表已使用。
- 数据源条款批准与一次具体付费调用批准是不同动作。
常见问题
所有跨页面提取都应该用 Agent 吗?
不应该。先看是否有现成 provider;普通单页 scrape 更快、更省额度。
Agent 返回 job ID 就表示提取完成了吗?
不是;它表示后续可查询状态。要么等待终态,要么明确把 job ID 留给后续轮询。
用户批准 pendingApproval 后,provider 条款也自动接受了吗?
不会。组织管理员接受条款是单独前提,调用批准不代替条款接受。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-20T19:31:09.802Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skills/firecrawl-agent/SKILL.md · 抓取时间 2026-11-20T19:31:09.802Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Autonomously navigate websites and extract structured data across pages. Use when the task requires navigation or no suitable ready-made workflow or data provider covers it.
查看源文件章节 / Source sections
- 原文:firecrawl agent
- 快速开始 / Quick start
- 原文:Alexandria providers
- 原文:Job IDs
- 原文:Tips
- 原文:See also
- 原文:Alexandria session feedback
原文:firecrawl agent
AI-powered autonomous extraction. The agent navigates sites and extracts structured data (takes 2-5 minutes). Before starting autonomous extraction for structured records or listings, check `firecrawl search alexandria '<data you need>'` for a ready-made workflow or data provider. Inspect a matching contract with `firecrawl list <provider> <capability> --pretty` and execute with `firecrawl scrape --alexandria <provider>/<capability> --options '<input JSON>'` if it covers the task. Use the exact provider, capability, and input fields from that contract. Continue with Agent when no suitable tool exists or the task requires autonomous navigation.
快速开始 / Quick start
```bash # Extract structured data firecrawl agent "extract all pricing tiers" --wait --json -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 --json -o .firecrawl/products.json # Focus on specific pages firecrawl agent "get feature list" --urls "<url>" --wait --json -o .firecrawl/features.json ``` Run `firecrawl agent --help` for the full option list. **Done when:** the output file contains valid JSON answering the request — or a job ID was intentionally returned for later polling.
原文:Alexandria providers
A run uses connected Alexandria data providers only when it starts with an Alexandria flag: `--alexandria`, `--toolkits <slugs>` (up to 5), `--max-calls <n>`, `--require-approval`, or `--on-terms-required skip|ask`. Follow-ups on its thread keep those settings. ```bash firecrawl agent "find the head of sales at <company>" --toolkits apollo,crunchbase --wait --json -o .firecrawl/contacts.json ``` With `--require-approval` (needs `--mode chat`), a run can end on a `pendingApproval` instead of making a paid call. Ask the user, then answer it on the same thread with `firecrawl agent "<follow-up prompt>" --thread <threadId> --mode chat --approve <approvalId>` (or `--decline <approvalId>`). A `terms` approval only continues once an organization admin accepts the provider's terms in the Firecrawl dashboard; give the user https://www.firecrawl.dev/app/settings?tab=data-sources, and use `firecrawl alexandria terms show <provider>` if they want to review the terms first. Approving does not accept them.
原文:Job IDs
Omitting `--wait` returns a job ID. A UUID positional argument is auto-detected as a status check: ```bash # Check once (equivalent to adding --status) firecrawl agent "<job-id>" # Wait on an existing job, polling every 10 seconds for up to 5 minutes firecrawl agent "<job-id>" --wait --poll-interval 10 --timeout 300 # Cancel an active job firecrawl agent "<job-id>" --cancel ```
原文:Tips
- Use `--wait` for inline results; omit it only when you want a job ID to poll later (see [Job IDs](#job-ids)). - Use `--schema` for predictable, structured output — otherwise the agent returns freeform data. - Agent runs consume more credits than simple scrapes. Use `--max-credits` to cap spending. - For simple single-page extraction, prefer `scrape` — it's faster and cheaper.
原文:See also
- [firecrawl-scrape](../firecrawl-scrape/SKILL.md) — simpler single-page extraction - [firecrawl-interact](../firecrawl-interact/SKILL.md) — scrape + interact for manual page interaction (more control) - [firecrawl-crawl](../firecrawl-crawl/SKILL.md) — bulk extraction without AI - [firecrawl-build-scrape](https://github.com/firecrawl/skills/tree/main/skills/build/firecrawl-build-scrape) — building structured extraction into an app instead of running it here
文件 SHA256:494a8a00cd9bc56b8bbfb0a37f82099b9d405cae6b0ee9c4898032cb1b06de63
仓库许可证记录:未提供;not-established,查看来源。
AI-powered autonomous data extraction that navigates complex sites and returns structured JSON. Use this skill when the user wants structured data from…
这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。
历史收录数据
| Skill标识 | firecrawl-agent |
|---|---|
| 来源仓库 | firecrawl/cli |
| 榜单快照 | 2026-07-28 |
| 榜单口径 | Skills.sh累计安装量 |
| 快照名次 | 275 |
| 快照累计安装量 | 74703 |
历史资料说明
- 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
- 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。
此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。
