firecrawl-search
它能做什么
这个技能通过 Firecrawl 搜索网络,并以 Markdown 格式返回完整页面,使智能体能够阅读实际内容。适合需要博客、文档、项目页面或 PDF 报告的人。
适用场景
- ✓当你需要学术数据库以外的资料,例如实验室博客或项目页面的时候。
- ✓当你希望阅读完整页面,而不仅是简短摘要的时候。
- ✓当你有一个网址,并希望将其内容转换为干净的 Markdown 的时候。
技能链接
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/firecrawl-search/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在网上搜索最新的基准测试排行榜,并阅读完整页面给我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体将你的查询或网址发送给 Firecrawl,并以 Markdown 形式获取页面内容。它可以搜索多个结果,也可以抓取你指定的一个页面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Firecrawl Web Search and Scrape
Search query or URL: $ARGUMENTS
Role & Positioning
Firecrawl is a broad web search source that returns the full page as markdown, plus a scraper for URLs you already have:
| Skill | Best for |
|---|---|
/arxiv |
Direct preprint search and PDF download |
/semantic-scholar |
Published venue papers (IEEE, ACM, Springer), citation counts |
/openalex |
Open citation graph, affiliations, funding metadata |
/deepxiv |
Layered reading: search, brief, section map, section reads |
/exa-search |
Broad web search with highlights, summaries or text, and find-similar pages |
/firecrawl-search |
Broad web search with full-page markdown (blogs, docs, project pages, technical reports, PDFs), and scraping a known URL to markdown |
Use Firecrawl when you need sources outside academic databases, or when you want to read the page itself rather than a snippet: a project page, a benchmark leaderboard, a lab blog post, a PDF technical report, or a paper URL the user pasted.
Constants
- FIRECRAWL_FETCHER — canonical name
firecrawl_search.py, resolved pershared-references/integration-contract.md§2 (Policy D1 — standalone/firecrawl-searchhas no documented fallback, so unresolved helper terminates with an explicit error). - MAX_RESULTS = 5 — Default number of search results. Each result is scraped, so keep this small.
- MAX_CHARS = 4000 — Markdown characters kept per search result (20000 per page for
scrape).
Overrides (append to arguments):
/firecrawl-search "KV cache compression" — max: 10— top 10 results/firecrawl-search "speculative decoding" — content: none— titles, URLs and descriptions only (faster, cheaper)/firecrawl-search "mixture of experts" — category: pdf— PDFs only/firecrawl-search "diffusion transformers" — time: qdr:m— past month (qdr:h,qdr:d,qdr:w,qdr:m,qdr:y)/firecrawl-search "LLM agents" — domains: arxiv.org,openreview.net— domain filter/firecrawl-search "https://arxiv.org/abs/2211.17192"— a bare URL is scraped instead of searched
Setup
The helper uses only the Python standard library. Set your API key:
export FIRECRAWL_API_KEY=your-key-here
Get a key from firecrawl.dev. Requests without a key are limited to a small daily cap.
Cost: a search costs credits per 10 results, and with markdown content each scraped result adds credits (PDFs are billed per page). Use content: none to scan many results, then scrape the few that matter.
Workflow
Step 1: Parse Arguments
Parse $ARGUMENTS for:
- query: The search query, or one or more URLs (switches to
scrapemode) - max: Override MAX_RESULTS
- content:
markdown(default) ornone - max chars: Markdown characters kept per result
- domains: Comma-separated include domains (hostnames; a scheme or path is stripped)
- exclude domains: Comma-separated exclude domains (cannot be combined with
domains) - category:
pdf(PDF documents) ordeveloper(code repositories, issues, docs) - time:
qdr:h|d|w|m|y, a custom rangecdr:1,cd_min:MM/DD/YYYY,cd_max:MM/DD/YYYY, orsbd:1to sort by date - country: ISO country code for localized results
- full page: For
scrape, keep navigation and footers instead of the main content only
| Override | Helper flag |
|---|---|
max: |
--max |
content: none |
--content none |
max chars: |
--max-chars |
domains: |
--include-domains |
exclude domains: |
--exclude-domains |
category: |
--category |
time: |
--tbs |
country: |
--country |
full page |
--full-page (scrape only) |
Step 2: Locate Script
Resolve $FIRECRAWL_FETCHER via the canonical strict-safe chain (see
shared-references/integration-contract.md §2).
Policy D1 cascade: retrieval needs the Firecrawl API, which lives in the
fetcher, so unresolved helper means the SKILL cannot produce its primary
output. Fail with explicit remediation.
cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" || exit 1
if [ -z "${ARIS_REPO:-}" ] && [ -f .aris/installed-skills.txt ]; then
ARIS_REPO=$(awk -F'\t' '$1=="repo_root"{print $2; exit}' .aris/installed-skills.txt 2>/dev/null) || true
fi
if [ -z "${ARIS_REPO:-}" ] && [ -f "$HOME/.aris/repo" ]; t
常见问题
它默认返回多少条结果?
默认为五条,你也可以要求其他数量。
哪些类型的页面效果最好?
项目页面、基准测试排行榜、实验室博客文章和 PDF 技术报告都是很好的匹配。
如果找不到辅助程序会怎样?
该技能没有备用方案,因此会直接报出明确的错误并停止。
详情
作者的原始描述
Web search and page scraping via Firecrawl, returning full-page markdown. Use when user says "firecrawl search", "firecrawl scrape" or "/firecrawl-search".
热度
- GitHub 星标
- 18k
- 排名
- #10539
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ablation-planner
18k帮你的智能体为论文规划消融实验,在主要结果看起来不错之后,选出审稿人很可能会要求的测试。
alphaxiv
18k让你的智能体借助 AlphaXiv 摘要快速阅读一篇研究论文,并以完整文本或 LaTeX 源文件作为备用,只需提供 arXiv 链接或编号。
analyze-results
18k帮你的智能体分析机器学习实验结果,将各次运行与基线进行比较,并把数字整理成清晰的发现和后续步骤。
arxiv
18k让你的智能体在 arXiv 上搜索学术论文、阅读论文详情,并把 PDF 保存到你的文库中,用于某个研究主题。