cygnusfear/claude-stuff/chrome-devtools
Claude Code and agent skill by cygnusfear/claude-stuff
- community
Checking that the SKILL.md file is still in the repository.
Control Chrome browser programmatically using chrome-devtools-mcp. Use when user asks to automate Chrome, debug web pages, take screenshots, evaluate JavaScript, inspect network requests, or interact with browser DevTools. Also use when asked about browser automation, web scraping, or testing websites.
Install
npx vskill@latest install cygnusfear/claude-stuff/chrome-devtoolsSKILL.md
Chrome DevTools MCP Skill
Control Chrome browser programmatically via chrome-devtools-mcp.
⚡ Performance Tip: Always use the patterns in "Quick Start" section below. They include cleanup and run everything in ONE command to avoid browser lock issues.
Speed Comparison:
- ❌ OLD WAY: Multiple attempts, manual cleanup, 5-10 commands → ~60-90 seconds
- ✅ NEW WAY: One optimized command → ~5-10 seconds
📚 See also: MCP CLI Guide for general MCP CLI patterns and best practices
Setup
Quick Start (FASTEST)
Check Console Errors on localhost
Single command (copy-paste ready):
Full Debug: Console + Network + Page Content
Screenshot a Page
Execute JavaScript on Page
⚡ Pattern: cleanup; sleep; echo commands | timeout shell
This avoids:
- ❌ Browser profile locks (cleanup first)
- ❌ Multiple shell sessions (one pipeline)
- ❌ Hanging commands (timeout wrapper)
Usage
List available tools:
Call tools (individual commands):
Interactive shell mode (RECOMMENDED - maintains single browser instance):
With Chrome launch options:
Common Workflows
Check localhost console logs:
Automate form filling:
Network debugging:
Key Tools
- navigate_page - Go to URL (returns page list)
- new_page - Open new tab (returns page list)
- select_page - Switch to different page by index
- close_page - Close page by index
- click - Click element
- fill - Fill input/textarea
- evaluate_script - Run JavaScript
- take_screenshot - Capture page as image
- take_snapshot - Get page content as text with UIDs
- list_console_messages - View console logs (use
{"pageIdx":0}) - list_network_requests - View network activity (use
{"pageIdx":0}) - wait_for - Wait for text/condition
Important Notes
- Always use
bunx(notnpx) for chrome-devtools-mcp - Correct syntax:
mcp call TOOL_NAME bunx -y chrome-devtools-mcp@latest -- --isolated --params '{...}' - Server command comes AFTER tool name, BEFORE --params
- Parameters are passed directly (no "arguments" wrapper)
- Use
-- --isolatedto create temporary profile (prevents browser lock conflicts) - Server exposes full browser content - avoid sensitive data
Working with Multiple Commands
Problem: Each mcp call starts a new server & browser instance, causing conflicts.
Solutions:
- Shell mode (RECOMMENDED): Maintains single browser instance
``bash mcp shell bunx -y chrome-devtools-mcp@latest -- --isolated ``
- Individual calls: Use
-- --isolatedfor one-off commands
``bash mcp call navigate_page bunx -y chrome-devtools-mcp@latest -- --isolated --params '{"url":"..."}' ``
- Connect to running Chrome: Start Chrome with debugging enabled
``bash /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 mcp call navigate_page bunx -y chrome-devtools-mcp@latest -- --browserUrl http://127.0.0.1:9222 --params '{"url":"..."}' ``
Known Issues (mcp CLI v0.7.1)
⚠️ Bug: Tools with empty parameter schemas fail with "Invalid arguments" error.
Workaround: Provide at least one optional parameter:
- ✅
list_console_messages {"pageIdx":0}- Works - ✅
list_network_requests {"pageIdx":0}- Works - ✅
take_snapshot {"verbose":false}- Works - ❌
list_pages- Broken, usenavigate_pageornew_pageinstead (they return page list)
Troubleshooting
Problem: "The browser is already running" error
This happens when a previous Chrome instance is still holding the profile lock.
Quick fix (ALWAYS DO THIS FIRST):
Then run your command:
Problem: Multiple failed attempts
Don't create multiple shell sessions - keep ONE session open and run multiple commands:
❌ BAD (slow - 2 separate sessions):
✅ GOOD (fast - 1 session, multiple commands):
Problem: Commands hanging/timing out
Use timeout to prevent hanging:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/chrome-devtools/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cygnusfear/claude-stuff/chrome-devtools)