All shelves / Mods / Usage
session-hud
By ofeklevy11
session-hud is a Claude Code usage mod by ofeklevy11.
Draws four cards above the prompt: context left, the 5-hour limit, prompt clocks, and what the session cost.
Draws
Install
The marketplace name is claude-code-hud.
/plugin marketplace add ofeklevy11/claude-code-hud /plugin install session-hud@claude-code-hud
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 2.3.3
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-04
What it can reach
- Draws in the session
- Reads usage or context figures
Needs Claude Code 2.1.287 or later. The cards draw in the terminal and the desktop app. The README says they do not show in the VS Code extension, in claude -p, or in a cloud session. The context card is a fill bar and the tokens left. Past 300K tokens it tells you to type /compact, in yellow, with a one-time toast, and past 400K it turns red. On a window under 1M those lines are 50 percent and 70 percent of the window. The 5-hour card is a fill bar and the time until the limit resets. Prompt time is two clocks: now or last for one prompt, and all for every prompt in the session, with idle time left out. Session cost is in USD. The author's Hebrew section says the bars stay green to 60 percent, yellow to 85 percent, and red above that, that a prompt of 2 minutes or more toasts when it ends, that an API-key account leaves the 5-hour card on after the first reply while the other cards still work, and that the dollar figure on a subscription is the estimated API price, not money taken off the subscription. The layout wraps with the width. It reads the context fill, the plan quotas, and the cost the session already holds, writes no files, and sends nothing.
The install name is session-hud. This page adds the author's name. The marketplace name is claude-code-hud. The context left, the 5-hour limit, and the session cost are why this page files it under usage. usage-hud draws model, effort, context, and the 5-hour and weekly limits in a panel, and a pixel crab above the prompt that acts out the tool. usage-meter draws the 5-hour and 7-day plan limits as small bars above the prompt, with the reset countdown and what this session cost. These cards add the two prompt clocks beside context left, the 5-hour limit, and session cost.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a promptturn.completeWhen a turn endstool.callAround a tool call, where it can hold onesession.compactWhen the context is compactedui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- ofeklevy11
- Category
- Usage
- Marketplace
- claude-code-hud
- Folder
- session-hud
- Version
- 2.3.3
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-10-04
- Language
- TypeScript
- Files
- 4