jpskill.com
🛠️ 開発・MCP コミュニティ

firecrawl-scrape

Extract clean markdown from any URL, including JavaScript-rendered SPAs. Use this skill whenever the user provides a URL and wants its content, says "scrape", "grab", "fetch", "pull", "get the page", "extract from this URL", or "read this webpage". Handles JS-rendered pages, multiple concurrent URLs, and returns LLM-optimized markdown. Use this instead of WebFetch for any webpage content extraction.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o firecrawl-scrape.zip https://jpskill.com/download/19120.zip && unzip -o firecrawl-scrape.zip && rm firecrawl-scrape.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19120.zip -OutFile "$d\firecrawl-scrape.zip"; Expand-Archive "$d\firecrawl-scrape.zip" -DestinationPath $d -Force; ri "$d\firecrawl-scrape.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して firecrawl-scrape.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → firecrawl-scrape フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] firecrawl-scrape

firecrawl scrape

1つまたは複数のURLをスクレイピングします。クリーンでLLMに最適化されたMarkdownを返します。複数のURLは同時にスクレイピングされます。

使用する場面

クイックスタート

# 基本的なMarkdown抽出
firecrawl scrape "<url>" -o .firecrawl/page.md

# メインコンテンツのみ、ナビゲーション/フッターなし
firecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md

# JSがレンダリングされるまで待機してからスクレイピング
firecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md

# 複数のURL(それぞれ.firecrawl/に保存されます)
firecrawl scrape https://example.com https://example.com/blog https://example.com/docs

# Markdownとリンクをまとめて取得
firecrawl scrape "<url>" --format markdown,links -o .firecrawl/page.json

# ページについて質問する
firecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"

オプション

オプション 説明
-f, --format <formats> 出力形式:markdown, html, rawHtml, links, screenshot, json
-Q, --query <prompt> ページコンテンツについて質問する(5クレジット)
-H 出力にHTTPヘッダーを含める
--only-main-content ナビゲーション、フッター、サイドバーを削除 — メインコンテンツのみ
--wait-for <ms> スクレイピング前にJSレンダリングを待機する
--include-tags <tags> これらのHTMLタグのみを含める
--exclude-tags <tags> これらのHTMLタグを除外する
-o, --output <path> 出力ファイルパス

ヒント

  • --queryよりも通常のscrapeを優先してください。 ファイルにスクレイピングし、grepheadを使用するか、Markdownを直接読んでください — 完全なコンテンツを自分で検索し、推論できます。ページを保存せずに単一のターゲットとなる回答が必要な場合にのみ--queryを使用してください(追加で5クレジットかかります)。
  • interactの前にscrapeを試してください。 scrapeは静的ページとJSレンダリングされたSPAを処理します。インタラクション(クリック、フォーム入力、ページネーション)が必要な場合にのみinteractにエスカレートしてください。
  • 複数のURLは同時にスクレイピングされます — 同時実行制限についてはfirecrawl --statusを確認してください。
  • 単一形式の出力は生のコンテンツです。複数形式(例:--format markdown,links)の出力はJSONです。
  • URLは常に引用符で囲んでください — シェルは?&を特殊文字として解釈します。
  • 命名規則:.firecrawl/{site}-{path}.md

関連項目

  • firecrawl-search — URLがない場合にページを見つける
  • firecrawl-interact — scrapeでコンテンツを取得できない場合、interactを使用してクリック、フォーム入力などを行う
  • firecrawl-download — サイト全体をローカルファイルに一括ダウンロードする
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

firecrawl scrape

Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.

When to use

  • You have a specific URL and want its content
  • The page is static or JS-rendered (SPA)
  • Step 2 in the workflow escalation pattern: search → scrape → map → crawl → interact

Quick start

# Basic markdown extraction
firecrawl scrape "<url>" -o .firecrawl/page.md

# Main content only, no nav/footer
firecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md

# Wait for JS to render, then scrape
firecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md

# Multiple URLs (each saved to .firecrawl/)
firecrawl scrape https://example.com https://example.com/blog https://example.com/docs

# Get markdown and links together
firecrawl scrape "<url>" --format markdown,links -o .firecrawl/page.json

# Ask a question about the page
firecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"

Options

Option Description
-f, --format <formats> Output formats: markdown, html, rawHtml, links, screenshot, json
-Q, --query <prompt> Ask a question about the page content (5 credits)
-H Include HTTP headers in output
--only-main-content Strip nav, footer, sidebar — main content only
--wait-for <ms> Wait for JS rendering before scraping
--include-tags <tags> Only include these HTML tags
--exclude-tags <tags> Exclude these HTML tags
-o, --output <path> Output file path

Tips

  • Prefer plain scrape over --query. Scrape to a file, then use grep, head, or read the markdown directly — you can search and reason over the full content yourself. Use --query only when you want a single targeted answer without saving the page (costs 5 extra credits).
  • Try scrape before interact. Scrape handles static pages and JS-rendered SPAs. Only escalate to interact when you need interaction (clicks, form fills, pagination).
  • Multiple URLs are scraped concurrently — check firecrawl --status for your concurrency limit.
  • Single format outputs raw content. Multiple formats (e.g., --format markdown,links) output JSON.
  • Always quote URLs — shell interprets ? and & as special characters.
  • Naming convention: .firecrawl/{site}-{path}.md

See also