claudemods

All Claude Code modshamzafer/claude-code-mods

openai-balance

A Claude Code mod in hamzafer/claude-code-mods

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.

openai-balance reaches L3 (network) and passed claude plugin validate with warnings.

Install hint

/plugin install openai-balance --marketplace hamzafer/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L3 Uses the networknetwork, runs processes, reads files, reads env vars, reads mod state, persists state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, turn.complete, command.run {command=openai-balance}, ui.render {component=AbovePrompt}, ui.render {component=AbovePromptList}
API calls
$.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.http.fetch, $.process.run, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.resolve
Validation
Passed with warnings
Scanned revision
22f830d29508
Marketplace warnings
claude-code-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from hamzafer/claude-code-mods

See all 31 mods from hamzafer/claude-code-mods

Badge for your README

Reach badge for openai-balance Validation badge for openai-balance

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hamzafer--claude-code-mods--openai-balance-reach.svg)](https://mods.aidojo.si/mods/hamzafer--claude-code-mods--openai-balance/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hamzafer--claude-code-mods--openai-balance-validates.svg)](https://mods.aidojo.si/mods/hamzafer--claude-code-mods--openai-balance/)