Skip to content

obra/superpowers-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Superpowers Chrome - Claude Code Plugin

Direct browser control via Chrome DevTools Protocol. Two modes available:

  1. Skill Mode - CLI tool for Claude Code agents (browsing skill)
  2. MCP Mode - Ultra-lightweight MCP server for any MCP client

Features

  • Zero dependencies - Built-in WebSocket, no npm install needed
  • Idiotproof API - Tab index syntax (0, 1, 2) instead of WebSocket URLs
  • Platform-agnostic - chrome-ws start works on macOS, Linux, Windows
  • 17 commands covering all browser automation needs
  • Complete documentation with real-world examples

Installation

/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers-chrome@superpowers-marketplace

Quick Start

cd ~/.claude/plugins/cache/superpowers-chrome/skills/browsing
./chrome-ws start                        # Launch Chrome
./chrome-ws new "https://example.com"   # Create tab
./chrome-ws navigate 0 "https://google.com"
./chrome-ws fill 0 "textarea[name=q]" "test"
./chrome-ws click 0 "button[name=btnK]"

Commands

  • Setup: start (auto-detects platform)
  • Tab management: tabs, new, close
  • Navigation: navigate, wait-for, wait-text
  • Interaction: click, fill, select
  • Extraction: eval, extract, attr, html
  • Export: screenshot, markdown
  • Raw protocol: raw (full CDP access)

MCP Server Mode

Ultra-lightweight MCP server with a single use_browser tool. Perfect for minimal context usage.

Installation

Add to Claude Desktop config:

{
  "mcpServers": {
    "chrome": {
      "command": "node",
      "args": [
        "/path/to/superpowers-chrome/mcp/dist/index.js"
      ]
    }
  }
}

Usage

{
  "action": "navigate",
  "payload": "https://example.com"
}

See mcp/README.md for complete documentation.

When to Use

Use Skill Mode when:

  • Working with Claude Code agents
  • Need full CLI control with 17 commands

Use MCP Mode when:

  • Using Claude Desktop or other MCP clients
  • Want minimal context usage (single tool)

Use Playwright MCP when:

  • Need fresh browser instances
  • Complex automation with screenshots/PDFs
  • Prefer higher-level abstractions

Documentation

License

MIT

About

Claude Code plugin for direct Chrome browser control via DevTools Protocol - zero dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published