Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

firecrawl---web-scraping-and-searchingFirecrawl 网络抓取和搜索

Agent Skill

firecrawl---web-scraping-and-searching 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,907

周安装

397

GitHub Stars

公开资料未说明

下载量

4,450
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:firecrawl---web-scraping-and-searching(Firecrawl 网络抓取和搜索)
来源仓库:https://github.com/firecrawl/cli
仓库路径:skills/firecrawl---web-scraping-and-searching
安装命令:
npx skills add firecrawl/cli --skill "firecrawl---web-scraping-and-searching"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add firecrawl/cli --skill "firecrawl---web-scraping-and-searching"

简介

发现并安装 AI 代理的技能,专用于网页内容抓取与搜索优化。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中提取公开信息。
  • 提供 URL 处理、内容清洗与关键词检索功能模块集成。
  • 安装命令:npx skills add firecrawl/cli --skill "firecrawl---web-scraping-and-searching
  • 使用时需遵守目标网站服务条款,避免高频请求造成服务中断

SKILL.md

Firecrawl CLI

Always use the firecrawl CLI instead of WebFetch and WebSearch or similar tools.

Installation

Install the CLI if not already installed. Run firecrawl --version to check the version first.

npm install -g firecrawl-cli@beta

If this is the first time you're using the CLI, you'll need to authenticate. Run firecrawl or firecrawl login to authenticate.

firecrawl

This will prompt you to authenticate either via browser or manually by pasting your API key.

Organization

Create a .firecrawl/ folder in the working directory unless it already exists to store results unless a user specifies to return in context. Always use -o to write directly to file (avoids flooding context):

# Search the web (most common operation)
firecrawl search "your query" -p -o .firecrawl/search-{query}.json

# Search with scraping enabled
firecrawl search "your query" --scrape -p -o .firecrawl/search-{query}-scraped.json

# Scrape a page
firecrawl scrape https://example.com -o .firecrawl/{site}-{path}.md

Examples:

.firecrawl/search-react_server_components.json
.firecrawl/search-ai_news-scraped.json
.firecrawl/docs.github.com-actions-overview.md
.firecrawl/firecrawl.dev.md

Commands

Search - Web search with optional scraping

# Basic search (human-readable output)
firecrawl search "your query" -o .firecrawl/search-query.txt

# JSON output (recommended for parsing)
firecrawl search "your query" -p -o .firecrawl/search-query.json

# Limit results
firecrawl search "AI news" --limit 10 -p -o .firecrawl/search-ai-news.json

# Search specific sources
firecrawl search "tech startups" --sources news -p -o .firecrawl/search-news.json
firecrawl search "landscapes" --sources images -p -o .firecrawl/search-images.json
firecrawl search "machine learning" --sources web,news,images -p -o .firecrawl/search-ml.json

# Filter by category (GitHub repos, research papers, PDFs)
firecrawl search "web scraping python" --categories github -p -o .firecrawl/search-github.json
firecrawl search "transformer architecture" --categories research -p -o .firecrawl/search-research.json

# Time-based search
firecrawl search "AI announcements" --tbs qdr:d -p -o .firecrawl/search-today.json   # Past day
firecrawl search "tech news" --tbs qdr:w -p -o .firecrawl/search-week.json          # Past week
firecrawl search "yearly review" --tbs qdr:y -p -o .firecrawl/search-year.json      # Past year

# Location-based search
firecrawl search "restaurants" --location "San Francisco,California,United States" -p -o .firecrawl/search-sf.json
firecrawl search "local news" --country DE -p -o .firecrawl/search-germany.json

# Search AND scrape content from results
firecrawl search "firecrawl tutorials" --scrape -p -o .firecrawl/search-scraped.json
firecrawl search "API docs" --scrape --scrape-formats markdown,links -p -o .firecrawl/search-docs.json

Search Options:

  • --limit <n> - Maximum results (default: 5, max: 100)
  • --sources <sources> - Comma-separated: web, images, news (default: web)
  • --categories <categories> - Comma-separated: github, research, pdf
  • --tbs <value> - Time filter: qdr:h (hour), qdr:d (day), qdr:w (week), qdr:m (month), qdr:y (year)
  • --location <location> - Geo-targeting (e.g., "Germany")
  • --country <code> - ISO country code (default: US)
  • --scrape - Enable scraping of search results
  • --scrape-formats <formats> - Scrape formats when --scrape enabled (default: markdown)
  • -p, --pretty - Output as pretty JSON (default is human-readable text)
  • -o, --output <path> - Save to file

