setup-browser-cookies

Import cookies from real browsers into Playwright headless sessions.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/WillNigri/Agentic-Tool-Optimization --skill setup-browser-cookies-willnigri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/WillNigri/Agentic-Tool-Optimization/tree/main/.claude/skills/setup-browser-cookies
Command: npx skills add https://github.com/WillNigri/Agentic-Tool-Optimization --skill setup-browser-cookies-willnigri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import cookies from your real browser sessions into a headless browse environment to preserve logged-in state for QA and automation.

Core Features & Use Cases

  • Interactive cookie picker UI supports Comet, Chrome, Arc, Brave, and Edge to choose domains to import.
  • Decrypts and loads domain cookies into Playwright or other headless sessions for immediate authenticated access.
  • One-time browser integration setup, with a verification step and a domain-level import workflow; supports direct domain imports as a shortcut.

Quick Start

Open the cookie picker, choose the domains to import, and confirm to load cookies into your headless 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 real browser cookies into a Playwright headless session?

You can import real browser cookies into a Playwright headless session by using an interactive picker to select specific domains. The tool decrypts and loads these cookies, preserving your logged-in state for QA testing of authenticated pages.

What is the best way to test authenticated pages in headless mode without manually logging in?

The best way to test authenticated pages in headless mode is to import existing login session cookies from a real browser. This skips manual authentication by directly loading decrypted domain cookies into your automated browser environment.

Does this cookie import tool work with browsers other than Chrome?

Yes, the cookie import tool works with Chrome, Comet, Arc, Brave, and Edge. It automatically detects the browser binary during a one-time integration setup to extract and decrypt the necessary authentication cookies.

Can I choose specific cookie domains to import for my QA tests?

Yes, you can choose specific cookie domains to import for QA tests. The tool presents an interactive picker UI that allows you to select exactly which domains to load into the headless browsing session.

How do I set up browser integration for headless cookie decryption?

To set up browser integration for headless cookie decryption, you complete a one-time setup process. The tool detects your local browser binary and verifies the integration before allowing domain-level cookie imports.

Why do I need to import cookies for browser automation instead of using login scripts?

You need to import cookies for browser automation to bypass complex authentication workflows like multi-factor authentication. Loading real session cookies into headless tests provides immediate authenticated access without maintaining fragile login scripts.