setup-browser-cookies

Import Chromium browser cookies into a JSON store for Playwright automation.

10|1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/mishahanin/heading-os --skill setup-browser-cookies-mishahanin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-browser-cookies
Source: https://github.com/mishahanin/heading-os/tree/main/.claude/skills/setup-browser-cookies
Command: npx skills add https://github.com/mishahanin/heading-os --skill setup-browser-cookies-mishahanin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the friction of authenticated web automation by allowing your headless browser to inherit the logged-in state of your primary desktop browser.

Core Features & Use Cases

  • Session Persistence: Imports active cookies from Chromium-based browsers (Brave, Chrome, Edge) into a Playwright-compatible format.
  • Secure Decryption: Leverages native system keychains (macOS Keychain, Linux Secret Service, Windows DPAPI) to safely decrypt session tokens.
  • Use Case: When you need to scrape a private dashboard or perform QA on an authenticated portal, this skill ensures your automation agent is already logged in, avoiding repetitive manual login flows.

Quick Start

Ask the assistant to import cookies for a specific domain from your Brave browser to enable authenticated browsing.

Frequently Asked Questions about setup-browser-cookies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Playwright with existing browser cookies for authenticated web scraping?

To use Playwright with existing cookies, you can import active session cookies from local Chromium browser profiles into a workspace-managed JSON store, allowing your headless automation to access protected web resources without manual re-authentication.

Can I import session cookies from Brave or Edge into Playwright?

Yes, you can import session cookies from Chromium-based browsers like Brave, Chrome, and Edge. The skill decrypts profile-specific credentials via native system secret stores and converts them into a Playwright-compatible format.

How does cookie decryption work for local Chromium browser profiles?

Cookie decryption works by leveraging native system keychains, such as macOS Keychain, Linux Secret Service, or Windows DPAPI, to safely decrypt session tokens stored within local Chromium-family browser profiles for automation use.

What is the best way to skip manual login flows in headless browser automation?

The best way to skip manual login flows is to sync your browser sessions by importing authenticated cookies from your primary desktop browser directly into your Playwright automation environment for immediate session continuity.

Do I need a specific operating system to decrypt browser cookies for automation?

No specific operating system is strictly required, as secure cookie decryption is supported across macOS Keychain, Linux Secret Service, and Windows DPAPI to extract credentials from local Chromium profiles.