Codex
v0.10.1refreshing
cxstatusline banner

Configure my Codex statusline

OpenAI Codex statusline, customized.

Context, Git, and usage stay below your prompt. Edit the live layout here, then install it locally.

Context, Git, and usage—right below your prompt.

Model: Codex | Thinking: high | Context: [████░░░░░░░░░░░░] 50k/200k (25%) | cwd: ~/D/P/my-project | ⎇ main | (+42,-10)
Session: 15m | Weekly: 12.0% | Weekly Reset: 1d 12hr 30m | In: 85.2 t/s | Out: 42.5 t/s | Cached: 12k
Mem: 12.4G/16.0G | Session: my-session | Session ID: preview-session-id | SB: ● | v0.152.1

Live layout editor available on desktop.

Configure and preview your statusline

Loading default settings…

Choose what stays in sight.

cxstatusline is an open-source statusline customization tool for OpenAI Codex CLI. It replaces the default fixed Codex footer with a multi-row, customizable terminal statusline featuring 36 widgets, powerline glyphs, Git branch and diff counters, five-hour and weekly usage progress bars, and truecolor theme support. It runs on macOS (Apple Silicon and Intel) and Linux (x86_64 and aarch64), integrating directly with official Codex releases.

Model: CodexThinking: highContext: 50k/200k (25%)git main+42,-10

Know your session

See the model and session at a glance.

Watch your context

Keep an eye on context usage as you work.

Keep Git close

See your branch and changes, right here.

One to three rows.

Reorder widgets. Choose colors. Add Powerline separators.

Model: Codex | Thinking: high | Context: 50k/200k (25%)
git main | +42,-10
Session: <1m | Weekly: 12.0% | Weekly Reset: 1d 12hr 30m

Your own signals.

Extend the native app with your own commands.

Custom text · Symbols · Commands

In your terminal.

Install cxstatusline, then configure your statusline in the terminal editor.

The playground is an optional demo. You can create and edit your entire layout locally.

npm install -g cxstatusline
cxstatusline install
cxstatusline doctor

cxstatusline installs a patched build matching your supported Codex version; Codex does not currently provide a native statusline extension hook. Check compatibility below; see the revert procedure.

Open the terminal editor

Run cxstatusline to choose widgets, arrange rows, and set colors directly in your terminal.

Browser save affects only this browser. Downloading cxstatusline-settings.json does not modify the local CLI.

Compatibility matrix.

Any version of cxstatusline can install and patch any supported Codex release on macOS and Linux. Select your version interactively during installation or target one directly with --codex-version.

Targeted install command:cxstatusline install --codex-version <release>
  • 0.156.1Latest
    macOSLinux
    --codex-version 0.156.1
  • 0.156.0
    macOSLinux
    --codex-version 0.156.0
  • 0.155.1
    macOSLinux
    --codex-version 0.155.1
  • 0.155.0
    macOSLinux
    --codex-version 0.155.0
  • 0.154.0
    macOSLinux
    --codex-version 0.154.0
  • 0.153.4
    macOSLinux
    --codex-version 0.153.4
  • 0.153.1
    macOSLinux
    --codex-version 0.153.1
  • 0.153.0
    macOSLinux
    --codex-version 0.153.0
  • 0.152.1
    macOSLinux
    --codex-version 0.152.1

Before you install.