codex-deepseeklisted
Install: claude install-skill veritasian/codex-deepseek
# Codex + DeepSeek
Connect OpenAI Codex CLI to DeepSeek models using [Moon Bridge](https://github.com/ZhiYi-R/moon-bridge) as a protocol translation layer.
## Problem
Codex CLI v0.134+ dropped support for the Chat Completions API (`wire_api = "chat"`) and now only speaks the OpenAI Responses API (`/v1/responses`). DeepSeek doesn't offer a `/v1/responses` endpoint — it uses an Anthropic-compatible Messages API. Sending Codex requests directly to DeepSeek returns `404 Not Found`.
Moon Bridge solves this by running as a local proxy that translates Responses API calls from Codex into Anthropic-format requests that DeepSeek accepts. Your API key stays on your machine — it's stored only in moon-bridge's config, never sent anywhere else.
## Features
- **One-command setup** — clones moon-bridge, writes config, builds the binary, generates Codex config, and starts the proxy
- **Auto-detects prerequisites** — installs missing Go, Node, or Codex CLI via Homebrew (macOS)
- **Secure API key handling** — prompts with hidden input, stored with `chmod 600` in moon-bridge's config only
- **Idempotent** — safe to re-run; skips steps already done, backs up existing Codex config before overwriting
- **Quick-start script** — `start.sh` launches moon-bridge (if not running) then opens Codex, for daily use
- **Zero cloud dependency** — moon-bridge runs entirely on localhost, no third-party proxy involved
## Quickstart
```bash
# 1. Run the setup (prompts for your DeepSeek API key)
bash ~/.cl