cookie-sync
cookie sync
What it does
- Chrome (or Chromium, Brave, Edge) with remote debugging enabled
- If your browser build exposes chrome://flags/#allow-remote-debugging, enable it and restart the browser
- Otherwise, launch with --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug and set CDPURL=ws://127.0.0.1:9222
- At least one tab open in Chrome
- Environment variable: BROWSERBASEAPIKEY
- "No open page targets found" → Open at least one tab in Chrome
- "WebSocket error" → Chrome may be hung; force quit and reopen it
Requirements & configuration
- Supports domain filtering (only sync cookies you need) and context reuse (refresh cookies without creating a new context).
Configuration: CDP_URLBROWSERBASE_API_KEYSESSION_JSONCONNECT_URLSESSION_ID
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
cookie-sync FAQ
What does the cookie-sync skill do?
Sync cookies from local Chrome to a Browserbase persistent context so the browse CLI can access authenticated sites. Use when the user wants to browse as themselves, sync cookies, or log into sites via Browserbase. Chrome (or Chromium, Brave, Edge) with remote debugging enabled If your browser build exposes chrome://flags/#allow-remote-debugging, enable it and restart the browser
What does cookie-sync require?
Supports domain filtering (only sync cookies you need) and context reuse (refresh cookies without creating a new context). Configuration keys: CDP_URL, BROWSERBASE_API_KEY, SESSION_JSON, CONNECT_URL, SESSION_ID.
How do I install cookie-sync?
Run: npx -y skills add https://github.com/browserbase/skills --skill cookie-sync --agent claude-code — the source lives at github.com/browserbase/skills.
Maintain cookie-sync?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[cookie-sync on getagentictools](https://getagentictools.com/skills/browserbase-skills-cookie-sync?ref=badge) npx agentictools info skills/browserbase-skills-cookie-sync The second line is the CLI lookup for this page — handy in READMEs and docs.