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
- Reddit asks whether production agents ever make irreversible mistakes — Ready-Associate-9425 · 2026-07-23
- Model routing debate: should the router live inside the harness or outside it? — hwchase17 · 2026-07-23
- Open-source flat-animation Skill turns one topic into an explainer video — tinyfool · 2026-07-23
- Kimi K3 reportedly found and exploited a Redis 0day in 27 minutes with 32 agents — HanchungLee · 2026-07-23
- Can an AI agent read code changes and draft release notes automatically? — Existing-Employee-64 · 2026-07-23
- Four RTX 3080s hit 69 tok/s on Qwen3.6-27B for about $2,000 — starkruzr · 2026-07-23