Claude Code budget checker reads local logs and warns before agents burn through limits
getnable · reddit · 2026-07-23
A developer built uvx nable ai-budget, a local tool that reads Claude Code session logs and shows how much usage an agent has burned through before it runs out.
- Works locally, without uploading logs.
- Supports both flat-rate plans and metered API keys.
- Shows tokens used in the current window, month-to-date usage, burn rate, and a warning before limits hit.
- Ships as an MCP server so the agent can check its own budget before starting a large task.
- The next step is nable guard install, a preflight layer for Terraform, kube, and cloud CLI commands that only proposes actions and never auto-executes.
It is free, open source, and aimed at making Claude Code agents less expensive and less surprising to use.
More from coding & agent
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11