跳到正文
cccskills
免费在 GitHub 公开

hud

[OMX] Show or configure the OMX HUD (two-layer statusline)

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather星标 335(GitHub 335 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

HUD Skill

The OMX HUD uses a two-layer architecture:

  1. Layer 1 - Codex built-in statusLine: Real-time TUI footer showing model, git branch, and context usage. Configured via [tui] status_line in ~/.codex/config.toml. Zero code required.

  2. Layer 2 - omx hud CLI command: Shows OMX-specific orchestration state (ralph, ultrawork, autopilot, team, pipeline, ecomode, turns). Reads .omx/state/ files.

Quick Commands

CommandDescription
omx hudShow current HUD (modes, turns, activity)
omx hud --watchLive-updating display (polls every 1s)
omx hud --jsonRaw state output for scripting
omx hud --preset=minimalMinimal display
omx hud --preset=focusedDefault display
omx hud --preset=fullAll 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 [tui] status_line to ~/.codex/config.toml (Layer 1)
  • Writes .omx/hud-config.json with default preset (Layer 2)
  • Default preset is focused; if HUD/statusline changes do not appear, restart Codex CLI once.

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:

  • .omx/state/ralph-state.json - Ralph loop iteration
  • .omx/state/ultrawork-state.json - Ultrawork mode
  • .omx/state/autopilot-state.json - Autopilot phase
  • .omx/state/team-state.json - Team workers
  • .omx/state/pipeline-state.json - Pipeline stage
  • .omx/state/ecomode-state.json - Ecomode active
  • .omx/state/hud-state.json - Last activity (from notify hook)
  • .omx/metrics.json - Turn counts

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:

  1. Ensure Codex CLI v0.101.0+ is installed
  2. Run omx setup to configure [tui] section
  3. 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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

analyze

免费

[OMX] Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed.

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

ask

免费

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

autopilot

免费

[OMX] Strict autonomous loop: $deep-interview -> $ralplan -> $ultragoal (+ $team if needed) -> $code-review -> $ultraqa

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

[OMX] Stateful validator-gated research loop with native-hook persistence

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

[OMX] Durable professor-critic research workflow over Codex goal mode without reviving deprecated omx autoresearch

中文简介正在准备中。当前显示原文说明。

yangyuan-zhen/PolyWeather3352026年10月14日 更新

查看 yangyuan-zhen 的全部技能

报告此技能的问题