setup-dev-browser
Skill32 starsChanged 23 days agoMITView on GitHub
Set up a dedicated Chrome window for the AI (its own profile, signed in to the user's accounts) and the dev-browser CLI and skill, so the agent can browse, click, fill forms and check sites in it. Use when the user wants to set up dev-browser, a browser for the AI, or Chrome AI.
- Installs packages
In this repository42 other files it gives its agents.
- skills/setup-my-hermes-dashboard/template/AGENTS.mdAGENTS.md
- audit-safetySkill
- betterSkill
- cleanupSkill
- create-projectSkill
- doneSkill
- dreamSkill
- projectsSkill
- setup-brainSkill
- cloudflareSkill
- code-debugSkill
- codex-imagesSkill
- connect-googleSkill
- connect-instagram-developer-platformSkill
- connect-toolSkill
- connect-vpsSkill
- connect-youtube-developer-platformSkill
- convexSkill
- create-internal-appSkill
- create-landingSkill
- create-softwareSkill
- dev-browserSkill
- grill-meSkill
- initializeSkill
- install-skillsSkill
- lumailSkill
- safe-shipSkill
- setup-cloudflareSkill
- setup-convexSkill
- setup-githubSkill
- setup-lumailSkill
- dashboardSkill
- setup-my-hermes-dashboardSkill
- setup-nodeSkill
- setup-stripeSkill
- setup-vpsSkill
- show-meSkill
- skill-managerSkill
- stripe-checkoutSkill
- use-styleSkill
- verifySkill
- wait-whatSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Check the machine. This works on macOS and Linux.
- Very specific: line 22
If Node is missing, run the setup-node skill first.
- Very specific: line 32
Run chrome-ai start. It opens a new Chrome window and prints http://127.0.0.1:9333.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Give the agent its own Chrome: a separate window with its own profile, where the user signs in once to their tools, and that the agent drives through the dev-browser CLI. The user's normal Chrome stays untouched, and the agent never needs a password because the sessions stay saved in that profile. Do every step yourself and only ask for what needs a human (installing Chrome, signing in). Talk to the user in their language, short messages, no jargon (never say "CDP", "profile directory" or "PATH" to them).
If you got this skill from a link instead of a local folder, install nothing else from the repo: download a file it links only when a step needs it, with curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/setup-dev-browser/<path> -o <scratch>/<file> (for example scripts/chrome-ai), and read another skill it names only when you reach it, from https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/<skill-name>/SKILL.md.
The setup lives in four places: the launcher ~/.local/bin/chrome-ai (copied from scripts/chrome-ai), the profile ~/.chrome-ai-profile, the debugging port 9333 open on 127.0.0.1 only, and the dev-browser skill that tells every agent to connect there. If the argument gives another port, set CHROME_AI_PORT to it in the user's shell config and use it everywhere below.
Check the machine. This works on macOS and Linux; on Windows, stop and say it needs WSL or a Mac.
node --version && npm --version ls "/Applications/Google Chrome.app" 2>/dev/null || command -v google-chromeIf Node is missing, run the
setup-nodeskill first. If Chrome is missing, send the user to https://www.google.com/chrome and wait for "done".Install the CLI and its browser, then check it answers.
npm install -g dev-browser && dev-browser install dev-browser --help | head -5- Install the launcher: copy
scripts/chrome-aifrom this skill to~/.local/bin/chrome-aiand make it executable. If~/.local/binis not on the user's PATH, addexport PATH="$HOME/.local/bin:$PATH"once (never twice) to both~/.zprofileand~/.zshrc(or~/.bash_profileand~/.bashrc), so new terminals and agent sessions both find it. - On macOS, run
chrome-ai appto create the "Chrome AI" app in~/Applications, so the user can open it from Spotlight. - Run
chrome-ai start. It opens a new Chrome window and printshttp://127.0.0.1:9333. Tell the user this window is the AI's Chrome and ask them to pick a different theme color in it (Settings, Appearance) so they never confuse it with their own. - Ask the user to sign in, in that window only, to the tools the agent will use (Google, GitHub, Cloudflare, Lumail, Stripe, their own apps), then say "done". Never type a password, a code or a card number yourself, and never copy cookies from their normal Chrome.
- Make sure the
dev-browserskill is installed for their agent; if it is missing, runnpx skills add Melvynx/ai-maxxing-skills -g -a claude-code -s dev-browser -y. If the user has a brain folder with anAGENTS.md, add one line there: browser work goes through thedev-browserskill in Chrome AI, never the user's own Chrome. - Let the agent run it without asking every time: merge
"Bash(dev-browser *)"and"Bash(chrome-ai *)"intopermissions.allowof~/.claude/settings.json, keeping every existing entry. Read the file first and write valid JSON back. Prove it works in the Chrome AI window with a named page:
chrome-ai start >/dev/null && dev-browser --connect http://127.0.0.1:9333 <<'JS' const page = await browser.getPage("setup-check"); await page.goto("https://github.com"); const path = await saveScreenshot(await page.screenshot(), "setup-check.png"); console.log(JSON.stringify({ title: await page.title(), url: page.url(), path })); JSOpen the screenshot and check the user shows as signed in on a site they signed in to in step 6. Then run
chrome-ai stop,chrome-ai startand the check again: the login must survive a restart. Close the test page withbrowser.closePage("setup-check").
End with a short check list, a check or a cross on each line: Chrome found, dev-browser installed, chrome-ai launcher works, Chrome AI app (macOS), user signed in, dev-browser skill installed, permissions added, screenshot shows a signed-in page, login survives a restart. Then tell the user in 3 lines: open "Chrome AI" (or just ask the agent, it starts it on its own), sign in there once to any new tool, and one thing to try right now, such as "open my Stripe dashboard and tell me yesterday's sales".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

