statusline

Solid

Install or remove coral HUD statusline

AI & Automation 11 stars 2 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Coral Statusline Manage the coral HUD statusline for Claude Code. ## Commands > **Config directories**: `CONFIG_DIR` = the **Claude config dir** reported in the SessionStart context. `CODEX_DIR` = absolute `CODEX_HOME` when set, otherwise `~/.codex`. Use each directory consistently for its provider. ### install 1. Check if `CONFIG_DIR/hud/coral-hud.mjs` already exists: - If exists and content matches `coral-hud.mjs` in this skill directory: inform user "HUD is already up to date", skip to step 6 - If exists with different content: inform user "Updating HUD script to latest version", proceed - If not exists: proceed 2. Read `coral-hud.mjs` from this skill directory and write it to `CONFIG_DIR/hud/coral-hud.mjs` (create `CONFIG_DIR/hud/` directory if needed) 3. Read `CONFIG_DIR/settings.json` (create if absent) 4. If `statusLine` already exists and is NOT coral's, **ask the user** before overwriting 5. Set `statusLine` to: ```json { "statusLine": { "type": "command", "command": "node CONFIG_DIR/hud/coral-hud.mjs" } } ``` Expand `CONFIG_DIR` to its absolute path (and `~` to the real home directory). 6. Check if `CODEX_DIR/auth.json` exists: - If yes, ask the user: "Codex login detected. Display Codex usage in statusline?" - **yes** → create `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) - **no** → delete `CO...

Details

Author
kangig94
Repository
kangig94/coral
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category