Co-Pilot / 辅助式
更新于 24 days ago

firecrawl-claude-code-skill

BBexTuychiev
0.0k
bextuychiev/firecrawl-claude-code-skill
80
Agent 评分

💡 摘要

该技能通过Firecrawl的API获取网页内容、截取屏幕截图并提取结构化数据。

🎯 适合人群

需要数据提取的网页开发者寻找屏幕截图的内容创作者需要当前网页信息的研究人员学习框架的学生处理结构化数据的数据分析师

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。


name: firecrawl-web description: "Fetch web content, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs current web information, asks to scrape a URL, wants a screenshot, needs to extract specific data from a page, or wants to learn about a framework or library." allowed-tools: ["Bash", "Read", "Write"]

Firecrawl Web Skill

This skill provides web access through Firecrawl's API.

Script Location

All commands use the bundled script: ~/.claude/skills/firecrawl-web/fc.py

Getting Page Content

Fetch any webpage as clean markdown:

python3 ~/.claude/skills/firecrawl-web/fc.py markdown "https://example.com"

For cleaner output without navigation and footers:

python3 ~/.claude/skills/firecrawl-web/fc.py markdown "https://example.com" --main-only

Taking Screenshots

Capture a full-page screenshot:

python3 ~/.claude/skills/firecrawl-web/fc.py screenshot "https://example.com" -o page.png

Extracting Structured Data

Extract specific data using a JSON schema. Create a schema file first:

{ "type": "object", "properties": { "title": {"type": "string"}, "price": {"type": "number"}, "features": {"type": "array", "items": {"type": "string"}} } }

Then extract:

python3 ~/.claude/skills/firecrawl-web/fc.py extract "https://example.com/product" --schema schema.json

Add a prompt for better accuracy:

python3 ~/.claude/skills/firecrawl-web/fc.py extract "https://example.com/product" --schema schema.json --prompt "Extract the main product details"

Searching the Web

Search for current information:

python3 ~/.claude/skills/firecrawl-web/fc.py search "Python 3.13 new features"

Limit results:

python3 ~/.claude/skills/firecrawl-web/fc.py search "latest React documentation" --limit 3

Crawling Documentation

Crawl a documentation site to learn about a new framework:

python3 ~/.claude/skills/firecrawl-web/fc.py crawl "https://docs.newframework.dev" --limit 30

Save pages to a directory:

python3 ~/.claude/skills/firecrawl-web/fc.py crawl "https://docs.example.com" --limit 50 --output ./docs

Each page costs one credit. Set a reasonable limit to avoid burning through your quota.

五维分析
清晰度8/10
创新性8/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 多功能的网页抓取能力
  • 支持结构化数据提取
  • 使用简单,命令清晰
  • 可以截取整页屏幕截图

缺点

  • 需要设置Python环境
  • 仅限于Firecrawl的API功能
  • 大量爬虫可能导致高信用使用
  • 未提及内置错误处理

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 BexTuychiev.