whatisgithub

What is claude-codex?

fuergaosi233/claude-codex — explained in plain English

Analysis updated 2026-05-18

44TypeScriptAudience · developerComplexity · 5/5Setup · hard

In one sentence

A tool that reroutes the Codex desktop app's connection to a remote server so it runs Claude Code instead of Codex's own backend.

Mindmap

mindmap
  root((Claude Codex Adapter))
    What it does
      Intercepts Codex app-server calls
      Routes them to Claude Code
      Runs on a remote SSH host
    Tech stack
      TypeScript
      Node.js 24 plus
      Claude Agent SDK
    Setup
      Install shim script
      Set environment variables
      Build with npm
    Use cases
      Use Codex UI with Claude
      Run Claude on remote server
      Approve edits via Codex diffs
    Audience
      Developers using SSH
      Codex App power users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Use the Codex desktop app's interface while Claude Code runs the actual coding turns.

USE CASE 2

Route a remote SSH host's Codex connection into Claude Code instead of Codex's backend.

USE CASE 3

Approve Claude's file edits and shell commands through Codex App's existing approval UI.

USE CASE 4

Configure which Claude models and tool permissions are available to Codex App.

What is it built with?

TypeScriptNode.jsSQLiteClaude Agent SDKSSH

How does it compare?

fuergaosi233/claude-codexhaoaaa-111/taoketongheyhuynhgiabuu/openpi
Stars444444
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardmoderateeasy
Complexity5/53/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires Node.js 24+, a remote SSH host, shim installation, and several environment variables to work.

No license information was provided in the README, so usage rights are unclear.

So what is it?

Claude Codex Adapter is a tool that lets you use the Codex desktop app's interface to actually run Claude Code, Anthropic's coding agent, instead of the real Codex backend. It works by intercepting the connection Codex App makes to a remote host over SSH: normally the app talks to a program called codex on that host, but this adapter installs a small stand in script, called a shim, that takes codex's place and quietly routes those calls into Claude Code instead. The setup is meant for a remote server that you SSH into. Codex App still does its usual checks, such as asking for a version number and starting what it calls an app server, but instead of reaching the real Codex program, it reaches this adapter. The adapter itself is written in TypeScript and runs on Node.js version 24 or newer, because it depends on a newer, more stable version of Node's built in SQLite support. It uses the official Claude Agent SDK to talk to Claude directly inside the same process, rather than needing a separate helper program written in another language, which an earlier version of the project used and has since been removed. Setting it up involves installing Node.js and the Claude Code command line tool on the remote machine, building the adapter from source, copying its shim script into a folder on your system path, and setting a handful of environment variables so the shim knows where to find the adapter and which Claude model to use by default. Once configured, opening a session in Codex App and sending a prompt actually runs Claude Code behind the scenes: its responses stream into the Codex conversation window, and actions like running shell commands or editing files show up as the same approval prompts and diffs you would normally see in Codex App. The project also supports several configuration options, including choosing which Claude models are available, mapping custom model names to Claude's real ones, connecting additional tool integrations, and pre-approving certain tools so they do not require manual approval each time. It is aimed at developers already comfortable with SSH, command line tools, and running both Codex App and Claude Code, who want to combine the two rather than choose between them.

Copy-paste prompts

Prompt 1
Explain how Claude Codex Adapter intercepts Codex App's SSH connection to a remote host.
Prompt 2
Walk me through installing Node.js 24 and building this adapter on a fresh remote server.
Prompt 3
Show me how to set the shim script and environment variables so Codex App routes to Claude Code.
Prompt 4
Help me configure CLAUDE_CODEX_MODEL_ALIASES to map Codex model names to Claude models.
Prompt 5
Explain the difference between the localhost GUI testing flow and the remote SSH host flow.

Frequently asked questions

What is claude-codex?

A tool that reroutes the Codex desktop app's connection to a remote server so it runs Claude Code instead of Codex's own backend.

What language is claude-codex written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, SQLite.

What license does claude-codex use?

No license information was provided in the README, so usage rights are unclear.

How hard is claude-codex to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is claude-codex for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.