Skip to content

ouyanghui02-maker/firecrawl-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Firecrawl OpenClaw Skill

为 OpenClaw 封装 Firecrawl 网页抓取能力,支持 scrape / search / map / extract / agent

📖 说明

本项目基于 mendableai/firecrawl 官方 SDK,为 OpenClaw Agent 平台定制。

来源:Firecrawl 官方 Python SDK(firecrawl-py)
改造:封装为 OpenClaw Skill,提供 CLI 工具 + SKILL.md 使用文档
作者:ouyanghui02-maker

🧩 快速开始

1. 安装依赖

pip install firecrawl-py pydantic

2. 设置 API Key

# Linux/macOS
export FIRECRAWL_API_KEY=fc-你的密钥

# Windows (CMD)
set FIRECRAWL_API_KEY=fc-你的密钥

# Windows (PowerShell)
$env:FIRECRAWL_API_KEY="fc-你的密钥"

获取 API Key:https://firecrawl.dev/dashboard

3. 使用 CLI

# 抓取网页
python firecrawl_cli.py scrape --url https://example.com

# 搜索
python firecrawl_cli.py search --query "AI trends" --limit 10

# 发现网站链接
python firecrawl_cli.py map --url https://example.com

# AI 提取结构化数据
python firecrawl_cli.py extract --url https://example.com --schema "{\"name\": {\"type\": \"str\"}}"

# AI Agent 自动收集
python firecrawl_cli.py agent --query "查找 GitHub 热门项目"

4. 在 OpenClaw 中使用

参考 SKILL.md,或直接在 OpenClaw 对话中调用 firecrawl 相关命令。

📁 文件结构

├── SKILL.md              # OpenClaw Skill 使用文档
├── firecrawl_cli.py      # CLI 封装脚本
└── README.md             # 本文件

🔗 官方资源

资源 链接
🌐 官网 https://firecrawl.dev
📖 文档 https://docs.firecrawl.dev
🐙 GitHub https://github.com/mendableai/firecrawl
💬 Discord https://discord.gg/firecrawl

⚠️ 注意

  • 本项目封装自 mendableai/firecrawl,版权归原作者所有
  • API Key 通过环境变量 FIRECRAWL_API_KEY 注入,不要硬编码
  • 请遵守 Firecrawl 服务条款和目标网站的 robots.txt

📝 更新日志

  • 2026-04-08 v1.0 - 初始版本,CLI 封装 + SKILL.md

About

Firecrawl OpenClaw Skill - 智能网页抓取与数据提取,支持 scrape/search/map/extract/agent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages