# Cookie Copy

Copies selected-site cookies between local profiles of the same macOS Chrome.

- Repository: https://github.com/daymade/claude-code-skills (1509 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add daymade/claude-code-skills --skill cookie-copy -g -a claude-code -y`
Codex: `npx skills add daymade/claude-code-skills --skill cookie-copy -g -a codex -y`
Cursor: `npx skills add daymade/claude-code-skills --skill cookie-copy -g -a cursor -y`
Gemini CLI: `npx skills add daymade/claude-code-skills --skill cookie-copy -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add daymade/claude-code-skills`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/daymade/claude-code-skills/blob/HEAD/cookie-copy/SKILL.md
