garrytan avatar

Setup Browser Cookies

Import real Chromium browser cookies into the headless browse session to test logged-in pages.

CCM score
62 of 100
skills.sh installs
388
GitHub stars
142.6K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers importing cookies from your installed Chromium browser so headless test sessions can reach authenticated pages
  • Provides a one-time setup flow that prompts for which browser profile and domains to import, with consent gated per run
  • Checks session state before import and reports which domains were applied to the browse session
  • Designed for QA and testing workflows that need an existing login rather than scripted credentials

Install

$ npx -y skills add garrytan/gstack --skill setup-browser-cookies -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Preamble (run first)

!~/.claude/skills/gstack/bin/gstack-skill-load start --skill "setup-browser-cookies" --model "claude"

If the line above is not the start output, run this once; otherwise it already ran:

~/.claude/skills/gstack/bin/gstack-skill-start --skill "setup-browser-cookies" --model "claude"

Read the echoed KEY: value STATUS lines — they drive every preamble rule below. Degraded mode: if SKILL_START_PROTO: 1 is missing from the output (script absent, stale install, or a different protocol number), apply safe defaults: treat SESSION_KIND as interactive, do NOT assume Conductor, skip onboarding/telemetry steps (their gates are marker-based, so consent and onboarding prompts are DEFERRED to the next healthy run — never lost), tell the user to run ./setup or /gstack-upgrade, and proceed with their task. Note SESSION_ID and TEL_START from the output — the Telemetry step needs them at skill end.

Details

Repository
github.com/garrytan/gstack
Categories
Browser Automation & Scraping, Testing & QA
License
MIT
First seen
Nov 25, 2026

More from garrytan/gstack

All 63

Similar to Setup Browser Cookies

More Browser Automation & Scraping