跳到正文
Skillpedia
网页抓取198k · #632

firecrawl-build-search

它能做什么

这项技能帮助开发者构建一项从搜索查询开始、找出相关网页的功能。适合构建答案引擎、研究工具或发现类功能的团队。

适用场景

  • ✓用户提出问题,而产品必须先找到最新的网络来源的时候。
  • ✓某项功能需要先通过搜索查询得到一份候选网页列表,再提取内容的时候。
  • ✓你想构建一条从查询到网页、供之后抓取使用的流程的时候。

技能链接

https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-search/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-search/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我们的研究应用加入搜索功能,让一个问题返回五个最新的网络来源,然后阅读其中排名靠前的几个。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能建议先运行搜索以发现网址,然后使用抓取步骤读取选定的页面。除非两者都确实需要,否则它建议将搜索和提取分开。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Firecrawl Build Search

Use this when the application starts with a query, not a URL.

Use This When

  • the user asks a question and the product must discover sources first
  • the feature needs current web results
  • you want to turn a search query into a shortlist of pages for later scraping

Default Recommendations

  • Use /search first when URL discovery is part of the product behavior.
  • Keep search and extraction conceptually separate unless scraping search results is clearly required.
  • Prefer selective follow-up extraction over broad hydration when cost or latency matters.

Common Product Patterns

  • answer generation with cited sources
  • company, competitor, or topic discovery
  • research workflows that produce a shortlist of web pages before deeper extraction
  • query-to-URL pipelines for later /scrape or /interact

Note that "research workflow" here means discovering web pages. If the product is searching published papers, that is a different surface — see the escalation rules below.

Escalation Rules

  • If you already have the URL, use firecrawl-build-scrape.
  • If the result page then requires clicks or form interaction, escalate to firecrawl-build-interact.
  • If the feature searches published research papers — biomedical, clinical, and life-science literature (PubMed, bioRxiv, medRxiv) or arXiv preprints — /search is the wrong surface. Use the research paper index instead: firecrawl-research-index. Passing categories: ["research"] to /search does not query that index; it filters an ordinary web search to research-affiliated websites (the list includes PubMed, bioRxiv, medRxiv, arXiv, and publisher sites) and returns page results from them — no abstract search, related-paper expansion, or full-text passages.
  • If the feature answers developer questions from issues, pull requests, READMEs, or documentation pages, use the developer index instead: firecrawl-developer-index. The same caveat applies to categories: ["developer"].

Implementation Notes

  • Treat /search as discovery, ranking, and source selection.
  • Be explicit about whether the product needs snippets, URLs, or full result content.
  • Keep the query contract stable so downstream scraping logic stays predictable.

Docs (Source of Truth)

Read the source-of-truth page for your project language before writing integration code:

See Also

常见问题

搜索和抓取应该合并吗?

技能说明,除非明确需要抓取搜索结果,否则应在概念上将二者分开。

它能搜索学术论文吗?

技能说明搜索已发表的研究论文属于另一种途径,并指向了其他选项。

对每个结果都进行完整提取成本高吗?

技能建议,当成本或延迟很重要时,应选择性地进行后续提取。

详情

作者的原始描述

Integrate Firecrawl `/search` into product code and agent workflows. Use when an app needs discovery before extraction, when the feature starts with a query instead of a URL, or when the system should search the web and optionally hydrate result content.

repo: firecrawl/firecrawl

热度

GitHub 星标
198k
排名
#632
许可证
AGPL-3.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能