setup-browser-cookies

Imports cookies from installed Chromium browsers into a headless Playwright browse session.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/bobbo01/B2BPlatform --skill setup-browser-cookies-bobbo01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/bobbo01/B2BPlatform/tree/main/.agents/skills/gstack-setup-browser-cookies
Command: npx skills add https://github.com/bobbo01/B2BPlatform --skill setup-browser-cookies-bobbo01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Headless browser sessions start without any logged-in state, so QA testing authenticated pages requires manually recreating sessions. This Skill imports cookies directly from your real Chromium browser so the headless session inherits your existing logins. ## Core Features & Use Cases - Interactive cookie picker: Detects installed Chromium browsers and opens a picker UI where you search domains and select which cookies to import. - Direct domain import: Import cookies for a specific domain with a single command, skipping the UI entirely. - CDP mode detection: Skips the import when the browse session is already connected to your real browser via CDP. - Use Case: Before running QA on an authenticated dashboard, import your site's cookies from Chrome, then verify the import with a cookie summary showing domain counts. ## Quick Start Ask the assistant to import cookies from your browser so you can test authenticated pages, then pick the domains 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 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 with Playwright without logging in again?

Import cookies from your real Chromium browser into the headless session first. The browse session persists cookies between commands, so imported sessions work immediately for subsequent page visits.

Can I import cookies for just one domain?

Yes, pass the domain directly to skip the picker UI, for example cookie-import-browser comet --domain github.com. Replace the browser name with whichever Chromium browser holds the session.

Why does macOS show a Keychain dialog when importing browser cookies?

Chromium encrypts cookies with a key stored in the macOS Keychain, so the first import per browser triggers an access prompt. Click Allow or Always Allow to let the tool decrypt the cookies.

Does cookie import work when the browser is connected via CDP?

No import is needed in CDP mode. When the browse session is already connected to your real browser via CDP, your cookies and sessions are available directly, and the skill stops with that message.