Enderfga

Cc Codex Switch — Development skill for Claude Code

Development community

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