scaccogatto/claude-chrome-profiles/chrome-profiles

Claude Code and agent skill by scaccogatto/claude-chrome-profiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Pick the right Chrome browser when several Chrome profiles (Google accounts) run Claude in Chrome. Use before the first mcp__claude-in-chrome__* call of a task, whenever more than one browser is connected, when a browser has to be selected or switched, or when the user asks which Chrome/profile/account to use. Identifies browsers by the signed-in Google account and enforces the account each repo expects.

Install

npx vskill@latest install scaccogatto/claude-chrome-profiles/chrome-profiles

SKILL.md

Chrome profiles

A browser is identified by the Google account signed into its Chrome profile, never by the extension name, device name, or local profile label: labels are not unique and two profiles often share one.

Everything goes through the resolver. It is read-only toward Chrome (it parses the profile's LevelDB storage without locks or writes) and caches deviceIds in ~/.claude/chrome-devices.json.

sh
MAP="${CLAUDE_PLUGIN_ROOT}/skills/chrome-profiles/scripts/chrome-browser-map.py"

Output is tab-separated: deviceId profile-dir name email gaia-id source.

1. Resolve the connected browsers

  1. Call mcp__claude-in-chrome__list_connected_browsers to get the deviceIds.
  2. Run python3 "$MAP" --resolve <deviceId> [<deviceId> ...].
  • Exit 0: every deviceId maps to an account.
  • Exit 1: a line UNKNOWN <deviceId> is followed by CANDIDATE rows (profiles not

yet claimed, most recently active first). An unmapped deviceId is a question for the user, never a guess. Show the candidates, ask which profile that browser is, then record the answer with python3 "$MAP" --set <deviceId> <profile-dir>.

2. Find the account this repo expects

Run python3 "$MAP" --for-path "$PWD".

ExitOutputMeaning
0profile rowThe repo expects this account
1NO-PROFILE <email>The repo expects an account no Chrome profile is signed into: tell the user
2error on stderrNot a git repository
3UNSET <repo>The repo has no account set: setup required

Setup (exit 3) comes before any browser action. Do not open tabs, navigate, or pick a browser "for now":

  1. List the accounts with python3 "$MAP" (column 4 is the email).
  2. Ask the user which account this repo uses.
  3. Record it with python3 "$MAP" --assign <repo> <email>. It is stored in the repo's

local git config (chrome-profiles.account): per user, never committed, and shared by every worktree of the repo.

Not a git repository (exit 2): ask the user which account to use for this session. Nothing is persisted.

3. Select the browser

Select the connected browser whose account (step 1) matches the expected one (step 2).

If the expected account is not connected, say which account is expected and which are connected, then offer:

  1. Open Chrome on that profile: open -na "Google Chrome" --args --profile-directory="<profile-dir>",

then poll list_connected_browsers every 3s for up to 30s. If it never appears, ask the user once (the extension may be signed out or paused on that profile).

  1. Use a connected browser anyway, for this task only.
  2. Let the user pick.

Other modes

CommandUse
--device <uuid>Print the account email of one deviceId
--forget <uuid>Drop a wrong cache entry, then resolve again
--helpFull usage and exit codes

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/scaccogatto/claude-chrome-profiles/chrome-profiles/badge)](https://verified-skill.com/skills/scaccogatto/claude-chrome-profiles/chrome-profiles)

Something wrong with this skill or its page? Tell us.