setup-browser-cookies

Import cookies from a real Chromium browser into a headless Playwright browse session.

Updated May 22, 2026
One-click install
npx skills add https://github.com/kitfunso/claude-config --skill setup-browser-cookies-kitfunso
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/kitfunso/claude-config/tree/main/skills/setup-browser-cookies
Command: npx skills add https://github.com/kitfunso/claude-config --skill setup-browser-cookies-kitfunso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Headless browser sessions start with no logged-in state, so QA testing authenticated pages fails or requires manual login every time. This Skill decrypts and imports cookies from your real Chromium browser so the headless session inherits your existing logins. ## Core Features & Use Cases - Interactive Cookie Picker: Opens a picker UI in your default browser where you search domains and select which cookies to import, without exposing cookie values. - Direct Domain Import: Skip the UI by passing a domain and browser name directly, e.g. importing github.com cookies from Comet. - CDP Detection: Checks whether browse is already connected to your real browser via CDP and skips the import when cookies are already available. - Use Case: Before running QA on an authenticated dashboard, import your session cookies once, then verify the import with a domain-count summary. ## Quick Start Ask the AI to import cookies from your browser so you can log in to the test site, then pick the domains you need in the picker UI that opens.

Frequently Asked Questions about setup-browser-cookies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import browser cookies into a headless browser session?▼

Run the cookie-import-browser command from the gstack browse binary. It detects installed Chromium browsers and opens a picker UI where you select which domains to import into the Playwright session.

How to test authenticated pages without logging in every time?▼

Import cookies from your real browser once using the cookie picker, and the headless session persists them between commands. Subsequent browse commands reuse the imported login state immediately.

Can I import cookies from a specific domain only?▼

Yes, pass the browser name and domain directly, for example cookie-import-browser comet --domain github.com. This skips the interactive picker UI entirely.

Does cookie import work on macOS and Linux?▼

Yes, but macOS may show a Keychain dialog on first import per browser, which you should allow. On Linux, v11 cookies need secret-tool or libsecret access, while v10 cookies use Chromium's fallback key.

Why is cookie import skipped when using CDP mode?▼

When browse is connected to your real browser via CDP, your cookies and sessions are already available in that browser. The skill detects Mode: cdp in the status output and stops, since no import is needed.

Are cookie values exposed in the picker UI?▼

No, the picker UI only shows domain names and cookie counts. Cookie values are decrypted and loaded into the session without being displayed.