setup-browser-cookies

Import Chromium browser cookies into a Playwright headless session.

9|1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/CarbeneAI/Forge --skill setup-browser-cookies-carbeneai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/CarbeneAI/Forge/tree/main/.claude/skills/setup-browser-cookies
Command: npx skills add https://github.com/CarbeneAI/Forge --skill setup-browser-cookies-carbeneai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import authenticated browser sessions into a headless browsing environment so QA, automation, and tools can access pages that require login without re-entering credentials.

Core Features & Use Cases

  • Interactive Cookie Picker: Launches a browser-based picker to select which domains' cookies to import from installed Chromium browsers.
  • Direct Domain Import: Allows direct domain import for scripted workflows to skip the UI.
  • Cross-platform Decryption & Loading: Handles platform keychain or libsecret requirements and loads decrypted cookies into the Playwright-based headless session.
  • Use Case: Use before automated QA on authenticated pages so test runs use real session cookies and avoid manual logins.

Quick Start

Run the setup-browser-cookies skill, open the cookie picker, select the domains to import, then confirm to load those cookies into the headless browse session.

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 Chromium cookies into a Playwright headless browser session?

You can automate authenticated page testing in Playwright by importing real session cookies from your local Chromium browser. This skill decrypts cookies via platform keychain access and loads them into the headless session, bypassing manual login requirements.

Do I need keychain or libsecret access to decrypt browser cookies for automation?

Yes, decrypting Chromium cookies for headless browser automation requires platform keychain or libsecret access. These system services provide the necessary cryptographic keys to unlock and read the encrypted session data stored locally.

Can I script direct domain cookie imports to skip the interactive picker UI?

Yes, the direct domain import feature allows scripted workflows to bypass the interactive cookie picker UI. You can specify target domains programmatically to automatically load decrypted cookies into the Playwright headless session.

Does importing cookies into Playwright work across different operating systems?

Yes, importing cookies into Playwright supports cross-platform environments by handling platform keychain or libsecret requirements. This ensures Chromium cookies are decrypted and loaded consistently across different operating systems.

What is the best way to restore an authenticated browser session for QA testing?

To restore an authenticated browser session for QA testing, import existing Chromium cookies into a Playwright headless session. This method utilizes your active session tokens, eliminating the need to manually log in or handle credentials in your test scripts.