💡 Summary
A browser automation plugin for Claude Code that enables persistent, stateful control of a browser for testing and verification during development.
🎯 Target Audience
🤖 AI Roast: “It's a browser automation tool that's so eager to help, it might just start browsing your personal tabs without asking.”
The skill grants an AI agent control over a local browser, enabling actions like navigation, form input, and clicking. This could lead to unintended interactions with sensitive web applications (e.g., banking, email) if the agent's instructions are malformed or malicious. Mitigation: Run the skill in a dedicated, isolated browser profile with no saved credentials and strict network restrictions.
A browser automation plugin for Claude Code that lets Claude control your browser to test and verify your work as you develop.
Key features:
- Persistent pages - Navigate once, interact across multiple scripts
- Flexible execution - Full scripts when possible, step-by-step when exploring
- LLM-friendly DOM snapshots - Structured page inspection optimized for AI
Prerequisites
- Claude Code CLI installed
- Node.js (v18 or later) with npm
Installation
Claude Code
/plugin marketplace add sawyerhood/dev-browser
/plugin install dev-browser@sawyerhood/dev-browser
Restart Claude Code after installation.
Amp / Codex
Copy the skill to your skills directory:
# For Amp: ~/.claude/skills | For Codex: ~/.codex/skills SKILLS_DIR=~/.claude/skills # or ~/.codex/skills mkdir -p $SKILLS_DIR git clone https://github.com/sawyerhood/dev-browser /tmp/dev-browser-skill cp -r /tmp/dev-browser-skill/skills/dev-browser $SKILLS_DIR/dev-browser rm -rf /tmp/dev-browser-skill
Amp only: Start the server manually before use:
cd ~/.claude/skills/dev-browser && npm install && npm run start-server
Chrome Extension (Optional)
The Chrome extension allows Dev Browser to control your existing Chrome browser instead of launching a separate Chromium instance. This gives you access to your logged-in sessions, bookmarks, and extensions.
Installation:
- Download
extension.zipfrom the latest release - Unzip the file to a permanent location (e.g.,
~/.dev-browser-extension) - Open Chrome and go to
chrome://extensions - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked" and select the unzipped extension folder
Using the extension:
- Click the Dev Browser extension icon in Chrome's toolbar
- Toggle it to "Active" - this enables browser control
- Ask Claude to connect to your browser (e.g., "connect to my Chrome" or "use the extension")
When active, Claude can control your existing Chrome tabs with all your logged-in sessions, cookies, and extensions intact.
Permissions
To skip permission prompts, add to ~/.claude/settings.json:
{ "permissions": { "allow": ["Skill(dev-browser:dev-browser)", "Bash(npx tsx:*)"] } }
Or run with claude --dangerously-skip-permissions (skips all prompts).
Usage
Just ask Claude to interact with your browser:
"Open localhost:3000 and verify the signup flow works"
"Go to the settings page and figure out why the save button isn't working"
Benchmarks
| Method | Time | Cost | Turns | Success | | ----------------------- | ------- | ----- | ----- | ------- | | Dev Browser | 3m 53s | $0.88 | 29 | 100% | | Playwright MCP | 4m 31s | $1.45 | 51 | 100% | | Playwright Skill | 8m 07s | $1.45 | 38 | 67% | | Claude Chrome Extension | 12m 54s | $2.81 | 80 | 100% |
See dev-browser-eval for methodology.
How It's Different
| Approach | How It Works | Tradeoff | | ---------------------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------------ | | Playwright MCP | Observe-think-act loop with individual tool calls | Simple but slow; each action is a separate round-trip | | Playwright Skill | Full scripts that run end-to-end | Fast but fragile; scripts start fresh every time | | Dev Browser | Stateful server + agentic script execution | Best of both: persistent state with flexible execution |
License
MIT
Author
Pros
- Persistent browser state across interactions improves efficiency.
- Flexible execution model adapts to scripted or exploratory tasks.
- Optional Chrome extension allows use of existing sessions and extensions.
Cons
- Requires manual server start for Amp, adding setup complexity.
- Introduces security risks by granting AI control over the local browser.
- Dependency on external Chrome extension for full feature set.
Related Skills
pytorch
S“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”
agno
S“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”
nuxt-skills
S“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author SawyerHood.
