From chrome-switch
Switches the Claude in Chrome extension between named browser profiles with select_browser, which needs no approval click, and picks the default before the first browser call of a session.
3 events · 6 calls
Ships in chrome-switch. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runenv.getmcp.callEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=chromep}tool.call{tool=/"^mcp__claude-in-chrome__"/}Every mods API method its source calls, by namespace
registergetcallrunlogtoastCLAUDE_MODS_DISABLEHOMEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub yash-gadodia/claude-mods --plugin chrome-switch