/mauriciovieira-skills:chrome-devtools-mcpfrom mauriciovieira-skills
Scaffolds a dedicated Chrome instance with an isolated, persistent profile plus a chrome-devtools-mcp (CDP) server registration, so Claude can inspect authenticated network traffic in a web app - list open tabs, navigate, and read real requests (method, URL, sensitive headers, body, response shape) to reverse-engineer an API. Use when the user wants to inspect authenticated traffic in a browser, capture real headers/cookies for an integration, reverse-engineer a web app's undocumented API, or asks to set up chrome-devtools-mcp / CDP debugging.
Ships in mauriciovieira-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Scaffolds the setup needed to inspect authenticated network traffic through
chrome-devtools-mcp (Google's official CDP MCP server - not Playwright). Generates:
scripts/launch-chrome.sh - opens a dedicated Chrome instance with --remote-debugging-port
and an isolated --user-data-dir profile that persists login state across runs.docs/chrome-mcp-setup.md - the usage flow: launch, log in once, register the MCP server,
capture requests, turn them into probe scripts.scripts/probe/ - dir (with a .gitkeep) where each captured request later becomes a
minimal fetch-based reproduction script.Authorization/Cookie/CSRF headers to wire up an integration or MCP tool.list_pages, navigate_page, get_network_requests, or
evaluate_script against an authenticated session.Do NOT use when the target API is already documented, or when an existing
scripts/launch-chrome.sh / docs/chrome-mcp-setup.md is present for this project - diff
manually instead, this skill refuses to overwrite unless FORCE=1.
~/.chrome-<slug>-profile)
and titles the doc.9222. Ask if another project's Chrome is already using it; each
project should get its own port so instances don't collide..).Run the scaffold script from the target project root:
PROJECT=myapp PORT=9222 START_URL=https://app.example.com/login \
TARGET_DIR=. ~/.claude/skills/chrome-devtools-mcp/scripts/scaffold.sh
The script:
templates/scripts/launch-chrome.sh.tmpl to scripts/launch-chrome.sh (executable).templates/docs/chrome-mcp-setup.md.tmpl to docs/chrome-mcp-setup.md.scripts/probe/ for later per-request reproduction scripts.FORCE=1.Edit (or create) .mcp.json at the project root directly - merge into any existing
mcpServers, don't overwrite other entries:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest", "--browserUrl", "http://127.0.0.1:9222"]
}
}
}
Then tell the user to restart Claude Code so the tools (list_pages, navigate_page,
get_network_requests, evaluate_script, etc) appear.
Tell the user, in order:
./scripts/launch-chrome.sh - opens the dedicated Chrome instance.list_pages to confirm the right tab, then get_network_requests filtered by the
target domain while exercising the feature.scripts/probe/<name>.mjs using plain fetch
with the same headers, to validate reproducibility outside the browser before wrapping
it as an MCP tool under src/.Full walkthrough lives in the generated docs/chrome-mcp-setup.md.
~/.chrome-<project>-profile) holds real session cookies. It lives
outside the repo; never commit it, never let it sync through Dropbox/iCloud/etc.| Mistake | Fix |
|---|---|
| Reusing one port/profile across projects | Give each project its own PORT and PROJECT slug; instances collide otherwise. |
Overwriting another .mcp.json server entry | Merge the chrome-devtools key in, don't replace the whole file. |
| Committing a probe script with a real captured token | Read secrets from env vars or a gitignored local file, never hardcode them. |
Forgetting to restart Claude Code after editing .mcp.json | New MCP tools only appear after a restart. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mauriciovieira/skills --plugin mauriciovieira-skills45 skills in this plugin
/ansible-kamalUse when bootstrapping a Rails project that needs Ubuntu VPS provisioning (Ansible) and Kamal 2 deploy (kamal-proxy on 80/443) — scaffolds infra/ansible, infra/kamal, config/deploy*.yml, .kamal/secrets* templates from a hardened reference layout, asking IP, DNS, and whether the host runs both staging+production or only a single domain./babysit-with-github-copilotBabysit a PR through GitHub Copilot review until merge. Use when the user asks to "babysit PR/batch-grill-meA relentless interview that asks every frontier question at once, round by round.Other plugins' skills for the same job