What is session-hud?
session-hud is a Claude Code mod by bradtraversy that shows branch safety, context headroom, and account usage in a compact session telemetry strip. It is listed under Cost & usage and has 15 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | bradtraversy |
| Repository | bradtraversy/traversy-claude-mods |
| Popularity | 15 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (72/100) |
| Rank | #608 of 9,397 Claude Code mods; #108 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-11 |
| Stars this week | +3 |
| Hooks | 5 events |
| Sees | Bash calls |
| Draws on | AbovePrompt, Pane |
Is session-hud safe to install?
session-hud scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.config.set | changes config |
$.process.run | runs processes |
$.session.cwd | |
$.session.usage | |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
How do I install session-hud?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/bradtraversy/traversy-claude-mods claude plugin validate ./traversy-claude-mods/session-hud
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add bradtraversy/traversy-claude-mods && claude plugin install session-hud@traversy-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs session-hud for you:
Install the "session-hud" Claude Code mod from https://github.com/bradtraversy/traversy-claude-mods/tree/main/session-hud. Run claude plugin validate on it first and show me what it can access before you enable it.
More from bradtraversy/traversy-claude-mods
This repository has 4 Claude Code mods on MCPMods.
- next-steps: After each turn, 2 or 3 likely next prompts above the prompt: buttons on the desktop, 1 to 3 in the terminal (Review before installing)
- source-control: A Source Control pane beside the chat, modeled on VS Code: changes, stage, discard, commit, and the commit graph (Review before installing)
- tool-cards: Replaces tool-use rows with diagnostic cards that show status, timing, results, and details (Low risk)