chrome-devtools

chrome-devtools is a skill for Claude Code from ChromeDevTools/chrome-devtools-mcp. It costs 55 tokens per session (1,067 once invoked), scanned A, a copy of chrome-devtools, Apache-2.0.

A set of instructions for using Chrome DevTools through MCP, a way for software tools to communicate with each other. It covers browser control, page inspection, debugging, performance checks, and network analysis.

In plain words
What is it for?
Use it to debug websites, automate browser tasks, inspect page structure or network requests, and investigate performance.
Why use it?
It provides a repeatable way to find pages and elements before interacting with them, reducing failed browser actions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the chrome-devtools-mcp plugin — 8 skills, 1 MCP server shipped together

Good fit Use it to debug websites, automate browser tasks, inspect page structure or network requests, and investigate performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chromedevtools/chrome-devtools-mcp/chrome-devtools
About the project

Chrome DevTools MCP is an MCP server that lets coding agents control and inspect a live Chrome browser for automation, debugging, screenshots, network analysis, console inspection, and performance tracing. It is for developers who want AI coding assistants to test and diagnose web applications, and the catalogue add-ons provide workflows for using those browser tools.

ChromeDevTools/chrome-devtools-mcp · 59,833 stars · on GitHub · developer.chrome.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChromeDevTools/chrome-devtools-mcp --skill chrome-devtools
Clone the repo
git clone --depth 1 https://github.com/ChromeDevTools/chrome-devtools-mcp

Made for: Claude Code.

Or install chrome-devtools-mcp, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chrome-devtools

README.md
[![agentmods](https://agentmods.dev/badge/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools/github.svg)](https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools)
Your own site
<a href="https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools"><img src="https://agentmods.dev/badge/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chrome-devtools

Your own site · 80×15
<a href="https://agentmods.dev/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools"><img src="https://agentmods.dev/badge/skills/chromedevtools/chrome-devtools-mcp/chrome-devtools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 17 Nov 2026
  • Snyk warn 17 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 8
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01067
Opus 5.5 $0.00022 $0.00427
Sonnet 5.5 $0.00011 $0.00213
Haiku 4.5 $0.00006 $0.00107

Measured 11d ago against content hash 76a819093009, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chrome-devtools scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to chrome-devtools — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/chrome-devtools/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Core Concepts

Browser lifecycle: Browser starts automatically on first tool call using a persistent Chrome profile. Configure via CLI args in the MCP server configuration: npx chrome-devtools-mcp@latest --help. Additional tooling can be enabled by providing the following flags:

  • For extension tooling, use the --categoryExtensions flag.
  • For memory tooling, use the --memoryDebugging flag.

Page targeting: Page-scoped tools require a pageId parameter to target a specific page. Use list_pages to see available pages and their IDs (e.g. pageId: 1), or use the ID returned when creating a page with new_page. Note: For evaluate_script, pageId is required when targeting pages. However, when --categoryExtensions is enabled, pageId is optional so you can pass serviceWorkerId instead to evaluate inside an extension background service worker. Element interaction: Use take_snapshot to get page structure with element uids. Each element has a unique uid for interaction. If an element isn't found, take a fresh snapshot - the element may have been removed or the page changed.

Workflow Patterns

Before interacting with a page

  1. Navigate: navigate_page or new_page
  2. Wait: wait_for to ensure content is loaded if you know what you look for.
  3. Snapshot: take_snapshot with pageId to understand page structure
  4. Interact: Use element uids from snapshot for click, fill, etc., passing the corresponding pageId.

Efficient data retrieval

  • Use filePath parameter for large outputs (screenshots, snapshots, traces)
  • Use pagination (pageIdx, pageSize) and filtering (types) to minimize data
  • Set includeSnapshot: false on input actions unless you need updated page state

Tool selection

  • Network mocks: mock_network and remove_network_mock require --categoryNetworkMocks at server startup.
  • Automation/interaction: take_snapshot (text-based, faster, better for automation)
  • Visual inspection: take_screenshot (when user needs to see visual state)
  • CSS & Styling inspection: Use get_css_styles to inspect computed styles, matched rules, cascade, and CSS variables (pass computedProperties for unmatched defaults). Treat the output as authoritative.
  • Additional details: Use evaluate_script for runtime DOM/JS data not available via get_css_styles or take_snapshot.
  • Runtime values: Use set_logpoints to log expressions at script or source-file lines (source maps supported) instead of editing code; read the output with list_console_messages.

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed 76a819093009
  2. 12d ago Changed 80d301337ac0
  3. 19d ago Changed · +1 lines d5f7a3272f1f
  4. 25d ago Changed · +1 lines 16b5e730d84c
  5. 2mo ago Changed 69a65d0276dd
  6. 2mo ago Changed · +1 lines dc9b3cd25a8f
  7. 3mo ago First seen · 74 lines · 55 tokens per session scan A b27f4b6d68f7

Subscribe to this mod's changes

chrome-devtools is a skill published in the GitHub repository ChromeDevTools/chrome-devtools-mcp (59,833 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 1,067 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to chrome-devtools, differing in 16 lines, and is treated as a copy.

Related

chrome-devtools compared with skills from other repositories

chrome-devtools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chrome-devtoolsChromeDevTools/chrome-devtools-mcpSkill60ktodayApache-2.0A55Claude Code
devcdpDayananda-D/DevCDPSkill23d agoMITA79Claude Code
brave-devtoolstriuzzi/brave-devtools-mcpSkill554d agoApache-2.0A56Claude Code
cookie-debuggingtriuzzi/brave-devtools-mcpSkill554d agoApache-2.0A71Claude Code
a11y-debuggingtriuzzi/brave-devtools-mcpSkill554d agoApache-2.0A50Claude Code
inspect-in-devtoolstriuzzi/brave-devtools-mcpSkill554d agoApache-2.0A58Claude Code
surfnicobailon/surf-cliSkill707todayMITA53Claude Code, Codex