Cc Codex Switch — Development skill for Claude Code
Switch conversations between Claude Code and Codex with native resumable sessions.
How to install Cc Codex Switch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Enderfga/cc-codex-switch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cc Codex Switch does
Switch conversations between Claude Code and Codex with native resumable sessions.
Alternatives in Development
- Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
- Devteam — Run a team of local coding agents in your terminal 264 ★
- Memory MCP — Persistent memory for Claude Code — never lose context between sessions 98 ★
README
cc-codex-switch
Continue a Claude Code conversation in Codex, or a Codex conversation in Claude Code.
This agent skill converts a local transcript into a new native session that the destination CLI can resume. The source session stays intact: switching creates a fork, not a live sync.
Requirements
- Python 3.8+; conversion uses only the standard library.
- Claude Code and Codex CLI installed and authenticated for interactive use.
- A Unix-like environment. Development and interactive verification were performed on macOS; Linux and Windows have not been independently verified.
- Optional: tmux for opening a detached session, zsh for discovering shell aliases.
Install as a skill
Clone into either CLI's skill directory:
git clone https://github.com/Enderfga/cc-codex-switch.git ~/.claude/skills/cc-codex-switch
To expose the same installation to Codex, if that target does not already exist:
mkdir -p ~/.codex/skills
ln -s ~/.claude/skills/cc-codex-switch ~/.codex/skills/cc-codex-switch
Separate installations also work; shared skill directories are not required. For custom CLI homes, install under the corresponding `skills` directory.
Ask the agent to “switch this conversation to Codex” or “切回 Claude Code”. The agent follows [SKILL.md](SKILL.md).
CLI usage
Run these commands from the repository directory:
# Detect the current agent session and open its converted copy in tmux
python3 scripts/agent_switch.py switch --launch tmux
# Explicit source: session ID or transcript path
python3 scripts/agent_switch.py to-codex --from
python3 scripts/agent_switch.py to-claude --from
# Inspect without writing a destination session
python3 scripts/agent_switch.py to-codex --from --dry-run --dump /tmp/handoff.md
# Find sessions
python3 scripts/agent_switch.py list -n 20
Without `--launch tmux`, conversion prints a manual resume command. Copy the complete command, including the destination
Related Skills
Einstein Map
Persistent memory for OpenAI Codex and Anthropic Claude Code. Reuse context across sessions, search past conve
Agentcli
One CLI for driving agent CLIs (Codex today, Claude Code next) from Claude Code, hooks and scripts: one-shot r
Project Archiver
一个为多项目工作提供可跨会话恢复、项目隔离的 Claude Code skill A Claude Code skill for durable, resumable multi-project archiving wi
Dsh Claude Move
Four-source migration wizard for DeepSeek Harness: move Claude Code, Codex, OpenCode and Hermes sessions, memo
Eigen
Opinionated, terminal-first local coding agent for Go/Linux: one daemon, many resumable sessions, multi-provid
Session Replica Kit
Resumable, exactly-once event-stream client for long-running agent sessions on iOS: cursor-based resume, order
Related Agents
VespeR
Control plane for Claude Code workflows: interactive sessions, agents, patterns, DAGs, and resumable context.
Dipeocc Converter
Use this agent when the user wants to convert Claude Code sessions into DiPeO diagrams, replay AI conversation
Conversation Historian
Use when analyzing Claude Code conversation history, finding past sessions by topic, tracing how implementatio