Fix errors · Skill
Inspect a page with Chrome DevTools
debug-with-chrome-devtools
Inspects a live page with the Chrome DevTools MCP server, including console messages, failed network requests, and a performance trace. Use when a page throws in the browser, a request returns an error status, or the user wants DevTools evidence before editing.
Works with: Any AI Not yet model-tested; testing Jan 2027
Paste it into ChatGPT, Claude, Gemini or any AI chat, then tell it about your project. How it works
Install in Claude Code, Cursor or Codex (optional)
Only for AI coding tools that read skill folders. Run one line in a terminal, in your project folder. It downloads this skill's text files from TheSkillVault and nothing else; you can read them first with “View raw SKILL.md”.
Claude Code (all your projects)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/raw' -o ~/'.claude/skills/debug-with-chrome-devtools/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/files/LICENSE.txt' -o ~/'.claude/skills/debug-with-chrome-devtools/LICENSE.txt'Cursor (this project)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/raw' -o '.cursor/skills/debug-with-chrome-devtools/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/files/LICENSE.txt' -o '.cursor/skills/debug-with-chrome-devtools/LICENSE.txt'Codex and other Agent Skills tools (this project)
curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/raw' -o '.agents/skills/debug-with-chrome-devtools/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/debug-with-chrome-devtools/files/LICENSE.txt' -o '.agents/skills/debug-with-chrome-devtools/LICENSE.txt'
Or connect the whole library over MCP
Add TheSkillVault to Cursor or add this to your app's MCP settings (read-only; help):
{
"mcpServers": {
"theskillvault": {
"url": "https://theskillvault.ai/mcp"
}
}
}Use the Chrome DevTools MCP server on a page that is already open. Read the console, the failed requests and a trace before you edit code.
When to use
- The page throws, and you need the console text.
- A request fails, and you need the status and the URL.
- The page feels slow, and you want a performance trace.
When not to use
- You want a script that runs in CI. Use test-web-app-with-playwright.
- You want a shell tool to drive a flow. Use test-site-with-agent-browser.
- Field data already names a slow load or a layout jump. Use fix-core-web-vitals for the fix.
Steps
- Connect the Chrome DevTools MCP server. Confirm it can see an open browser.
- List the open pages and select the tab you mean. Do not act on a tab you have not named.
- Read the console messages. Copy the error text and the file it names.
- List the network requests. Keep status 4xx, 5xx and requests that never finish. Note the URL, method and status.
- For a slow page, start a performance trace, reload once, then stop. Read the longest tasks. Do not guess from a picture.
- Write the evidence in three lines. Console, network, and the trace if you took one.
- Stop. A code change now can hide the evidence.
Gotchas
- Do not paste cookies, session tokens or personal data from the network panel. Redact them first.
- Ids from a page snapshot go stale after navigation. Look again before you act.
- One trace is a clue, not a lab score. Say it was a single run.
- If the MCP server is not connected, say so. Do not invent console lines.
Portability
Works with any site the browser can open. If you use another tool for scripted checks, keep this one for live console, network and trace evidence.
Done when
- The report names the page and quotes the console error, or says there was none.
- Failed requests include the URL and the status, with secrets removed.
- No product code was changed while the evidence was collected.
Example prompt
"This checkout page throws after submit. Use Chrome DevTools to list the console errors and the failed network requests. Do not edit the code yet."
---
Adapted from "chrome-devtools" in github/awesome-copilot (MIT, Copyright GitHub, Inc.). See LICENSE.txt.
Bundled files
Licence
Adapted from GitHub awesome-copilot contributors (chrome-devtools) (Copyright GitHub, Inc.), MIT License. Adapted by TheSkillVault on 2026-11-10: the tool catalogue was cut down to a read-first loop for console, network and a performance trace; interaction steps were shortened; added when-not-to-use, secret handling and done-when. Not the original file.
Licence: MIT License. Attribution when you reuse it: Based on work by GitHub awesome-copilot contributors (chrome-devtools) (Copyright GitHub, Inc., MIT License), https://github.com/github/awesome-copilot/tree/5269f7ea2d6c3a9bfda5ed878b6726cf509121fd/skills/chrome-devtools; adapted by TheSkillVault, https://theskillvault.ai