obra/superpowers-chrome
Claude Code plugin for direct Chrome browser control via DevTools Protocol - zero dependencies
What it solves
Claude Code agents often need to interact with web pages — filling forms, clicking buttons, navigating, scraping content, or taking screenshots. Doing this reliably requires controlling a real browser, which normally involves heavy dependencies like Selenium or Puppeteer. This plugin gives agents direct browser control through the Chrome DevTools Protocol (CDP) with zero extra packages — everything is built into the tool itself.
How it works
The plugin offers two modes:
- Skill Mode – a command-line tool (the
browsingskill) that Claude Code agents can call directly. It uses a simple tab-index syntax (0,1,2) instead of raw WebSocket URLs, so agents don't need to manage connection details. - MCP Mode – a very lightweight MCP server exposing a single
use_browsertool for any MCP-compatible client. After each action that changes the page (navigate, click, type, etc.), it automatically captures page HTML, Markdown, a screenshot, and a DOM summary — all organized in timestamped folders.
The tool starts Chrome with remote debugging enabled, dynamically allocates a free port, and supports multiple parallel profiles. It also handles tricky browser scenarios: JavaScript dialogs (alert/confirm/prompt), device choosers, basic-auth challenges, and permission prompts are surfaced as synthetic responses that agents can click through using special selectors like dialog::accept. A credential-redaction layer is built in to prevent secret leakage into logs or capture files.
Who it's for
This plugin is designed for developers and teams building AI-agent workflows that need browser interaction. It's primarily for Claude Code users, but the MCP server mode allows any MCP client (like Codex) to control a browser. It's useful for web scraping, automated testing, form filling, or any task where an agent needs to act like a human in a browser.
Highlights
- Zero dependencies – uses built-in WebSocket; no
npm installneeded. - Platform-agnostic – works on macOS, Linux, and Windows.
- Idiotproof API – tab indices instead of complex WebSocket URLs.
- 17 commands covering setup, tab management, navigation, interaction, extraction, export, and raw CDP access.
- Automatic page captures in MCP mode – after every DOM-changing action, saves HTML, Markdown, screenshot, and DOM summary.
- Dialog handling – alerts, confirms, prompts, device choosers, basic-auth, and permission prompts are no longer blocking issues.
- Credential redaction – automatically scrubs known secret patterns (Slack tokens, GitHub tokens, OTP seeds, etc.) from captures and responses; also supports a
data-sen-secretmarker for shapeless secrets. - Parallel profiles – multiple Chrome instances can run side-by-side on different ports.
- Headless support – works in headless environments with proper flags.
Related
- Project
- Project
- Project
- Project
- Project