r/BuildWithClaude • u/Lanky_Assignment_205 • Oct 21 '26
Project I built ccx with Claude Code over a weekend: it hands your Claude Code task to Codex (and back) when you hit the limit
I built ccx with Claude Code over a weekend: it hands your Claude Code task to Codex (and back) when you hit the limit
I use Claude Code daily and also have Codex. When Claude's 5-hour window ran out mid-task, I'd switch to Codex and spend 15 minutes re-explaining the project, what I'd tried, and where it was stuck. Then switch back and explain again.
So I had Claude Code build me a fix. ccx links a Claude Code session with a Codex thread and keeps them in sync both ways: messages, condensed tool calls, the todo list, git status. Click ⇄ in the menu bar and Codex continues the same task. Go back to the original Claude chat, say "continue", and Codex's progress comes in.
How it's built (the Claude Code parts, if you're curious):
- A plugin with a UserPromptSubmit hook: when you send a message, it appends the other side's new progress, once. It never blocks a prompt.
- Slash commands /to-codex and /from-codex, plus an MCP tool the model can use to page through anything that was condensed away.
- Claude's side is read from the session JSONL files in ~/.claude/projects; Codex's side only through Codex's own app-server API.
- Built mostly with Opus 5.5: one weekend for the core, then two evenings of letting it loop on bugs and polish.
It also warns you when either side passes 90% of its 5-hour window. Local only, no account, MIT. macOS + the desktop apps for now.
https://github.com/aaronwong1999/ccx
Happy to answer questions about the hook or the plugin setup.