Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add MSApps-Mobile/claude-plugins/plugin install fix-chrome-connectionWrote 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.
[](https://agentmods.dev/skills/msapps-mobile/claude-plugins/chrome-devtools-mcp-cleanup)<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/chrome-devtools-mcp-cleanup"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/chrome-devtools-mcp-cleanup/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.
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/chrome-devtools-mcp-cleanup"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/chrome-devtools-mcp-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.01474 |
| Opus 5.5 | $0.00043 | $0.00590 |
| Sonnet 5.5 | $0.00022 | $0.00295 |
| Haiku 4.5 | $0.00011 | $0.00147 |
Grade C, and why
chrome-devtools-mcp-cleanup scanned grade C with 1 finding 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 2d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Don't `rm -rf ~/.cache/chrome-devtools-mcp/chrome-profile/` while a session is active — corrupts the running Chromium's state. How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
chrome-devtools-mcp wedge cleanup
Different server from Claude-in-Chrome. This is for
chrome-devtools-mcp(DevTools Protocol; toolsnew_page,take_snapshot,navigate_page,evaluate_script,lighthouse_audit). Not the Claude-in-Chrome extension (mcp__Claude_in_Chrome__*). Both can be down independently — see the sibling/fix-chrome-connectionskill for the extension.
Symptom
list_pages works (read-only) but every state-changing tool errors with:
The browser is already running for /.cache/chrome-devtools-mcp/chrome-profile. Use --isolated to run multiple browser instances.
Root cause: ≥2 concurrent chrome-devtools-mcp@latest parents, each spawning Chromium pinned to the shared profile dir. The Chrome that the current MCP tries to start collides with one started by a stale MCP parent from an earlier session.
The permanent fix is configuration: run chrome-devtools-mcp with --isolated so each session gets its own profile. This skill is the one-time cleanup for hosts where stale parents accumulated before that fix.
When to invoke
Use deliberately — NOT from a scheduled-task runner. Killing processes on a shared Mac is destructive; the user must opt in.
Trigger phrases: "fix chrome-devtools-mcp", "chrome-devtools wedged", "browser is already running for chrome-profile", "stale chrome-devtools parents", "card #223 cleanup".
Diagnosis
# 1. List all chrome-devtools-mcp parent processes
ps -eo pid,etime,command | awk '/chrome-devtools-mcp@latest/ && !/awk/'
# 2. List Chromium children spawned by them (pinned to chrome-profile)
ps -eo pid,ppid,etime,command \
| awk '/chrome-devtools-mcp\/chrome-profile/ && !/awk/'
# 3. Show the lock file holder
ls -la ~/.cache/chrome-devtools-mcp/chrome-profile/SingletonLock 2>/dev/null
If only ONE parent shows up: the wedge is unrelated to staleness. Check the server's args with claude mcp get chrome-devtools (this skill does not read ~/.claude.json directly, since it can contain secrets). It should list --isolated. If missing, tell the user to add it themselves (claude mcp remove then claude mcp add ... -- npx chrome-devtools-mcp@latest --isolated) and restart Claude Code.
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.
- 2d ago Changed · -26 lines · -1 tokens per session 1a7fb225eb93
- 3mo ago First seen · 132 lines · 109 tokens per session scan C f5d345e67763
chrome-devtools-mcp-cleanup is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (14 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 1,474 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
chrome-devtools-mcp-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chrome-devtools-mcp-cleanupMSApps-Mobile/claude-plugins | Skill | 14 | yesterday | MIT | C | 108 | Claude Code |
| site-auditsivang/sivan-claude-plugins | Skill | 1 | 29d ago | MIT | A | 47 | Claude Code |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 31 | Claude Code |
| chrome-performance-optimizerchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 119 | Claude Code, Codex |
| reenable-testchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 85 | Claude Code, Codex |
| remove-circular-includeschromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 37 | Claude Code, Codex |
| experimental-code-coverage-orchestratorchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 38 | Claude Code, Codex |