@gkorepanov/ccodex

中文文档
0.5.24发布于 2026/11/12MITES Module构建来源已验证近 30 天下载 3459

Unofficial Codex App compatibility bridge for Codex CLI and Claude Code runtimes.

原始使用文档
文档目录4 节
  1. What you get
  2. How it works
  3. Setup
  4. If something goes wrong

Claude Code'x

Claude models in the Codex App, next to GPT.

A Codex App chat moving from GPT-6 to Claude Opus 5.5

CCodex lets you pick Claude in the Codex App's model picker. Claude chats run on real Claude Code with your own Claude subscription, and GPT chats keep running on your Codex as before. It works in the desktop app, on servers you open over SSH, and from the ChatGPT app on your phone.

Install

curl -fsSL https://github.com/gkorepanov/ccodex/releases/latest/download/install.sh | sh

Update

ccodex update && codex app-server daemon restart

Then quit and reopen the ChatGPT desktop app.

[!NOTE] An unofficial community project, not affiliated with OpenAI or Anthropic. It's young, so expect bugs, and please report them.

What you get

  • Claude next to GPT in the model picker, with Claude's effort levels and Fast mode.
  • Switch models mid-chat. Move a chat from GPT to Claude or back, and it carries on where it was.
  • The App works as usual in Claude chats: approvals, Plan mode, sub-agents, images, /goal, side chats, editing and forking messages.
  • Your phone too. With remote control on, the ChatGPT mobile app drives Claude chats like GPT ones.
  • One history with the claude CLI. A chat from the App opens with claude --resume, and your CLI sessions show up in the App.
  • /cc shows the chat's model, context use and your Claude and Codex limits.

How it works

CCodex on your computer and on a remote server, between the Codex App and Claude Code or Codex

Install CCodex on every machine where your chats run: your computer for the local app, and each server you open over SSH. There are no CCodex servers and no telemetry.

Setup

You need macOS on Apple silicon or Linux (x64 or arm64, glibc 2.31+), with Node.js 22–26. The installer adds Codex if it's missing, and Claude Code comes with CCodex.

  1. Install with the command above, or with npm install -g @gkorepanov/ccodex && ccodex setup. Run it as your normal user, not with sudo.
  2. Log in to whatever you aren't logged in to yet: ccodex auth codex, ccodex auth claude.
  3. Restart. Open a new shell and run codex app-server daemon restart. Then:
    • app connected over SSH: reconnect to the server;
    • local app on a Mac: quit it with ⌘Q and open it again;
    • local app on Linux: start it with CODEX_CLI_PATH=~/.ccodex/bin/codex.

If something goes wrong

  • ccodex doctor checks the install and tells you what to run.
  • ccodex uninstall removes CCodex (add --purge --yes to delete ~/.ccodex too).
  • What setup changes on your machine, settings, logs and known quirks: docs/details.md.

Technical details · Development · License

版本与发布记录

@gkorepanov/ccodex 共发布 80 个版本,首次发布于 2026/07/16;过去 12 个月发布了 80 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.5.24latest2026/11/124 天前
0.5.232026/11/106 天前
0.5.222026/11/0610 天前
0.5.212026/11/0610 天前
0.5.202026/10/3116 天前
0.5.192026/10/2621 天前

其他发布通道:next → 0.5.2-rc.1。

关于 @gkorepanov/ccodex 的常见问题

@gkorepanov/ccodex 是什么?

Unofficial Codex App compatibility bridge for Codex CLI and Claude Code runtimes.

如何安装 @gkorepanov/ccodex?

在项目目录运行 npm install @gkorepanov/ccodex,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ccodex,可以用 npx ccodex 直接运行。

@gkorepanov/ccodex 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/gkorepanov__ccodex 是否存在。

@gkorepanov/ccodex 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@gkorepanov/ccodex 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.13 <27。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@gkorepanov/ccodex 可以商用吗?

@gkorepanov/ccodex 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@gkorepanov/ccodex 的下载量有多少?

根据 npm 官方下载统计,@gkorepanov/ccodex 在 2026/10/17 – 2026/11/15 这 30 天内被下载 3,459 次,日均约 115 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@gkorepanov/ccodex 还在维护吗?

最新版本 0.5.24 发布于 2026/11/12(4 天前);至今共发布 80 个版本,其中过去 12 个月发布了 80 个;首次发布于 2026/07/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。