Use Claude Code with a cloned Chrome login
A developer built a macOS add-on so Claude Code could browse from a copied Chrome profile while the user stayed in control of the terminal.
- What they did
- They made agent-chrome, an MIT-licensed macOS plugin for Claude Code. In Claude chat, the user installs it, then asks it to prepare a chosen Chrome profile; Claude displays the profile list, asks which one to duplicate, and adds an MCP server such as chrome-work. The duplicate runs in a separate background window, and the user can take over for login steps or 2FA when necessary.
- How it went
- That gave Claude access to websites already signed into that profile, and the post says setup usually takes about two minutes. The tool only works on macOS, changes made in the normal Chrome profile do not appear unless the profile is copied again, and password-manager extensions are turned off. Chrome Sync remains enabled in the copied browser, so anything stored there can make its way back to the user's Google account.
- Tips
- Be careful with saved credentials in the duplicated profile, since they may be synced elsewhere. Use a clear approval pause before any step that sends, submits, deletes, or changes account data.
Try it yourself with Claude Code
I want Claude Code to work in a copied version of my logged-in Chrome profile on [macOS] while I keep using my keyboard and mouse. Find an open-source solution that does this, explain what permissions or access it requires, and do not install or configure it until I approve. First, list the Chrome profiles you can see on my system and ask which one I want duplicated. After setup, open [site or account] and retrieve [specific page or data] while I continue working in the terminal. Pause and get my confirmation before any action that sends a message, submits a form, deletes content, or changes account settings.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Build and publish a paid site on your own domain
Use Claude Code to create a site, connect payments and email, and launch it on a custom domain.
Map callers before you rename a symbol
Let an agent trace a function’s users first, then apply a compiler-aware rename across the affected files.
Review your app’s user flow with computer use
Claude Code was used on Windows to inspect an app for usability problems, but the Windows setup sounded patchy.
Have Claude Code refactor code while you step away
A developer left Claude Code alone on a refactor for 40 minutes, then confirmed the change by checking the tests and the diff.
Test a local app in Chrome and fix browser errors
A developer used Claude Code and Claude in Chrome to open a local app, exercise the UI, catch a routing bug, and repair it without manual browser work.
Coordinate multiple coding agents from one terminal
Corgi gives you a single terminal view for launching several coding agents and checking what each one is doing.