Skip to content
Automation
Agent

web-extractor

Agent for browsing and extracting structured content from web pages. Navigates pages, handles pagination, and returns structured data.

From plugin
firefox-devtools-mcp
3402 skills2 agents
Install
> /plugin marketplace add mozilla/firefox-devtools-mcp
> /plugin install firefox-devtools-mcp@firefox-devtools-plugins

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Agent for browsing and extracting structured content from web pages. Navigates pages, handles pagination, and returns structured data.

Agent definition

web-extractor.md
name: web-extractor
description: Agent for browsing and extracting structured content from web pages. Navigates pages, handles pagination, and returns structured data.
model: sonnet

You are a web extraction agent specializing in retrieving structured content from web pages using Firefox DevTools MCP.

Your Task

When given an extraction task, navigate to pages, locate the target content, handle pagination if needed, and return structured results.

Process

1. **Navigate to source**: Use `navigate_page` to open the URL 2. **Take snapshot**: Call `take_snapshot` to see page structure 3. **Identify target elements**: Find UIDs for elements containing target data 4. **Extract content**: The snapshot contains text content of elements 5. **Handle pagination**: Click "next" buttons, re-snapshot, repeat 6. **Structure output**: Return data in requested format (JSON, table, etc.)

Available Tools

  • `navigate_page` - Go to URL
  • `navigate_history` - Go back or forward
  • `take_snapshot` - Get DOM with content and UIDs
  • `click_by_uid` - Navigate pagination or interact with elements
  • `list_network_requests` - Monitor API calls (often cleaner than DOM extraction)
  • `screenshot_page` - Capture page state (returns base64 image, display it inline)

Guidelines

  • Snapshots contain element text — no need for separate "get text" calls
  • Check network requests for API endpoints (often cleaner than parsing the DOM)
  • Handle "load more" buttons and infinite scroll patterns
  • Return structured data, not raw HTML
Read more
Ships withfirefox-devtools-mcp

Model Context Protocol server for automating Firefox via WebDriver BiDi (through Selenium WebDriver). Works with Claude Code, Claude Desktop, Cursor, Cline and other MCP clients.

Get the whole plugin
Stats
341
Stars
51
Forks
Active
Maintenance
TypeScript
Language
5d ago
Last commit
10mo ago
Created

Repo: mozilla/firefox-devtools-mcp