install
source · Clone the upstream repo
git clone https://github.com/Yeachan-Heo/oh-my-codex
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Yeachan-Heo/oh-my-codex "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/hud" ~/.claude/skills/yeachan-heo-oh-my-codex-hud && rm -rf "$T"
manifest:
skills/hud/SKILL.mdsource content
HUD Skill
The OMX HUD uses a two-layer architecture:
-
Layer 1 - Codex built-in statusLine: Real-time TUI footer showing model, git branch, and context usage. Configured via
in[tui] status_line
. Zero code required.~/.codex/config.toml -
Layer 2 -
CLI command: Shows OMX-specific orchestration state (ralph, ultrawork, autopilot, team, pipeline, ecomode, turns). Readsomx hud
files..omx/state/
Quick Commands
| Command | Description |
|---|---|
| Show current HUD (modes, turns, activity) |
| Live-updating display (polls every 1s) |
| Raw state output for scripting |
| Minimal display |
| Default display |
| All elements |
Presets
minimal
[OMX] ralph:3/10 | turns:42
focused (default)
[OMX] ralph:3/10 | ultrawork | team:3 workers | turns:42 | last:5s ago
full
[OMX] ralph:3/10 | ultrawork | autopilot:execution | team:3 workers | pipeline:exec | turns:42 | last:5s ago | total-turns:156
Setup
omx setup automatically configures both layers:
- Adds
to[tui] status_line
(Layer 1)~/.codex/config.toml - Writes
with default preset (Layer 2).omx/hud-config.json - Default preset is
; if HUD/statusline changes do not appear, restart Codex CLI once.focused
Layer 1: Codex Built-in StatusLine
Configured in
~/.codex/config.toml:
[tui] status_line = ["model-with-reasoning", "git-branch", "context-remaining"]
Available built-in items (Codex CLI v0.101.0+):
model-name, model-with-reasoning, current-dir, project-root, git-branch, context-remaining, context-used, five-hour-limit, weekly-limit, codex-version, context-window-size, used-tokens, total-input-tokens, total-output-tokens, session-id
Layer 2: OMX Orchestration HUD
The
omx hud command reads these state files:
- Ralph loop iteration.omx/state/ralph-state.json
- Ultrawork mode.omx/state/ultrawork-state.json
- Autopilot phase.omx/state/autopilot-state.json
- Team workers.omx/state/team-state.json
- Pipeline stage.omx/state/pipeline-state.json
- Ecomode active.omx/state/ecomode-state.json
- Last activity (from notify hook).omx/state/hud-state.json
- Turn counts.omx/metrics.json
Configuration
HUD config stored at
.omx/hud-config.json:
{ "preset": "focused" }
Color Coding
- Green: Normal/healthy
- Yellow: Warning (ralph >70% of max)
- Red: Critical (ralph >90% of max)
Troubleshooting
If the TUI statusline is not showing:
- Ensure Codex CLI v0.101.0+ is installed
- Run
to configureomx setup
section[tui] - Restart Codex CLI
If
omx hud shows "No active modes":
- This is expected when no workflows are running
- Start a workflow (ralph, autopilot, etc.) and check again