skills/jb-chrome-mcp/SKILL.md
Use when the user asks for Chrome MCP/DevTools MCP via mcporter, existing Chrome tabs, console/network inspection, screenshots, or performance traces.
npx skillsauth add bjesuiter/skills jb-chrome-mcpInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Private skill for using Chrome DevTools MCP through mcporter.
Before using this skill:
chrome://inspect/#remote-debugging in Chrome.127.0.0.1:9222.
Server running at: 127.0.0.1:9222lsof -nP -iTCP:9222 -sTCP:LISTENmcporter is installed.Do not ask the user to configure mcporter manually unless the bootstrap script fails.
Before the first mcporter call, run the bundled script:
./scripts/ensure-jb-chrome-mcp.sh
The script:
127.0.0.1:9222mcporter server named jb-chrome-mcpchrome-devtools-mcp with --autoConnect--autoConnect was more reliable for the chrome://inspect/#remote-debugging workflow than forcing --browserUrl http://127.0.0.1:9222.
After bootstrapping, verify the tool list if needed:
mcporter list jb-chrome-mcp --schema
Note: the first live mcporter call may trigger a Chrome permission prompt for the DevTools MCP connection. Click Allow before expecting list_pages or other live calls to return.
list_pagesselect_pagetake_snapshot before interactingclick, fill, press_key, navigate_page, or evaluate_scriptlist_console_messageslist_network_requestsget_network_requestperformance_start_traceperformance_stop_tracelighthouse_auditmcporter call ... --output json for machine-readable responses.take_snapshot over screenshots when text structure is enough.list_pages first if the active tab is unclear.select_page bringToFront=true before interactive actions when tab focus matters.First run:
./scripts/ensure-jb-chrome-mcp.sh
Then use the saved server.
List tabs:
mcporter call jb-chrome-mcp.list_pages --output json
Select a tab:
mcporter call jb-chrome-mcp.select_page pageId=1 bringToFront=true --output json
Take a text snapshot:
mcporter call jb-chrome-mcp.take_snapshot --output json
Click an element from the latest snapshot:
mcporter call jb-chrome-mcp.click uid=1_10 includeSnapshot=true --output json
Evaluate JavaScript:
mcporter call 'jb-chrome-mcp.evaluate_script(function: "() => document.title")' --output json
Show console messages:
mcporter call jb-chrome-mcp.list_console_messages --output json
Show network requests:
mcporter call jb-chrome-mcp.list_network_requests --output json
Start a performance trace:
mcporter call jb-chrome-mcp.performance_start_trace reload=true autoStop=true --output json
Take a screenshot:
mcporter call jb-chrome-mcp.take_screenshot fullPage=true filePath=tmp/chrome-mcp.png --output json
If --autoConnect is unavailable or you are connecting to an older/manual Chrome instance that exposes /json/version, use:
mcporter config add jb-chrome-mcp \
--stdio npx \
--arg -y \
--arg chrome-devtools-mcp@latest \
--arg --browserUrl \
--arg http://127.0.0.1:9222 \
--arg --no-usage-statistics \
--scope home
9222, reopen chrome://inspect/#remote-debugging and turn it on again.list_pages returns a connection error, retry with the persisted config form instead of ad-hoc stdio.--browserUrl fails on http://127.0.0.1:9222/json/version, switch back to --autoConnect.list_pages and select_page again.testing
Use when the user mentions Clawpatch/clawpatch.ai, semantic feature review, repo-wide AI audit, persistent findings, or clawpatch init/map/review/report/fix/revalidate.
development
Use when the user asks for autoreview, Codex/Claude second-model review, or final review of dirty changes, a branch, commit, or PR before ship.
testing
Use when the user asks to cut, prepare, publish, tag, or verify a release, especially npm/package releases.
tools
Use when adding, writing, fixing, or exposing a script for the Tuna macOS launcher.