Claude Code mod
openai-balance
Your OpenAI API credit above the prompt: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. /openai-balance shows the breakdown.
Install
/plugin marketplace add hamzafer/claude-code-mods
/plugin install openai-balance@claude-code-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, runs processes, reads files, reads env vars, reads mod state, persists state, draws
- Draws in
AbovePrompt- Hooks
session.startturn.completecommand.runui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- hamzafer/claude-code-mods
- Folder
mods/openai-balance- Marketplace
claude-code-mods- Author
- Hamza Zafar
- License
- MIT
- Last updated
- 1 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is openai-balance?
Your OpenAI API credit above the prompt: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. /openai-balance shows the breakdown. It is a mod for Claude Code, from hamzafer/claude-code-mods on GitHub.
What can the openai-balance mod access?
Its widest reach is "network" (network, runs processes, reads files, reads env vars, reads mod state, persists state, draws). It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install openai-balance?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add hamzafer/claude-code-mods and then /plugin install openai-balance@claude-code-mods.
Is openai-balance popular?
hamzafer/claude-code-mods has 426 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 1 November 2026.
More context & usage mods
taskcut
7wasd96040501/taskcut
Compacts when the work moves on from one sub-task to the next instead of when the context window fills, including in the middle of a long turn. Once the context is past a floor, a model judges each step, reading what you asked for and where Claude has got to but never any tool output, for whether the work moves on from a finished piece to another; if it does, taskcut runs Claude Code's own compaction. Below the floor it does nothing and costs nothing.
context-meter
240midudev/better-claude
The session's context window fill, right above the prompt: gray while there is room, yellow when it is time to /compact, red when a new session is better.
session-hud
7ofeklevy11/claude-code-hud
Session Tracker above the prompt box: context window with a /compact recommendation, 5-hour plan limit, prompt clocks and session cost.
burn-baby-burn
2eel-brah/burn-baby-burn
Live session and weekly usage gauges under your prompt, fiery nags when your weekly limit is about to go unspent, and a friendly "slow down" when you burn through it too fast
mission-control
7h-zahran/delivery-kit
A side pane with robots: the main loop, every subagent and its tools, context, cost, rate limits and files touched
cache-guard
2Agulhas-Labs/claude-plugins
Warns once before a message that will cost far more than usual: a large Claude Code context whose prompt cache has expired, or a model or effort change that resets it. Shows the estimated cost, and offers a handoff file written by a cheap model in the background so you can /clear instead. While background work runs, it wakes an idle session just before its cache expires, so the result lands on a warm cache.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.