Tooluck logoTooluck
SKILL.md

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)

cookie-copy/SKILL.md

MITFull file
1# Cookie Copy
2
3Copy only an authorized source login state into an explicitly selected destination.
4Keep backups and browser profiles outside the Skill and Git.
5
6## Select the supported job
7
8- Use the same macOS machine, OS user and Google Chrome installation. Do not use
9 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. Keep
13 source Chrome running if needed; require the destination Chrome to be stopped.
14- Preserve the existing Google merge behavior. Replace the ChatGPT/OpenAI set
15 together, including every session-token chunk, so stale chunks do not survive.
16- Keep quota queries and reset decisions with `tibo-reset-codex`; login verification
17 here does not call a quota endpoint or prove a downstream business operation.
18
19## Prepare and resume
20
211. 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 tools
23 through their existing installation owner; do not install Playwright or another
24 browser for this workflow. Respect host restrictions on external browsers.
252. For ChatGPT, verify an existing destination first. If the expected identity is
26…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates