cookie-sync

Export local Chrome cookies into a Browserbase persistent context.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/andreasasprou/polaris --skill cookie-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cookie-sync
Source: https://github.com/andreasasprou/polaris/tree/main/.agents/skills/cookie-sync
Command: npx skills add https://github.com/andreasasprou/polaris --skill cookie-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @browserbasehq/stagehand, @browserbasehq/sdk, and includes scripts (resource) components.

What problem does it solve?

Browsing authenticated sites requires repeated logins and manual cookie management across environments. This Skill exports cookies from local Chrome into a Browserbase persistent context, enabling seamless, authenticated browsing in cloud sessions.

Core Features & Use Cases

  • Export local Chrome cookies to a Browserbase persistent context for reusable login state.
  • Filter by domain to sync only necessary cookies and reduce risk.
  • Reuse or refresh contexts to maintain long-running automation or scheduled tasks without re-login.
  • Example: automate a daily QA flow that opens Gmail or GitHub in a cloud browser without re-entering credentials.

Quick Start

Run the script to export your Chrome cookies and create or reuse a Browserbase persistent context.

Frequently Asked Questions about cookie-sync

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

FAQPage Schema
How do I sync local Chrome cookies to a Browserbase persistent context?

Run the cookie-sync script to export local Chrome cookies and inject them into a Browserbase persistent context. This enables authenticated browsing sessions in cloud environments without repeated manual logins.

Can I filter which cookies are exported to my Browserbase context?

Yes, you can filter by domain when exporting Chrome cookies to your Browserbase context. This ensures only necessary cookies are synced, reducing security risk and limiting scope to specific authenticated sites.

Does this Skill support reusing existing Browserbase contexts for automation?

Yes, the Skill supports Browserbase context reuse and refreshing. This allows you to maintain long-running automation or scheduled tasks without needing to re-enter credentials or manually sync cookies repeatedly.

Can I use proxies or stealth mode when injecting Chrome cookies into Browserbase?

Yes, the cookie injection process supports optional stealth configurations and proxies. This allows you to adapt cloud-based browsing sessions to different environments and avoid detection across authenticated sites.

How do I automate cloud browsing on authenticated sites without re-entering credentials?

Export local Chrome cookies into a Browserbase persistent context to automate cloud browsing. This coordinates cookie export, context creation, and injection, allowing scripts to access authenticated sites like Gmail or GitHub seamlessly.