firecrawl-build-interact
它能做什么
这项技能帮助开发者构建需要超过读取页面能力的网络数据功能,例如使用 Firecrawl 进行点击、填写表单或翻页查看结果。适合为自己的软件加入网络自动化功能的产品团队。
适用场景
- ✓应用需要先点击、输入或翻页浏览网站,才能获取数据的时候。
- ✓某项功能需要简单抓取无法完成的多步骤网络流程的时候。
- ✓某项功能需要在多个步骤之间保持同一个浏览器会话的时候。
技能链接
https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-interact/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我们的应用中加入 Firecrawl,让它能搜索供应商网站、填写表单,并从结果页面中收集价格表。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能告诉开发者先从简单的抓取开始,只有在需要点击或填写表单时才转向交互步骤。它会根据项目所用的编程语言,指向相应的 Firecrawl 文档。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Firecrawl Build Interact
Use this when /scrape is not enough because the feature needs to act on the page.
Use This When
- content appears only after clicks, typing, or navigation
- the feature needs forms, pagination, filters, or multi-step flows
- the product must stay in the same browser context after scraping
Default Recommendations
- Start with
/scrape, then escalate to/interact. - Keep
/interactscoped to the smallest browser workflow that unlocks the data. - Use persistent profiles only when the feature truly needs authenticated state across sessions.
Common Product Patterns
- search forms and faceted filters
- paginated result sets
- login-gated dashboards or tools
- flows where the page must be explored before extraction is complete
Implementation Notes
/interactis the right tool when the page must be manipulated, not just read.- Keep prompts or action code specific to the product flow.
- If the use case is fully open-ended browser automation, evaluate whether a browser sandbox is a better product fit.
Escalation Rules
- If the page can be read directly, stay on firecrawl-build-scrape.
Docs (Source of Truth)
Read the source-of-truth page for your project language before writing integration code:
- Node / TypeScript: docs.firecrawl.dev/agent-source-of-truth/node
- Python: docs.firecrawl.dev/agent-source-of-truth/python
- Rust: docs.firecrawl.dev/agent-source-of-truth/rust
- Java: docs.firecrawl.dev/agent-source-of-truth/java
- Elixir: docs.firecrawl.dev/agent-source-of-truth/elixir
- cURL / REST: docs.firecrawl.dev/agent-source-of-truth/curl
See Also
常见问题
什么时候应改用更简单的抓取?
技能说明,如果页面可以直接读取,就应继续使用抓取技能。
需要登录配置文件吗?
技能说明只有当某项功能确实需要已认证的状态时,才使用持久配置文件。
代码细节在哪里?
技能会引导你查阅你所用语言对应的 Firecrawl 文档,并将其视为权威来源。
详情
作者的原始描述
Integrate Firecrawl `/interact` into product code for dynamic pages and browser actions after scraping. Use when a feature needs clicks, form fills, pagination, authentication-aware flows, or other multi-step interactions that plain `/scrape` cannot complete.
repo: firecrawl/firecrawl
热度
- GitHub 星标
- 198k
- 排名
- #629
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
firecrawl-build-onboarding
198k帮助开发者在项目中设置 Firecrawl,包括安装工具、将 API 密钥添加到环境文件,以及选择 SDK。
firecrawl-build-scrape
198k指导开发者使用 Firecrawl 的抓取功能加入单页提取,返回整洁的 Markdown、链接和元数据。
firecrawl-build-search
198k指导开发者使用 Firecrawl 在应用中加入网络搜索,使产品能够先根据查询找到网页,再读取内容。
firecrawl-build
198k帮助开发者借助 Firecrawl 为应用加入实时网络数据,包括搜索、网页抓取、信息提取和浏览器操作。