outbit/claude-code-tokenbudget

Claude code plugin to implement a budget or quota across all backends (Bedrock, Vertex, direct API) and provides guardrails against surprise token costs. No surprise bills, no config beyond a single env var, no external dependencies.

2Stars on the repository
6Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

UserPromptSubmit

01

outbit/claude-code-tokenbudget

Hook

Runs when you submit a prompt, before the agent sees it, executing enforce_quota.py via python3. From outbit/claude-code-tokenbudget.

2 3mo ago A tokens not measured original MIT

Stop

02

outbit/claude-code-tokenbudget

Hook

Runs when the agent finishes a response, executing track_tokens.py via python3. From outbit/claude-code-tokenbudget.

2 3mo ago A tokens not measured original MIT