a11y-debugging
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic…
Uses Chrome DevTools MCP and documentation to troubleshoot connection and target issues. Trigger this skill when list_pages, new_page, or navigate_page fail, or when the server initialization fails.
Claude Code
$ npx -y skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting --agent claude-code
Codex
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a codex -y
Cursor
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a cursor -y
Gemini CLI
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a gemini-cli -y
GitHub Copilot
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a github-copilot -y
OpenCode
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a opencode -y
Windsurf
$ npx skills add ChromeDevTools/chrome-devtools-mcp --skill troubleshooting -a windsurf -y
name: troubleshooting description: Uses Chrome DevTools MCP and documentation to troubleshoot connection and target issues. Trigger this skill when list_pages, new_page, or navigate_page fail, or when the server initialization fails.
You are acting as a troubleshooting wizard to help the user configure and fix their Chrome DevTools MCP server setup. When this skill is triggered (e.g., because `list_pages`, `new_page`, or `navigate_page` failed, or the server wouldn't start), follow this step-by-step diagnostic process:
Your first action should be to locate and read the MCP configuration file. Search for the following files in the user's workspace: `.mcp.json`, `.vscode/mcp.json`, `gemini-extension.json`, or `.gemini/settings.json` (or user-scoped files such as `~/.claude.json` if accessible).
If you find a configuration file, read and interpret it to identify potential issues such as:
If you cannot find any of these files, only then should you ask the user to provide their configuration file content.
Before reading documentation or suggesting configuration changes, check if the error message matches one of the following common patterns.
This error is highly specific to the `--autoConnect` feature. It means the MCP server cannot find the file created by a running, debuggable Chrome instance. This is not a generic connection failure.
Your primary goal is to guide the user to ensure Chrome is running and properly configured. Do not immediately suggest switching to `--browserUrl`. Follow this exact sequence:
1. **Ask the user to confirm that the correct Chrome version** (e.g., "Chrome Canary" if the error mentions it) is currently running. 2. **If the user confirms it is running, instruct them to enable remote debugging.** Be very specific about the URL and the action: "Please open a new tab in Chrome, navigate to `chrome://inspect/#remote-debugging`, and make sure the 'Enable remote debugging' checkbox is checked." 3. **Once the user confirms both steps, your only next action should be to call the `list_pages` tool.** This is the simplest and safest way to verify if the connection is now successful. Do not retry the original, more complex command yet. 4. **If `list_pages` succeeds, the problem is resolved.** If it still fails with the same error, then you can proceed to the more advanced steps like suggesting `--browserUrl` or checking for sandboxing issues.
If the server starts successfully but `list_pages` returns an empty list or creates a new profile instead of connecting to the existing Chrome instance, check for typos in the arguments.
If the server starts successfully but only a limited subset of tools (like `list_pages`, `list_console_messages`, `get_console_message`, `list_network_requests`) are available, this is likely because the MCP client is enforcing a **read-only mode**.
All tools in `chrome-devtools-mcp` are annotated with `readOnlyHint: true` (for safe, non-modifying tools) or `readOnlyHint: false` (for tools that modify browser state, like `emulate`, `click`, `navigate_page`). To access the full suite of tools, the user must disable read-only mode in their MCP client (e.g., by exiting "Plan Mode" in Gemini CLI or adjusting their client's tool safety settings).
If the tools related to extensions (like `install_extension`) are not available, or if the extensions you load are not functioning:
1. **Check for the `--categoryExtensions` flag**: Ensure this flag is passed in the MCP server configuration to enable the extension category tools.
Identify other error messages from the failed tool call or the MCP initialization logs:
Read the contents of https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/troubleshooting.md to map the error to a known issue. Pay close attention to:
Based on the exact error and the user's environment (OS, MCP client), formulate the correct MCP configuration snippet. Check if they need to:
_If you are unsure of the user's configuration, ask the user to provide their current MCP server JSON configuration._
If the issue is still unclear, run diagnostic commands to test t
Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent (such as Antigravity, Claude, Cursor or Copilot) control and inspect a live Chrome browser. It is available as a Model-Context-Protocol (MCP) server and as a CLI.
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic…
Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via…
Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages,…
Uses Chrome DevTools MCP for inspecting, debugging, and testing cookies, session state, authentication issues, and cookie consent…
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user…
Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or…
Triage a Windows crash dump - identify the exception, the faulting frame, and what to look at next. Use when the user points at a…
Run and debug a local web app with a managed browser and a shared server/browser evidence timeline. Use when asked to develop,…