Skip to content
Skillv1.0.0

firecrawl

多功能网页抓取和数据提取工具,支持同步抓取、搜索、网站地图获取和异步爬取

by aiskillstore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aiskillstore/marketplace (skills/ck991357/firecrawl/SKILL.md). Install upstream with npx skills add aiskillstore/marketplace --skill firecrawl. Copyright stays with the author.

工具调用示例(Firecrawl)

firecrawl 是一个多功能网页抓取和数据提取工具,通过 mode 参数调用不同功能。其 parameters 结构是嵌套的。

✅ 正确的调用结构:

{"mode": "<功能模式>", "parameters": {"<参数名>": "<参数值>"}}

💡 重要提示:

  • scrapesearchmap 是同步操作,立即返回结果
  • crawlextract 是异步操作,返回 job_id 用于后续状态检查
  • 所有参数都必须在 parameters 对象内,不要放在顶层
  • URL 必须以 http://https:// 开头

功能模式详解

➡️ 示例 1: 抓取单个网页 (scrape)

✅ 正确示例:

{
  "mode": "scrape", 
  "parameters": {
    "url": "https://docs.firecrawl.dev/",
    "formats": ["markdown"]  // 可选:["markdown", "html"],默认 markdown
  }
}

➡️ 示例 2: 网页搜索 (search)

✅ 正确示例:

{
  "mode": "search", 
  "parameters": {
    "query": "人工智能最新发展",
    "limit": 5
  }
}

➡️ 示例 3: 获取网站地图 (map)

✅ 正确示例:

{
  "mode": "map", 
  "parameters": {
    "url": "https://example.com"
  }
}

➡️ 示例 4: 异步爬取网站 (crawl)

✅ 正确示例:

{
  "mode": "crawl", 
  "parameters": {
    "url": "https://firecrawl.dev", 
    "limit": 5
  }
}

此调用会返回一个 job_id,用于后续查询。

➡️ 示例 5: 结构化数据提取 (extract)

✅ 正确示例:

{
  "mode": "extract", 
  "parameters": {
    "urls": ["https://news.example.com/article"],
    "prompt": "提取文章标题、作者和发布时间",
    "schema": {
      "type": "object",
      "properties": {
        "title": {"type": "string"},
        "author": {"type": "string"}, 
        "publish_time": {"type": "string"}
      }
    }
  }
}

➡️ 示例 6: 检查异步任务状态 (check_status)

✅ 正确示例:

{
  "mode": "check_status", 
  "parameters": {
    "job_id": "some-unique-job-identifier"
  }
}

❌ 错误示例 (请避免以下常见错误)

  • 缺少 mode 参数: {"parameters": {"url": "..."}}
  • 缺少嵌套的 parameters 对象: {"mode": "scrape", "url": "..."}
  • 将参数放在顶层: {"url": "..."}
  • 使用无效的 URL 格式: {"mode": "scrape", "parameters": {"url": "example.com"}} (缺少协议)
  • 错误的参数类型: {"mode": "extract", "parameters": {"urls": "https://example.com"}} (urls 应该是数组)

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aiskillstore-marketplace-firecrawl/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aiskillstore-marketplace-firecrawl.ocm.jsonjson
{
  "ocm": "1",
  "id": "aiskillstore-marketplace-firecrawl",
  "kind": "skill",
  "name": "firecrawl",
  "description": "多功能网页抓取和数据提取工具,支持同步抓取、搜索、网站地图获取和异步爬取",
  "publisher": "aiskillstore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "web-scraping",
      "data-extraction",
      "crawling",
      "automation",
      "firecrawl",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "多功能网页抓取和数据提取工具,支持同步抓取、搜索、网站地图获取和异步爬取"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/aiskillstore/marketplace",
      "path": "skills/ck991357/firecrawl/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/aiskillstore/marketplace/blob/HEAD/skills/ck991357/firecrawl/SKILL.md",
      "key": "aiskillstore/marketplace/skills/ck991357/firecrawl/SKILL.md"
    }
  },
  "instructions": "# 工具调用示例(Firecrawl)\n\n`firecrawl` 是一个多功能网页抓取和数据提取工具,通过 `mode` 参数调用不同功能。其 `parameters` 结构是嵌套的。\n\n**✅ 正确的调用结构:**\n```json\n{\"mode\": \"<功能模式>\", \"parameters\": {\"<参数名>\": \"<参数值>\"}}\n```\n\n**💡 重要提示:**\n- `scrape`、`search`、`map` 是同步操作,立即返回结果\n- `crawl`、`extract` 是异步操作,返回 `job_id` 用于后续状态检查\n- 所有参数都必须在 `parameters` 对象内,不要放在顶层\n- URL 必须以 `http://` 或 `https://` 开头\n\n## 功能模式详解\n\n### ➡️ 示例 1: 抓取单个网页 (`scrape`)\n\n**✅ 正确示例:**\n```json\n{\n  \"mode\": \"scrape\", \n  \"parameters\": {\n    \"url\": \"https://docs.firecrawl.dev/\",\n    \"formats\": [\"markdown\"]  // 可选:[\"markdown\", \"html\"],默认 markdown\n  }\n}\n```\n\n### ➡️ 示例 2: 网页搜索 (`search`)\n\n",
  "cost": {
    "context_tokens": 481
  }
}

Fetch it by URL: GET /api/v1/registry/aiskillstore-marketplace-firecrawl/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.