setup-browser-cookies

Import selected cookie domains from Chromium into a headless browser session.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually importing cookies into a headless browser session for testing can be time-consuming and error-prone. This skill streamlines the process by allowing you to import cookies from your real Chromium browser directly into a headless browsing session.

Core Features & Use Cases

  • Automated Cookie Import: Imports cookies from your real Chromium browser into a headless browsing session with a simple command.
  • Selective Domain Import: Allows you to choose which cookie domains to import, giving you control over which sessions are authenticated.
  • Use Case: When testing authenticated pages in a headless browser environment, such as a CI/CD pipeline, you can use this skill to import cookies from your local browser for seamless testing.

Quick Start

Run the /setup-browser-cookies command followed by the domain name (e.g., /setup-browser-cookies example.com).

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 from my Chromium browser into a headless browser session?

You can import cookies into a headless browser session by running a command that extracts them from your local Chromium browser's storage. This enables authenticated testing by directly transferring your active session data.

Can I import cookies for a specific domain into my headless browser?

Yes, you can selectively import cookies for specific domains into your headless browser. This targeted approach ensures that only the necessary authenticated sessions are transferred, giving you precise control over your testing environment.

Why do I need to import cookies into a headless browser for CI/CD testing?

Importing cookies into a headless browser is necessary for CI/CD testing to access authenticated pages without manual login. It allows your automated pipeline to validate protected routes by reusing your local Chromium session data.

Does this cookie import method require access to my local Chromium browser?

Yes, this cookie import method requires access to your local Chromium browser and the ability to interact with its cookie storage. It directly reads the existing session data to transfer it into the headless environment.

What is the best way to set up authenticated browser testing in a headless environment?

The best way to set up authenticated browser testing in a headless environment is to automate the import of existing cookies from your real Chromium browser. This streamlines session setup and avoids error-prone manual authentication steps.