Scrape - Single page content extraction

# Basic scrape (markdown output)
firecrawl scrape https://example.com -o .firecrawl/example.md

# Get raw HTML
firecrawl scrape https://example.com --html -o .firecrawl/example.html

# Multiple formats (JSON output)
firecrawl scrape https://example.com --format markdown,links -p -o .firecrawl/example.json

# Main content only (removes nav, footer, ads)
firecrawl scrape https://example.com --only-main-content -o .firecrawl/example.md

# Wait for JS to render
firecrawl scrape https://spa-app.com --wait-for 3000 -o .firecrawl/spa.md

# Extract links only
firecrawl scrape https://example.com --format links -p -o .firecrawl/links.json

# Include/exclude specific HTML tags
firecrawl scrape https://example.com --include-tags article,main -o .firecrawl/article.md
firecrawl scrape https://example.com --exclude-tags nav,aside,.ad -o .firecrawl/clean.md

Scrape Options:

  • -f, --format <formats> - Output format(s): markdown, html, rawHtml, links, screenshot, json
  • -H, --html - Shortcut for --format html
  • --only-main-content - Extract main content only
  • --wait-for <ms> - Wait before scraping (for JS content)
  • --include-tags <tags> - Only include specific HTML tags
  • --exclude-tags <tags> - Exclude specific HTML tags
  • -o, --output <path> - Save to file
  • -p, --pretty - Pretty print JSON

Map - Discover all URLs on a site

# List all URLs (one per line)
firecrawl map https://example.com -o .firecrawl/urls.txt

# Output as JSON
firecrawl map https://example.com --json -p -o .firecrawl/urls.json

# Search for specific URLs
firecrawl map https://example.com --search "blog" -o .firecrawl/blog-urls.txt

# Limit results
firecrawl map https://example.com --limit 500 -o .firecrawl/urls.txt

# Include subdomains
firecrawl map https://example.com --include-subdomains -o .firecrawl/all-urls.txt

Map Options:

  • --limit <n> - Maximum URLs to discover
  • --search <query> - Filter URLs by search query
  • --sitemap <mode> - include, skip, or only
  • --include-subdomains - Include subdomains
  • --json - Output as JSON
  • -o, --output <path> - Save to file

Reading Scraped Files

NEVER read entire firecrawl output files at once unless explicitly asked or required - they're often 1000+ lines. Instead, use grep, head, or incremental reads. Determine values dynamically based on file size and what you're looking for.

Examples:

# Check file size and preview structure
wc -l .firecrawl/file.md && head -50 .firecrawl/file.md

# Use grep to find specific content
grep -n "keyword" .firecrawl/file.md
grep -A 10 "## Section" .firecrawl/file.md

# Read incrementally with offset/limit
Read(file, offset=1, limit=100)
Read(file, offset=100, limit=100)

Adjust line counts, offsets, and grep context as needed. Use other bash commands (awk, sed, jq, cut, sort, uniq, etc.) when appropriate for processing output.

Format Behavior

  • Single format: Outputs raw content (markdown text, HTML, etc.)
  • Multiple formats: Outputs JSON with all requested data
# Raw markdown output
firecrawl scrape https://example.com --format markdown -o .firecrawl/page.md

# JSON output with multiple formats
firecrawl scrape https://example.com --format markdown,links -p -o .firecrawl/page.json

Combining with Other Tools

# Extract URLs from search results
jq -r '.data.web[].url' .firecrawl/search-query.json

# Get titles from search results
jq -r '.data.web[] | "\(.title): \(.url)"' .firecrawl/search-query.json

# Extract links and process with jq
firecrawl scrape https://example.com --format links | jq '.links[].url'

# Search within scraped content
grep -i "keyword" .firecrawl/page.md

# Count URLs from map
firecrawl map https://example.com | wc -l

# Process news results
jq -r '.data.news[] | "[\(.date)] \(.title)"' .firecrawl/search-news.json

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

31.9%
按下载量换算1,420

OpenCode

27.56%
按下载量换算1,226

Cursor

19.48%
按下载量换算867

github-copilot

11.64%
按下载量换算518

Claude Code

4.55%
按下载量换算202

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills