← 返回 Skills 市场
dyagil

Firecrawl

作者 dyagil · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
40
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dyagil-firecrawl
功能描述
Scrape, search, map, and crawl the web for AI agents via the Firecrawl API. Use when your agent needs clean markdown from JS-heavy or SPA sites, search resul...
使用说明 (SKILL.md)

Firecrawl Skill — Web Data for Agents

Principle

Firecrawl is a managed API for the three cases where a basic web_fetch agent tool falls short:

  1. JS-heavy sites — React/SPA pages that need a real browser to render.
  2. Search with full content — standard search APIs return only snippets; Firecrawl returns rendered markdown per result.
  3. Map / Crawl — list every URL on a site, mirror a docs tree, etc.

When to Use

Task Recommended
Plain HTML article web_fetch (free, fast)
Quick search basic web search tool (free)
JS-heavy / SPA page fc scrape
Search + full content fc search --scrape
Full doc-site crawl fc crawl
URL inventory of a site fc map
Page needing clicks / login fc interact (REST only, see below)

Rule of thumb: if web_fetch returns empty markup or noise, escalate to fc scrape.

Commands

scrape — single page

fc scrape https://example.com                            # markdown to stdout
fc scrape https://example.com --format html --out a.html
fc scrape https://example.com --out ~/scraped/page.md

search

fc search "best running shoes 2026" --limit 5
fc search "topic" --limit 3 --scrape           # include full content of each hit
fc search "..." --out results.json

map — list URLs on a site

fc map https://docs.example.com --limit 200
fc map https://example.com --out urls.txt

crawl — deep crawl of many pages

fc crawl https://docs.example.com --limit 50 --out ~/docs-mirror/

⚠️ Takes minutes. Each page = 1 credit. Don't blast it on a tight free-tier budget.

ask / docs — debug and help

fc ask "why did my scrape return empty?" --jobId abc123
fc docs "how do I bypass cloudflare?"

status

fc status   # prints key prefix + a smoke-test scrape

Pricing (Remember This)

  • Free tier: 500 credits / month.
  • Each scrape or search result ≈ 1 credit.
  • Each crawl page = 1 credit.
  • Past the free tier you pay.

Before large crawl/map calls with high --limit, warn the user about credit cost.

Recommended Patterns

Pattern 1 — Regular article

# Try the free tool first.
# If it returns empty / unreadable:
fc scrape \x3Curl> --out /tmp/article.md

Pattern 2 — Research on a topic

fc search "\x3Ctopic>" --limit 5 --scrape --out /tmp/research.json
# Then parse the JSON and pull what you need.

Pattern 3 — Whole docs site

fc map https://docs.example.com --limit 100    # get the URL list
# Pick relevant URLs and:
fc scrape \x3Cselected_urls>...
# Or in bulk:
fc crawl https://docs.example.com --limit 20 --out ~/mirror/

Credentials

  • Key: store at ~/.openclaw/credentials/firecrawl/api_key (chmod 600).
  • Base URL: https://api.firecrawl.dev/v2
  • Auth: Authorization: Bearer fc-...
  • CLI: ~/bin/fc → your local fc.cjs (Node CommonJS, zero dependencies).

Get a key at: https://firecrawl.dev (free tier available).

Direct REST (when the CLI isn't enough)

Example — interact (clicks / form-fill) which isn't wrapped in the CLI yet:

KEY=$(cat ~/.openclaw/credentials/firecrawl/api_key)
curl -X POST https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/login",
    "formats": ["markdown"],
    "actions": [
      {"type": "wait", "milliseconds": 1000},
      {"type": "click", "selector": "#login-button"},
      {"type": "write", "selector": "#email", "text": "..."}
    ]
  }'

Full docs: https://docs.firecrawl.dev

Don'ts

  • Don't crawl a whole site without --limit — credits burn fast.
  • Don't reach for Firecrawl when web_fetch works — wasteful.
  • Don't commit the API key to git.
  • Don't use Firecrawl for YouTube transcripts — use a dedicated transcription tool.
安全使用建议
Install only if you trust your local Firecrawl CLI and are comfortable giving the agent a Firecrawl API key. Before use, set clear rules that the agent must ask before running crawls with meaningful cost, interacting with login pages, filling forms, or attempting any Cloudflare or access-control bypass.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Scrape/search/map/crawl is coherent with the stated Firecrawl purpose, but the instructions also cover login-page interaction and a Cloudflare-bypass help query, which go beyond passive scraping and need clearer user approval boundaries.
Instruction Scope
The REST example can click and write into a login page, and the skill does not clearly require explicit user approval before form-filling, authenticated access, or anti-bot-bypass attempts.
Install Mechanism
There is no install spec or code in the package, but SKILL.md expects a local ~/bin/fc wrapper to a fc.cjs CLI; that executable is outside the reviewed artifacts.
Credentials
Use of a Firecrawl API key and external API is expected for this service, but the registry metadata does not declare a primary credential even though the skill documents one.
Persistence & Privilege
The only persistence described is storing the Firecrawl API key under ~/.openclaw/credentials with chmod 600; there is no evidence of background persistence or self-starting behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dyagil-firecrawl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dyagil-firecrawl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug dyagil-firecrawl
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Firecrawl 是什么?

Scrape, search, map, and crawl the web for AI agents via the Firecrawl API. Use when your agent needs clean markdown from JS-heavy or SPA sites, search resul... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 Firecrawl?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dyagil-firecrawl」即可一键安装,无需额外配置。

Firecrawl 是免费的吗?

是的,Firecrawl 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Firecrawl 支持哪些平台?

Firecrawl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Firecrawl?

由 dyagil(@dyagil)开发并维护,当前版本 v1.0.0。

💬 留言讨论