cookie-copy
Agent skill fromdaymade/claude-code-skills
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.
How to install cookie-copy
install cookie-copy
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills# or add only this skill to Claude Code: copy the folder
cookie-copy/
# into
~/.claude/skills/cookie-copy/ (all projects)
.claude/skills/cookie-copy/ (one project)
1# Cookie Copy23Copy only an authorized source login state into an explicitly selected destination.4Keep backups and browser profiles outside the Skill and Git.56## Select the supported job78- Use the same macOS machine, OS user and Google Chrome installation. Do not use9 this workflow for cross-machine or cross-browser encrypted-cookie conversion.10- Select `--site chatgpt` for `chatgpt.com` and `openai.com`, or `--site google`11 for `google.com`. The CLI defaults to Google. Do not substitute another site.12- Copy encrypted rows without decrypting them or reading Keychain secrets. Keep13 source Chrome running if needed; require the destination Chrome to be stopped.14- Preserve the existing Google merge behavior. Replace the ChatGPT/OpenAI set15 together, including every session-token chunk, so stale chunks do not survive.16- Keep quota queries and reset decisions with `tibo-reset-codex`; login verification17 here does not call a quota endpoint or prove a downstream business operation.1819## Prepare and resume20211. Fix the expected account, source database and task-owned isolated destination.22 Use Python 3.10+, Node.js 22+ and installed Google Chrome. Resolve missing tools23 through their existing installation owner; do not install Playwright or another24 browser for this workflow. Respect host restrictions on external browsers.252. For ChatGPT, verify an existing destination first. If the expected identity is26…
Excerpt shown under the repository's MIT license.
