statusline
SolidInstall or remove coral HUD statusline
AI & Automation 11 stars
2 forks Updated yesterday MIT
Install
Quality Score: 81/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
AI & Automation Solid
hud
Configure HUD display options (layout, presets, display elements)
6 Updated yesterday
mazenyassergithub AI & Automation Featured
hud
Configure HUD display options (layout, presets, display elements)
38,126 Updated today
Yeachan-Heo AI & Automation Solid
setup-statusline
Live token counter in your CLI. Shows real-time input/output/cache token counts in the Claude Code status bar
28 Updated today
ww-w-ai