statusline
Install or remove coral HUD statusline
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Install or remove coral HUD statusline
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | statusline |
| description | Install or remove coral HUD statusline |
| argument-hint | [install|uninstall] |
| disable-model-invocation | true |
Manage the coral HUD statusline for Claude Code.
Config directories:
CONFIG_DIR= the Claude config dir reported in the SessionStart context.CODEX_DIR= absoluteCODEX_HOMEwhen set, otherwise~/.codex. Use each directory consistently for its provider.
CONFIG_DIR/hud/coral-hud.mjs already exists:
coral-hud.mjs in this skill directory: inform user "HUD is already up to date", skip to step 6coral-hud.mjs from this skill directory and write it to CONFIG_DIR/hud/coral-hud.mjs (create CONFIG_DIR/hud/ directory if needed)CONFIG_DIR/settings.json (create if absent)statusLine already exists and is NOT coral's, ask the user before overwritingstatusLine to:
{
"statusLine": {
"type": "command",
"command": "node CONFIG_DIR/hud/coral-hud.mjs"
}
}
Expand CONFIG_DIR to its absolute path (and ~ to the real home directory).CODEX_DIR/auth.json exists:
CONFIG_DIR/hud/.coral-codex-enabled (empty file — the same CONFIG_DIR/hud as step 2; do not write this to ~/.claude when CONFIG_DIR differs)CONFIG_DIR/hud/.coral-codex-enabled if it existsauth.json, skip silently (do not create or delete any Codex files)CONFIG_DIR/settings.jsonstatusLine keyCONFIG_DIR/hud/coral-hud.mjsCONFIG_DIR/hud/.coral-cache.jsonCONFIG_DIR/hud/.coral-codex-enabledCONFIG_DIR/hud whose basename matches exactly ^\.coral-codex-[0-9a-f]{12}-cache\.json$CONFIG_DIR/hud whose basename matches exactly ^\.coral-codex-[0-9a-f]{12}\.lock$
Do not follow symlinks or delete any broader .coral-* pattern.The HUD script source is coral-hud.mjs in this directory.
The install command reads this file and writes it to CONFIG_DIR/hud/coral-hud.mjs.
CONFIG_DIR is the Claude config dir from the SessionStart context (see Config directory above); each config dir keeps its own HUD install and its own Codex opt-in flagapi.anthropic.com/api/oauth/usage using OAuth credentialsextra_usage (a monthly dollar cap), shown in the limits slot as mo: <pct> ($used/$limit)chatgpt.com/backend-api/wham/usage (GET, no token cost); requires Codex login (CODEX_DIR/auth.json)transcript_path JSONL and recognizes Skill/proxy_Skill tool-use blocks plus slash-command messagesthrottled: refreshes in Xm for HTTP 429, re-login required for explicit 401/403 auth failures, and API unavailable for other fetch/refresh failures.re-login required appears only for observable auth failures.$0.43 47m.CONFIG_DIR/hud/.coral-codex-enabled flag file; managed during installOne-touch install of Coral companion tooling and KB runtime
Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate.
Submit a bid or speech in an active --user discuss session
Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.
Use when code needs simplification — recently modified code by default, or a specified scope.
Use when a topic benefits from multiple perspectives debating before a decision.