一键导入
hud
Show or configure the oh-my-kimi HUD (two-layer statusline)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show or configure the oh-my-kimi HUD (two-layer statusline)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Strategic planning with optional interview workflow
Coordinated parallel execution for complex multi-lane tasks
Ask Claude via local CLI and capture a reusable artifact
Ask Gemini via local CLI and capture a reusable artifact
Full autonomous execution from idea to working code
Fix build and TypeScript errors with minimal changes
| name | hud |
| description | Show or configure the oh-my-kimi HUD (two-layer statusline) |
| role | display |
| scope | .omk/** |
The oh-my-kimi 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 [tui] status_line in ~/.codex/config.toml. Zero code required.
Layer 2 - omk hud CLI command: Shows oh-my-kimi orchestration state (ralph, ultrawork, autopilot, team, pipeline, ecomode, turns). Reads .omk/state/ files.
| Command | Description |
|---|---|
omk hud | Show current HUD (modes, turns, activity) |
omk hud --watch | Live-updating display (polls every 1s) |
omk hud --json | Raw state output for scripting |
omk hud --preset=minimal | Minimal display |
omk hud --preset=focused | Default display |
omk hud --preset=full | All elements |
[OMK] ralph:3/10 | turns:42
[OMK] ralph:3/10 | ultrawork | team:3 workers | turns:42 | last:5s ago
[OMK] ralph:3/10 | ultrawork | autopilot:execution | team:3 workers | pipeline:exec | turns:42 | last:5s ago | total-turns:156
omk setup automatically configures both layers:
[tui] status_line to ~/.codex/config.toml (Layer 1).omk/hud-config.json with default preset (Layer 2)focused; if HUD/statusline changes do not appear, restart Kimi Code CLI once.Configured in ~/.codex/config.toml:
[tui]
status_line = ["model-with-reasoning", "git-branch", "context-remaining"]
Available built-in items (Kimi Code 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
The omk hud command reads these state files:
.omk/state/ralph-state.json - Ralph loop iteration.omk/state/ultrawork-state.json - Ultrawork mode.omk/state/autopilot-state.json - Autopilot phase.omk/state/team-state.json - Team workers.omk/state/pipeline-state.json - Pipeline stage.omk/state/ecomode-state.json - Ecomode active.omk/state/hud-state.json - Last activity (from notify hook).omk/metrics.json - Turn countsHUD config stored at .omk/hud-config.json:
{
"preset": "focused"
}
If the TUI statusline is not showing:
omk setup to configure [tui] sectionIf omk hud shows "No active modes":