setup-browser-cookies

Import authenticated session cookies from local Chromium browsers into headless Playwright sessions.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/smarmen86/claude-code-kit --skill setup-browser-cookies-smarmen86
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/smarmen86/claude-code-kit/tree/main/skills/setup-browser-cookies
Command: npx skills add https://github.com/smarmen86/claude-code-kit --skill setup-browser-cookies-smarmen86

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun.

What problem does it solve?

This skill solves the friction of manual authentication in headless browser environments by securely importing existing cookies from your local Chromium browser.

Core Features & Use Cases

  • Session Synchronization: Bridges the gap between your daily-driver browser and automated testing environments.
  • Interactive Selection: Provides a visual picker to selectively import cookies by domain, ensuring privacy and control.
  • Use Case: When you need to perform QA testing on an authenticated dashboard, use this skill to instantly log in the headless browser without manually entering credentials or handling MFA.

Quick Start

Invoke the setup-browser-cookies skill to open the interactive picker and select the domains you wish to authenticate.

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 Playwright to bypass manual login during automated testing?

To import browser cookies into Playwright for automated testing, you can use a session synchronization tool that securely extracts authenticated session tokens from your local Chromium-based browser. This allows headless browser sessions to bypass manual login flows and MFA instantly.

What is the best way to test authenticated web applications in a headless browser without entering credentials?

The best way to test authenticated web applications without entering credentials is by importing existing authenticated session cookies from your daily-driver browser into the headless environment. This bridges the gap between your local browser profile and automated QA testing.

Can I selectively import session cookies by domain for QA testing?

Yes, you can selectively import session cookies by domain for QA testing. An interactive visual picker allows you to choose specific domains from your local Chromium browser profile, ensuring you maintain strict privacy and control over the injected session tokens.

Do I need Bun installed to decrypt and inject local browser session cookies?

Yes, you need Bun installed to run the process that decrypts and injects local browser session cookies. The skill requires Bun as a dependency to execute the gstack browse binary and access local Chromium browser profile data for token extraction.

Does importing authenticated sessions into headless Playwright work with MFA-protected accounts?

Importing authenticated sessions into headless Playwright works seamlessly with MFA-protected accounts because it utilizes the existing decrypted session cookies from your local Chromium browser. This completely bypasses the need to handle multi-factor authentication flows within automated tests.