AGENT SKILL
Firecrawl 网页抓取与提取
firecrawl
使用 Firecrawl API 抓取、爬取、搜索并从网站提取结构化数据——将网页转换为可供 LLM 直接使用的 markdown。
- License 许可
- Apache-2.0
- 最近更新
- 2026-03-18
- Stars
- ★ 19
- Forks
- 3
01 前言 Front Matter
- name
- firecrawl
- description
- Scrape, crawl, search, and extract structured data from websites using Firecrawl API - converts web pages to LLM-ready markdown
02 资源文件 2
- 脚本firecrawl.py7.3 KB
- 参考文档skill.package.yml368 B
03 SKILL.md 正文
Firecrawl Web Scraping Tool
A powerful web scraping tool that uses the Firecrawl API to convert websites into clean, LLM-ready markdown and extract structured data.
Features
- Scrape: Extract content from a single URL as markdown, HTML, or with screenshots
- Crawl: Automatically discover and scrape all accessible subpages of a website
- Map: Get a list of all URLs from a website without scraping content (extremely fast)
- Search: Search the web and get full scraped content from results
- Extract: Use AI to extract structured data from pages with natural language prompts
Setup
- Get an API key from firecrawl.dev
- Set your API key as a secret:
enact env set FIRECRAWL_API_KEY <your-api-key> --secret --namespace enact
This stores your API key securely in your OS keyring (macOS Keychain, Windows Credential Manager, or Linux Secret Service).
Usage Examples
Scrape a single page
enact run enact/firecrawl -a '{"url": "https://example.com", "action": "scrape"}'
Crawl an entire documentation site
enact run enact/firecrawl -a '{"url": "https://docs.example.com", "action": "crawl", "limit": 20}'
Map all URLs on a website
enact run enact/firecrawl -a '{"url": "https://example.com", "action": "map"}'
Search the web
enact run enact/firecrawl -a '{"url": "latest AI developments 2024", "action": "search", "limit": 5}'
Extract structured data with AI
enact run enact/firecrawl -a '{"url": "https://news.ycombinator.com", "action": "extract", "prompt": "Extract the top 10 news headlines with their URLs"}'
Output
The tool returns JSON with:
- markdown: Clean, LLM-ready content
- metadata: Title, description, language, source URL
- extract: Structured data (for extract action)
- links: Discovered URLs (for map action)
API Features
Firecrawl handles the hard parts of web scraping:
- Anti-bot mechanisms
- Dynamic JavaScript content
- Proxies and rate limiting
- PDF and document parsing
- Screenshot capture
04 同仓库更多 Skills
网站技术栈指纹识别
whatweb
Web 扫描器,可识别网站、CMS、框架、Web 服务器和嵌入式设备
★ 19
Playwright 浏览器自动化
playwright
使用 Playwright 的浏览器自动化工具 - 可截取屏幕截图并从网页提取内容
★ 19
Rust 入门问候工具
hello-rust
一个简单的 Rust 问候工具
★ 19
Ruby 问候工具
hello-ruby
一个简单的 Ruby 问候工具。
★ 19
JavaScript 问候工具
hello-js
一个简单的 JavaScript 问候工具。
★ 19
Go 语言问候工具
hello-go
一个简单的 Go 语言问候工具。
★ 19