- Home
- Skills
- DevOps & Cloud
- Codex Machine Migration
Codex Machine Migration
by QINYI TAN
Plan and verify a complete Codex workstation move: projects, skills, context, eligible session history, target setup, and real UI readback. Tailscale + SSH can carry an audited transfer package.
Free
Codex Machine Migration
Example session with this skill installed
I am moving my Codex workstation from an old Mac to a new Mac. The projects are on both machines, but I need the skills, project context, eligible Codex history, and Sidebar registration to work on the new one. Please start with a read-only inventory, propose a Tailscale + SSH transfer plan, and tell me exactly what I need to do for login and secrets. Do not copy credentials or enable automations. Show a verification ledger before calling the migration complete.
- Read your context and instructions
- Compiled the codex machine migration
Migration contract (illustrative result)
Goal: Move explicitly selected projects, user-owned skills, handoff documents, and recoverable project-linked Codex history to the new Mac. Preserve the old Mac and existing target data.
Acceptance: Each project opens from its mapped target path; Git commit/status and selected files match the manifest; project rules and handoff are readable; CLI/scripts pass read-only smoke checks; eligible history and Sidebar entries appear in target Codex UI; a new Codex session reports Git status without writing.
Evidence: Redacted manifest, SHA-256 list, path map, backup/dry-run result for any history adapter, target bootstrap checklist, and UI readback.
Red lines: No raw auth.json, cookies, SSH private keys, complete .env, browser profile, or Codex state database in the transfer package. Do not delete old machine data or resume scheduled jobs.
| Layer | Target action | Verification | Status |
|---|---|---|---|
| Projects and scripts | Clone pinned commits; stage approved local files | Commit/status, checksums, script smoke | Pending |
| Skills and context | Install selected skills, AGENTS.md and handoff | Skill validation and new-session readback | Pending |
| History and Sidebar | Version-match recovery adapter; backup and dry-run first | Target Codex UI and selected-session readback | BLOCKED until adapter is verified |
| Identity and secrets | Sign in again; inject values from approved secret source | Masked presence and harmless canary | Owner action needed |
| Runtime and data | Reinstall dependencies; logical restore of approved project DB | Version checks, schema/data readback | Pending |
| Automation | Restore recipes in PAUSED state | Definition and paused-status readback | Pending |
Next steps: Confirm exact source and target paths and Codex versions, then run the read-only inventory. Build an allowlisted staging package and audit it before transferring over Tailscale + SSH. Keep the migration BLOCKED until target login, history/Sidebar readback, and a read-only Codex task pass.
Connects securely to your tools. The creator never sees your data.
About this skill
Moving Codex to a new computer is more than copying ~/.codex. This skill guides a complete, verifiable move of a Codex workstation while keeping the old machine intact until the new one passes acceptance.
It inventories project code, scripts, README and AGENTS.md files, user-owned skills, generated assets, task context, handoffs, path mappings, and project-linked Codex history. It separates files that can be transferred from state that must be rebuilt on the target. For the history and Sidebar layer, it requires a version-matched recovery adapter, backup, dry run, rollback plan, and actual Codex UI readback. If that recovery is unavailable, it reports the migration as blocked instead of claiming success.
Tailscale + SSH/SFTP is an optional transport for an explicit, audited staging package. It is not the migration strategy. The skill includes a read-only Python transfer-tree audit script, a transfer contract, and manifest/handoff examples.
On the new computer, it directs the operator to sign in to Codex again, reinject secrets through a secret manager or manual entry, generate new SSH keys, reinstall Python/Node/system dependencies, logically restore approved project databases, sign in to browser and external services again, and restore automations in a paused state. It never recommends raw copying auth.json, cookies, private keys, a full .env, or Codex's internal database.
Completion requires project, path, runtime, selected history, Sidebar, and a read-only Codex task to be checked on the target. Platform and version differences can prevent full history recovery. The source machine and backups remain available until acceptance passes.
Community-maintained, MIT-licensed skill; not an official OpenAI product. The files are also published on GitHub.
Codex history and Sidebar recovery are version/schema dependent and may be impossible on some releases or across OSes. The skill provides a guarded process and audit script, not an automatic one-click migration. Target login, secrets, SSH keys, dependencies, databases, external accounts, and UI acceptance require operator action. Preserve backups and the old machine until readback passes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Free with an Agensi account
- Software
- Codex DesktoporCodex CLI on source and targetAccess to source and target workstations
Git
- Optional
Python 3
Tailscale and OpenSSH for the optional network transfer.
Permissions
User-approved project and Codex paths only. Network access is for an explicit Tailscale + SSH transfer; browser access is for target sign-in and UI acceptance. Never copy raw credentials, cookies, private keys, full .env files, or internal state databases.
What's inside
Creator
QINYI TAN
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.