with one click
with one click
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | hud-setup-skill |
| description | Wire the xve-hud statusline into ~/.claude/settings.json. |
| disable-model-invocation | true |
Install the XVE statusline (xve-hud). Adds a handoff-urgency banner on top of the claude-pace-derived quota lines.
jq must be installed. Check:
command -v jq >/dev/null && echo "jq OK" || echo "jq MISSING ā install it first (brew install jq / apt install jq)"
If missing, stop and tell the user to install it, then re-run this command.
SCRIPT="${CLAUDE_PLUGIN_ROOT}/statusline/xve-hud.sh"
[ -x "$SCRIPT" ] || { echo "xve-hud.sh not found or not executable at $SCRIPT"; exit 1; }
Read existing ~/.claude/settings.json. If it already has a statusLine block pointing at a different command, ask the user:
"Your ~/.claude/settings.json already has a statusLine pointing at
<existing command>. Replace it with xve-hud? [Y/n]"
If yes (or no existing statusLine), merge in:
{
"statusLine": {
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/statusline/xve-hud.sh"
}
}
Preserve all other top-level keys. Use jq for the merge to avoid corrupting the file.
Print the resulting statusLine block:
jq '.statusLine' ~/.claude/settings.json
Confirm the command path resolves at runtime and remind the user to fully restart Claude Code (not just reload) for the statusline change to take effect.
XVE Statusline (xve-hud)
āāāāāāāāāāāāāāāāāāāāāāāā
jq: ā
script present: ā
settings.json: ā statusLine wired
Tell the user: after restart they'll see a quiet statusline under 60% context, an amber "handoff soon" banner at 60-85%, and a red "handoff NOW" banner at 85%+. Amber also trips early (at 50%+ context) if the 5h quota pace is ā”15%+ ā a heads-up that the 60% threshold is arriving sooner than expected.