firecrawl-interact
Control and interact with a live browser session on any scraped page — click buttons, fill forms, navigate flows, and extract data using natural language prompts or code. Use when the user needs to interact with a webpage beyond simple scraping: logging into a site, submitting forms, clicking through pagination, handling infinite scroll, navigating multi-step checkout or wizard flows, or when a regular scrape failed because content is behind JavaScript interaction. Also useful for authenticated scraping via profiles. Triggers on "interact", "click", "fill out the form", "log in to", "sign in", "submit", "paginated", "next page", "infinite scroll", "interact with the page", "navigate to", "open a session", or "scrape failed".
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o firecrawl-interact.zip https://jpskill.com/download/19118.zip && unzip -o firecrawl-interact.zip && rm firecrawl-interact.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19118.zip -OutFile "$d\firecrawl-interact.zip"; Expand-Archive "$d\firecrawl-interact.zip" -DestinationPath $d -Force; ri "$d\firecrawl-interact.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
firecrawl-interact.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
firecrawl-interactフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
firecrawl interact
スクレイピングしたページとライブブラウザセッションで対話します。まずページをスクレイピングし、次に自然言語プロンプトまたはコードを使用して、クリック、フォーム入力、ナビゲーション、データ抽出を行います。
使用する場面
- コンテンツにインタラクション(クリック、フォーム入力、ページネーション、ログイン)が必要な場合
- コンテンツがJavaScriptのインタラクションの背後にあるため、
scrapeが失敗した場合 - 複数ステップのフローをナビゲートする必要がある場合
- ワークフローエスカレーションパターンにおける最終手段:検索 → スクレイピング → マッピング → クロール → インタラクト
- ウェブ検索には絶対に
interactを使用しないでください — 代わりにsearchを使用してください
クイックスタート
# 1. ページをスクレイピングします(スクレイピングIDは自動的に保存されます)
firecrawl scrape "<url>"
# 2. 自然言語を使用してページと対話します
firecrawl interact --prompt "Click the login button"
firecrawl interact --prompt "Fill in the email field with test@example.com"
firecrawl interact --prompt "Extract the pricing table"
# 3. または、コードを使用して正確に制御します
firecrawl interact --code "agent-browser click @e5" --language bash
firecrawl interact --code "agent-browser snapshot -i" --language bash
# 4. 完了したらセッションを停止します
firecrawl interact stop
オプション
| オプション | 説明 |
|---|---|
--prompt <text> |
自然言語の指示(これまたは --code を使用) |
--code <code> |
ブラウザセッションで実行するコード |
--language <lang> |
コードの言語:bash, python, node |
--timeout <seconds> |
実行タイムアウト(デフォルト: 30、最大: 300) |
--scrape-id <id> |
特定のスクレイピングを対象とする(デフォルト: 最後のスクレイピング) |
-o, --output <path> |
出力ファイルのパス |
プロファイル
スクレイピングで --profile を使用すると、ブラウザの状態(クッキー、localStorage)をスクレイピング間で永続化できます。
# セッション 1: ログインして状態を保存
firecrawl scrape "https://app.example.com/login" --profile my-app
firecrawl interact --prompt "Fill in email with user@example.com and click login"
# セッション 2: 認証された状態で戻る
firecrawl scrape "https://app.example.com/dashboard" --profile my-app
firecrawl interact --prompt "Extract the dashboard data"
読み取り専用の再接続(プロファイル状態への書き込みなし):
firecrawl scrape "https://app.example.com" --profile my-app --no-save-changes
ヒント
- 常に最初にスクレイピングしてください —
interactは以前のfirecrawl scrape呼び出しからのスクレイピングIDを必要とします - スクレイピングIDは自動的に保存されるため、その後の
interact呼び出しで--scrape-idは必要ありません - 完了したら
firecrawl interact stopを使用してリソースを解放してください - 並行作業の場合、複数のページをスクレイピングし、
--scrape-idを使用してそれぞれと対話してください
関連項目
- firecrawl-scrape — まずスクレイピングを試み、必要な場合にのみインタラクトにエスカレートしてください
- firecrawl-search — ウェブ検索用(検索にインタラクトは絶対に使用しないでください)
- firecrawl-agent — AIによる抽出(手動制御が少ない)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
firecrawl interact
Interact with scraped pages in a live browser session. Scrape a page first, then use natural language prompts or code to click, fill forms, navigate, and extract data.
When to use
- Content requires interaction: clicks, form fills, pagination, login
scrapefailed because content is behind JavaScript interaction- You need to navigate a multi-step flow
- Last resort in the workflow escalation pattern: search → scrape → map → crawl → interact
- Never use interact for web searches — use
searchinstead
Quick start
# 1. Scrape a page (scrape ID is saved automatically)
firecrawl scrape "<url>"
# 2. Interact with the page using natural language
firecrawl interact --prompt "Click the login button"
firecrawl interact --prompt "Fill in the email field with test@example.com"
firecrawl interact --prompt "Extract the pricing table"
# 3. Or use code for precise control
firecrawl interact --code "agent-browser click @e5" --language bash
firecrawl interact --code "agent-browser snapshot -i" --language bash
# 4. Stop the session when done
firecrawl interact stop
Options
| Option | Description |
|---|---|
--prompt <text> |
Natural language instruction (use this OR --code) |
--code <code> |
Code to execute in the browser session |
--language <lang> |
Language for code: bash, python, node |
--timeout <seconds> |
Execution timeout (default: 30, max: 300) |
--scrape-id <id> |
Target a specific scrape (default: last scrape) |
-o, --output <path> |
Output file path |
Profiles
Use --profile on the scrape to persist browser state (cookies, localStorage) across scrapes:
# Session 1: Login and save state
firecrawl scrape "https://app.example.com/login" --profile my-app
firecrawl interact --prompt "Fill in email with user@example.com and click login"
# Session 2: Come back authenticated
firecrawl scrape "https://app.example.com/dashboard" --profile my-app
firecrawl interact --prompt "Extract the dashboard data"
Read-only reconnect (no writes to profile state):
firecrawl scrape "https://app.example.com" --profile my-app --no-save-changes
Tips
- Always scrape first —
interactrequires a scrape ID from a previousfirecrawl scrapecall - The scrape ID is saved automatically, so you don't need
--scrape-idfor subsequent interact calls - Use
firecrawl interact stopto free resources when done - For parallel work, scrape multiple pages and interact with each using
--scrape-id
See also
- firecrawl-scrape — try scrape first, escalate to interact only when needed
- firecrawl-search — for web searches (never use interact for searching)
- firecrawl-agent — AI-powered extraction (less manual control)