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) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

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 networkother: $.state.get, other: $.state.set, network, runs processes, reads files, reads env vars, persists state, draws

Validation

Passed on Claude Code 2.1.302

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}
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 on 2.1.302
Passed
Scanned revision
77f1ebcd5d22
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. How the scan works.

More from hamzafer/claude-code-mods

See all 25 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/)