Back to Skills

setup-browser-cookies

Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages. Use when asked to "import cookies", "login to the site", or "authenticate the browser".

28,165stars3,385forksUpdated 3/20/2026

Security Assessment

Low Risk(75/100)

Detected risks:

Remote Code Execution([SKILL.md] curl -fsSL https://bun.sh/install | bash)
Security Score75/100

About setup-browser-cookies

The `setup-browser-cookies` skill enables users to import cookies from various browsers, including Comet, Chrome, Arc, Brave, and Edge, into a headless browsing session. This allows automated or scripted sessions to inherit authentication states and session data directly from a real browser, eliminating the need for repetitive logins and enabling smoother interactions with authenticated web pages. By providing an interactive picker UI, users can selectively choose which cookie domains to import, ensuring both convenience and control over the imported data.

Key features include a browser-agnostic cookie import mechanism, an interactive domain selection interface, and integration with session and telemetry management workflows. The skill handles session housekeeping by creating and cleaning session files, respects user preferences for proactive suggestions, and manages telemetry prompts in a privacy-conscious manner. It also includes mechanisms for upgrade handling, completeness principle introduction, and automated logging of skill usage for analytics purposes.

Typical use cases for `setup-browser-cookies` include QA testing of web applications that require authentication, automated browsing tasks that depend on user-specific cookies, and development workflows where consistent session states are necessary. Target users include QA engineers, developers performing automated web testing, and any user who needs to replicate authenticated browser sessions in a headless environment efficiently.

FAQ

Which browsers are supported for cookie import?

The skill supports importing cookies from Comet, Chrome, Arc, Brave, and Edge browsers.

How do I select which cookies to import?

An interactive picker UI is presented when the skill runs, allowing you to choose the specific cookie domains to import.

Can this skill be used without being prompted for telemetry?

Yes, the skill only prompts for telemetry once. If you have already handled the telemetry prompt, it will be skipped in subsequent uses.

Is this skill suitable for automated QA testing?

Yes, it is designed for QA testing of authenticated pages and other workflows that require importing real browser cookies.

Does it handle session cleanup automatically?

Yes, the skill creates session files and automatically deletes files older than two hours to maintain session hygiene.

Install setup-browser-cookies

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

garrytan/gstack