chrome-devtools-coexistence

chrome-devtools-coexistence is a skill for Claude Code from aryanduntley/pwa-debug-layer. It costs 67 tokens per session (1,740 once invoked), scanned A, original, MIT.

Instructions for connecting the optional Chrome DevTools MCP server to the browser used by pwa-debug. Chrome DevTools is a set of browser tools for inspecting pages, entering input, and checking performance.

In plain words
What is it for?
It helps register, reload, and troubleshoot Chrome DevTools alongside pwa-debug, including preserving conversation context when a restart is needed.
Why use it?
It explains how to make both servers use the same browser and how to reload their tools after setup changes. It also covers avoiding an isolated browser or the wrong debugging port.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the pwa-debug plugin — 1 skill, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/aryanduntley/pwa-debug-layer/chrome-devtools-coexistence
Any agent
npx skills add aryanduntley/pwa-debug-layer --skill chrome-devtools-coexistence
Clone the repo
git clone --depth 1 https://github.com/aryanduntley/pwa-debug-layer

Made for: Claude Code.

Or install pwa-debug, the plugin that ships this one along with the rest of its 1 skill, 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-coexistence

README.md
[![agentmods](https://agentmods.dev/badge/skills/aryanduntley/pwa-debug-layer/chrome-devtools-coexistence.svg)](https://agentmods.dev/skills/aryanduntley/pwa-debug-layer/chrome-devtools-coexistence)
Your own site
<a href="https://agentmods.dev/skills/aryanduntley/pwa-debug-layer/chrome-devtools-coexistence"><img src="https://agentmods.dev/badge/skills/aryanduntley/pwa-debug-layer/chrome-devtools-coexistence.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00067 $0.01740
Opus 5 $0.00034 $0.00870
Sonnet 5 $0.00013 $0.00348
Haiku 4.5 $0.00007 $0.00174

Measured 5d ago against content hash 10dccde2b751, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

chrome-devtools-coexistence 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 5d 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.

skills/chrome-devtools-coexistence/SKILL.md · 110 lines

How it starts

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

pwa-debug and chrome-devtools-mcp are two separate MCP servers. pwa-debug exposes framework/store/DOM state; chrome-devtools-mcp drives the browser (snapshots, input, performance). They share one browser: pdl_launch_browser spawns it with the debug port live, and chrome-devtools-mcp attaches to that port via --browserUrl. This skill covers making chrome-devtools-mcp's tools appear after you register it, and preserving context across the restart that sometimes requires.

When to use

  • Right after pdl_register_chrome_devtools (or a manual claude mcp add chrome-devtools …).
  • When the user reports that chrome-devtools tools are not available even though the registration looks correct.
  • When pdl_check_setup reports chrome-devtools-mcp as not registered, unpinned (no --browserUrl → it spawns its own isolated browser instead of attaching to the pwa-debug browser), or pointed at the wrong port.

The one rule that drives everything

A newly added or re-pinned MCP server only takes effect when Claude Code (re)connects it. How you trigger that depends on the install mode:

Install mode How chrome-devtools tools (re)load Full restart? Context lost?
Direct MCP (claude mcp add …) /mcpreconnect the server, or restart Claude Code Usually no (reconnect) Only if you full-restart — see handoff
Plugin (bundled MCP server) Enable in /plugins, then run /reload-plugins No (same session) No

/mcp reconnect picks up a changed registration. Verified in practice: after claude mcp remove chrome-devtools + claude mcp add … --browserUrl http://127.0.0.1:<port>, a /mcp → reconnect on chrome-devtools reloaded it with the new --browserUrl and it attached to the pwa-debug browser — no full restart, no context loss. Try /mcp reconnect first. If the client doesn't show it connected (some clients won't load a brand-new server without a restart), fall back to a full restart and do the context handoff below first. Plugin installs always prefer /reload-plugins.

Read the full file on GitHub · 110 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. 5d ago First seen · 110 lines · 67 tokens per session scan A 10dccde2b751

Subscribe to this mod's changes

chrome-devtools-coexistence is a skill published in the GitHub repository aryanduntley/pwa-debug-layer (0 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 1,740 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

cookie-debugging

Uses Chrome DevTools MCP for inspecting, debugging, and testing cookies, session state, authentication issues, and cookie consent compliance. Use when diagnosing 401/403 errors, authentication redirects, session expiration, Cookie/Set-Cookie header issues, cookie banner consent conformance, or third-party…

ChromeDevTools/chrome-devtools-mcp · 71 tokens

a11y-debugging

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

ChromeDevTools/chrome-devtools-mcp · 50 tokens

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).

ChromeDevTools/chrome-devtools-mcp · 55 tokens

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens