setup-browser-cookies

Import cookies from Chromium browsers into a headless Playwright browse session.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/westkite1201/garden-engine --skill setup-browser-cookies-westkite1201
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/westkite1201/garden-engine/tree/main/.claude/skills/gstack/setup-browser-cookies
Command: npx skills add https://github.com/westkite1201/garden-engine --skill setup-browser-cookies-westkite1201

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Headless browser automation cannot access authenticated pages without valid session cookies, forcing manual login flows during QA testing. This Skill imports cookies directly from your real Chromium browser so the headless session inherits your logged-in state. ## Core Features & Use Cases - Interactive Cookie Picker: Opens a browser-based UI to search domains and select which cookies to import from installed Chromium browsers. - Direct Domain Import: Skip the UI and import cookies for a specific domain with a single command. - Session Persistence: Imported cookies persist in the Playwright browse session across commands, enabling immediate authenticated testing. - Use Case: Before QA testing an authenticated dashboard, import your github.com or app session cookies so the headless browser can navigate protected pages without re-login. ## Quick Start Ask the assistant to import cookies from your browser so you can test authenticated pages, then select 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 browser cookies into a headless browser session?

Run the cookie-import-browser command, which detects installed Chromium browsers and opens an interactive picker UI. Select the domains you want, and the cookies are decrypted and loaded into the Playwright session automatically.

How to test authenticated pages with Playwright without logging in?

Import cookies from your real browser session into the headless Playwright session first. The imported cookies persist between commands, so the headless browser can access protected pages using your existing login state.

Can I import cookies for a specific domain only?

Yes, use the direct import form with the --domain flag, for example cookie-import-browser comet --domain github.com. This skips the picker UI and imports only that domain's cookies from the specified browser.

Why does a Keychain dialog appear when importing cookies on macOS?

Chromium encrypts cookies using the macOS Keychain, so the first import per browser triggers a permission dialog. Click Allow or Always Allow to let the tool decrypt the cookie values.

Are cookie values exposed in the picker UI?

No, the picker UI only displays domain names and cookie counts. Cookie values are never shown in the interface; they are decrypted and loaded directly into the browse session.