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.
git clone --depth 1 https://github.com/alwinpaul1/claude-hud-enhancedWrote 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.
[](https://agentmods.dev/commands/alwinpaul1/claude-hud-enhanced/setup)<a href="https://agentmods.dev/commands/alwinpaul1/claude-hud-enhanced/setup"><img src="https://agentmods.dev/badge/commands/alwinpaul1/claude-hud-enhanced/setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/alwinpaul1/claude-hud-enhanced/setup"><img src="https://agentmods.dev/badge/commands/alwinpaul1/claude-hud-enhanced/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.13213 |
| Opus 5 | $0.00005 | $0.06606 |
| Sonnet 5 | $0.00002 | $0.02643 |
| Haiku 4.5 | $0.00001 | $0.01321 |
Grade D, and why
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 3d 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 How it starts
The opening of the file, as written. The whole thing — 970 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 -1: Am I the version that is installed? (Run before anything else)
This command's own version is 0.7.7, written in the comment above and kept equal to
plugin.json by a test.
/plugin update replaces the files on disk, but a running Claude Code session keeps the
slash command it loaded at startup. So immediately after an update you can be executing
an old setup command against a new plugin — and older versions of this file carried an
escaping bug that wrote a statusline which never ran. Running stale setup silently
reinstates that bug.
Compare this command's version against the newest version on disk:
CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
ls -d "$CLAUDE_DIR"/plugins/cache/*/claude-hud-enhanced/*/ 2>/dev/null \
| awk -F/ '{ print $(NF-1) }' \
| grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' \
| sort -t. -k1,1n -k2,2n -k3,3n | tail -1
Windows (PowerShell):
$claudeDir = if ($env:CLAUDE_CONFIG_DIR) { $env:CLAUDE_CONFIG_DIR } else { Join-Path $HOME ".claude" }
(Get-ChildItem (Join-Path $claudeDir "plugins\cache\*\claude-hud-enhanced\*") -Directory -ErrorAction SilentlyContinue |
Where-Object { $_.Name -match '^\d+\.\d+\.\d+$' } | Sort-Object { [version]$_.Name } -Descending |
Select-Object -First 1).Name
If the printed version does not equal 0.7.7, STOP. Do not continue, and do not write
anything to settings.json. Tell the user:
Your session is running the setup command from an older version, while is installed on disk. Run
/reload-plugins(or quit and relaunch Claude Code), then run/claude-hud-enhanced:setupagain. Continuing now would write the old, broken statusline.
If the versions match, continue to Step 0.
Step 0: Detect Ghost Installation (Run First)
Check for inconsistent plugin state that can occur after failed installations:
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.
- 3d ago Changed 4e8730fdad1f
- 4d ago Changed · +114 lines db56a508cd31
- 8d ago First seen · 856 lines · 11 tokens per session scan D 609e545ee5ad
setup is a command published in the GitHub repository alwinpaul1/claude-hud-enhanced (10 stars, last pushed 3d ago), licensed MIT. It adds 11 tokens to every session and 13,213 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.