udecode/plate/browser-debug-setup
Claude Code and agent skill by udecode/plate
- community
Checking that the SKILL.md file is still in the repository.
One-time setup for a persistent debug browser on `127.0.0.1:9222` for `dev-browser --connect`. Use when browser work is needed but no reusable debug browser is running yet.
Install
npx vskill@latest install udecode/plate/browser-debug-setupSKILL.md
The same SKILL.md was published earlier as udecode/plate/browser-debug-setup.
Browser Debug Setup
Use this skill when dev-browser --connect http://127.0.0.1:9222 fails because no persistent debug browser is running yet.
Goal
Get the user onto one persistent browser/profile that both the human and the agent reuse. Minimize the Allow remote debugging? popup by keeping one dedicated debug browser/profile alive.
Rules
- Prefer one permanent debug browser/profile over disposable automation
browsers.
- Treat a custom
--user-data-diras mandatory, not optional. Chrome 136+
basically wants remote debugging to happen from a dedicated profile.
- Keep auth in that profile. Do not fall back to cookie dumps or state files
unless the user asks.
- Use a separate signed-in Chrome profile for browser work, like
dev. Do not
use the user's normal daily Default profile as the source profile.
- Clone that separate signed-in Chrome profile into the dedicated debug
--user-data-dir; do not point 9222 straight at the user's daily Chrome data dir.
- On macOS, use
open -na "Google Chrome" --args ...for the debug browser.
That starts a separate Chrome instance with the dedicated debug profile without touching the user's normal Chrome window.
Preferred Shape
Use a dedicated browser/profile with:
--remote-debugging-address=127.0.0.1--remote-debugging-port=9222- a persistent
--user-data-dir=<debug-profile-dir>
Sign in once in that dedicated browser and keep reusing it for agent work.
Quick sanity check:
Healthy output includes a JSON object with webSocketDebuggerUrl. Empty output or 404 means the wrong process owns 9222.
Then verify dev-browser:
If dev-browser --connect http://127.0.0.1:9222 still cannot resolve CDP even though /json/version is healthy, connect with the exact websocket URL:
Google Chrome Path
Default setup on macOS:
- Pick a separate signed-in Chrome profile for agent work, like
dev, not
the daily Default profile.
- Map that human-facing Chrome profile name to the real folder in
Local State. - Clone that profile into the dedicated debug dir.
- Launch a separate Chrome instance on
9222. - Leave that debug window open and reuse it.
That keeps the signed-in identity while still satisfying Chrome's dedicated --user-data-dir requirement.
Then keep reusing that exact debug browser. Do not point 9222 at your normal daily Default Chrome profile.
After Setup
- Use
dev-browser --connect http://127.0.0.1:9222for browser work. - Reuse named pages like
persistent-main. - Do not stop the user's debug browser unless they ask.
- If the wrong Chrome steals
9222, identify it withlsof -nP -iTCP:9222 -sTCP:LISTEN,
kill that listener, and relaunch the dedicated debug browser. Do not keep debugging against a stale 404 or empty /json/version owner.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/plate-template/.agents/skills/browser-debug-setup/SKILL.md
Popularity
- Repository stars
- 16,707
- Repository forks
- 1,000
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/udecode/plate/browser-debug-setup)