Agent skill · daymade

cookie-copy

Copies selected-site cookies between local profiles of the same macOS Chrome. Use for cookie copy, 复制 Cookie, 搬登录态 or reusing an existing ChatGPT session in an isolated profile. Supports Google and ChatGPT/OpenAI site selections, destination backups and restore, and expected-account verification for ChatGPT.

What it needs

About 3k tokens when loaded.

What this skill does

Cookie Copy Copy only an authorized source login state into an explicitly selected destination. Keep backups and browser profiles outside the Skill and Git. Select the supported job Use the same macOS machine, OS user and Google Chrome installation. Do not use this workflow for cross-machine or cross-browser encrypted-cookie conversion. Select --site chatgpt for chatgpt.com and openai.com, or --site google for google.com. The CLI defaults to Google. Do not substitute another site. Copy encrypted rows without decrypting them or reading Keychain secrets. Keep source Chrome running if needed; require the destination Chrome to be stopped. Preserve the existing Google merge behavior. Replace the ChatGPT/OpenAI set together, including every session-token chunk, so stale chunks do not survive. Keep quota queries and reset decisions with tibo-reset-codex; login verification here does not call a quota endpoint or prove a downstream business operation. Prepare and resume 1. Fix the expected account, source database and task-owned isolated destination. Use Python 3.10+, Node.js 22+ and installed Google Chrome. Resolve missing tools through their existing installation owner; do not install Playwright or another browser for this workflow. Respect host restrictions on external browsers. 2. For ChatGPT, verify an existing destination first. If the expected identity is already authenticated, return it to the caller without copying again. 3. Initialize only a nonexistent destination with the command below. It refuses an existing root. If initialization was interrupted, inspect that exact root before resuming; do not overwrite it or silently choose a new account/directory. 4. Locate a different source profile with --source-cookie-db when the default daily Chrome Default/Cookies does not contain the authorized session. Do not retrieve credentials from conversation history. If no valid session exists, return to normal login with the caller's existing authorization boundary. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills daymade/cookie-copy

View the source on GitHub

Browse the @skills marketplace