context-hud

by Khaled Ferjani · ★ 2 · updated 17 Oct 2026

PanesBandsStatus lineReskinsCommandsvalidates

0

Context window and plan usage limits at a glance: footer gauges, a per-category pane, and a warning past a threshold

install context-hud

Install

/plugin marketplace add rezk2ll/skills
/plugin install context-hud@ferjani

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.completesession.compactcommand.runui.closeui.rendersession.measure
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.session.id$.session.usage$.state.get$.state.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
PaneAbovePromptSessionMode
Can see
compaction
Reach
level 1 of 3 reads filesreads env varsreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/rezk2ll/skills
Path in repo
plugins/context-hud
Source commit
bf99b4b the exact code the scan read
Author
Khaled Ferjani @rezk2ll
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from rezk2ll/skills

context-meter

rezk2ll/skills

Shows context size and session cost in the status line, and warns once when the context passes a threshold

★ 2Status line

gh-guard

rezk2ll/skills

Blocks Claude from posting GitHub comments or reviews as you until you give an explicit go

★ 2Guards

read-guard

rezk2ll/skills

Caps unbounded Reads of large files and tells Claude how to read the rest

★ 2Guards

secret-redactor

rezk2ll/skills

Swaps secrets, emails and IPs in tool output and prompts for stable placeholders, and restores real values in tool inputs

★ 2ToastsGuardsPrompt

smart-typecheck

rezk2ll/skills

After a turn that edited code, runs the check script once in each package that was touched

★ 2Status lineGuards