hud-setup

hud-setup is a skill for Claude Code from johnleeGitHub/claude-hud-enhanced. It costs 15 tokens per session (10,454 once invoked), scanned D, original, MIT.

A setup procedure for installing and configuring claude-hud-enhanced as Claude's status line. A status line is the small display that shows session information while you work.

In plain words
What is it for?
Use it to install the HUD, check its plugin files and registration, and configure the generated status-line command on macOS, Linux, or Windows.
Why use it?
It helps detect incomplete or inconsistent installations before configuration, so leftover files or missing registry entries do not go unnoticed.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the claude-hud-enhanced plugin — 3 skills shipped together

Good fit Use it to install the HUD, check its plugin files and registration, and configure the generated status-line command on macOS, Linux, or Windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnleegithub/claude-hud-enhanced/hud-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add johnleeGitHub/claude-hud-enhanced --skill hud-setup
Clone the repo
git clone --depth 1 https://github.com/johnleeGitHub/claude-hud-enhanced

Made for: Claude Code.

Or install claude-hud-enhanced, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hud-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnleegithub/claude-hud-enhanced/hud-setup.svg)](https://agentmods.dev/skills/johnleegithub/claude-hud-enhanced/hud-setup)
Your own site
<a href="https://agentmods.dev/skills/johnleegithub/claude-hud-enhanced/hud-setup"><img src="https://agentmods.dev/badge/skills/johnleegithub/claude-hud-enhanced/hud-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,454 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.10454
Opus 5 $0.00008 $0.05227
Sonnet 5 $0.00003 $0.02091
Haiku 4.5 $0.00002 $0.01045

Measured 8d ago against content hash 618e81904f88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade D, and why

hud-setup scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 700 "$PREVIOUS_COMMAND_DIR" 2>/dev/null || true

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. Find the most recent backup: `ls -t ~/.claude/settings.json.bak.* | head -1`

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$CLAUDE_DIR/plugins/cache"/*/claude-hud-enhanced
skills/hud-setup/SKILL.md · 693 lines

How it starts

The opening of the file, as written. The whole thing — 693 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Note: Placeholders like {RUNTIME_PATH}, {SOURCE}, and {GENERATED_COMMAND} should be substituted with actual detected values.

Step 0: Detect Ghost Installation (Run First)

Check for inconsistent plugin state that can occur after failed installations:

macOS/Linux:

# Check 1: Cache exists?
CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache"/*/claude-hud-enhanced 2>/dev/null && echo "YES" || echo "NO")

# Check 2: Registry entry exists?
REGISTRY_EXISTS=$(grep -q "claude-hud" "$CLAUDE_DIR/plugins/installed_plugins.json" 2>/dev/null && echo "YES" || echo "NO")

# Check 3: Temp files left behind?
TEMP_FILES=$(ls -d "$CLAUDE_DIR/plugins/cache/temp_local_"* 2>/dev/null | head -1)

echo "Cache: $CACHE_EXISTS | Registry: $REGISTRY_EXISTS | Temp: ${TEMP_FILES:-none}"

Windows (PowerShell):

$claudeDir = if ($env:CLAUDE_CONFIG_DIR) { $env:CLAUDE_CONFIG_DIR } else { Join-Path $HOME ".claude" }
$cache = (Get-ChildItem (Join-Path $claudeDir "plugins\cache") -Directory | ForEach-Object { Test-Path (Join-Path $_.FullName "claude-hud-enhanced") }) -contains $true
$registry = (Get-Content (Join-Path $claudeDir "plugins\installed_plugins.json") -ErrorAction SilentlyContinue) -match "claude-hud"
$temp = Get-ChildItem (Join-Path $claudeDir "plugins\cache\temp_local_*") -ErrorAction SilentlyContinue
Write-Host "Cache: $cache | Registry: $registry | Temp: $($temp.Count) files"

Interpreting Results

Cache Registry Meaning Action
YES YES Normal install (may still be broken) Continue to Step 1
YES NO Ghost install - cache orphaned Clean up cache
NO YES Ghost install - registry stale Clean up registry
NO NO Not installed Continue to Step 1

If temp files exist, a previous install was interrupted. Clean them up.

Cleanup Commands

If ghost installation detected, ask user if they want to reset. If yes:

Read the full file on GitHub · 693 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 693 lines · 15 tokens per session scan D 618e81904f88

Subscribe to this mod's changes

hud-setup is a skill published in the GitHub repository johnleeGitHub/claude-hud-enhanced (2 stars, last pushed 4d ago), licensed MIT. It adds 15 tokens to every session and 10,454 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pi-prompting

Internal guidance for composing prompts that Pi runs (DeepSeek by default) handle reliably for coding, review, diagnosis, and research tasks.

Agents365-ai/pi-plugin-cc · 31 tokens

quota

Show current Claude quota status (5-hour session and weekly usage) from the local claude-code-quota cache. Use when the user asks about their quota, usage limits, remaining capacity, or when limits reset.

aweussom/claude-code-quota · 45 tokens

scope

Configure claude-scope status line widgets for Claude Code. Use when user wants to customize widgets, change theme, reorder elements, or modify display style.

YuriNachos/claude-scope · 33 tokens

idle-intel

Turn Claude Code's wait-state status line into useful micro-briefings about the current project (security vulns, outdated dependencies, unpushed commits, stale branches, TODO/FIXME debt) instead of a generic spinner. Use this skill whenever the user wants to set up idle-intel, customize their Claude Code status line…

demartinogiuseppe/idle-intel · 117 tokens

release

Build, version bump, update README/marketplace, commit, push, create GitHub release, and clean local caches.

hadamyeedady12-dev/claude-ultimate-hud · 26 tokens

create-mascot-pack

Create or modify pixel-art mascot packs for claude-code-mascot-statusline plugin. Use when: creating a new character pack from scratch, modifying existing pack sprites, fixing visual issues in half-block rendering, iterating on sprite design, or adding new states to a pack. Triggers: "create pack", "new mascot"…

TeXmeijin/claude-code-mascot-statusline · 127 tokens