Budgetclaw — Git skill for Claude Code
Local spend monitor for Claude Code with hard budget caps: track cost per project and git branch, get phone alerts, and stop a runaway agent before the bill lands.
How to install Budgetclaw
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RoninForge/budgetclaw and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Budgetclaw does
Local spend monitor for Claude Code with hard budget caps: track cost per project and git branch, get phone alerts, and stop a runaway agent before the bill lands. Zero keys, zero prompts, zero latency. roninforge.org/budgetclaw
Alternatives in Git
- Skill Copilot Provider — GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 2.8k ★
- Claude Esp — by phiat - Go-based TUI that streams Claude Code's hidden output (thinking, tool calls, subagents) to a separa 51 ★
- Secret Crusade — Unleash parallel Secret Purist agents to scan the codebase and git history for leaked credentials, API keys, a 51 ★
README
budgetclaw
RoninForge BudgetClaw is a local spend monitor for Claude Code that tracks token cost per project and per git branch and stops a runaway agent before a budget cap is breached. It is MIT licensed, runs entirely on your machine, and requires no API keys.
Part of [RoninForge.org](https://roninforge.org), an independent open-source workshop that keeps dated, reproducible records of the AI developer tooling economy.
BudgetClaw watches the JSONL session logs Claude Code already writes under `~/.claude/projects`, attributes each response's token cost to a `{project, branch}` pair, and when a cap is breached it sends SIGTERM to the Claude Code process and pushes a phone alert via ntfy.
**Zero API keys. Zero prompts. Zero latency added.** budgetclaw never touches API traffic. It reads local log files that already exist on your disk.
Docs, the ccusage comparison, the team guide and the pricing methodology: ****
Install
One-liner
curl -fsSL https://roninforge.org/get | sh
Via Homebrew (macOS, Linux)
brew install roninforge/tap/budgetclaw
From source
git clone https://github.com/RoninForge/budgetclaw.git
cd budgetclaw
make build
./bin/budgetclaw version
Via `go install`
go install github.com/RoninForge/budgetclaw/cmd/budgetclaw@latest
Quick start
# first-run: creates config + state dirs, prints paths
budgetclaw init
# cap the "myapp" project at $5/day across all branches, kill on breach
budgetclaw limit set --project myapp --period daily --cap 5.00 --action kill
# cap the "feature/expensive" branch specifically at $1/day, warn only
budgetclaw limit set --project myapp --branch "feature/expensive" --period daily --cap 1.00 --action warn
# show today's spend by project and branch
budgetclaw status
# run the watcher in the foreground
budgetclaw watch
Configuration
budgetclaw follows the [XDG Base Directory Specification](https://specific
Related Skills
Claude Codex Warmer
Keeps your Claude Code and Codex subscription usage windows warm via GitHub Actions cron - no API keys, no lap
Gh PRs Monitor
Claude Code plugin for your GitHub pull requests: the PRs you opened and those waiting on your review, in a pa
Esprit
Claude Code plugin: a conduct layer for autonomous agents. A PreToolUse hook refuses a spend, deletion or git
Falinks
Run Claude Code and Codex side by side on one live repo. Stale edits bounce, only tested code lands. Fewer tok
Aitrack
Track and visualize your Claude Code, Codex & Cursor usage and cost — heatmaps, stats, and multi-machine sync
CrewDeck
Watch your Claude Code agents work: pixel crabs with live steps and cost, a git-aware file tree that lights up
Related Agents
Cost And Infra Reviewer
Reviews hosting, database, edge and AI-provider setup for cost and resilience. Reads usage exports and config
Cost Analyzer
Use when the user wants a cloud-bill anomaly review (gcloud, AWS, Azure). Pulls current and prior period spend
Cost Forecaster
Forecasts GDD spend over the next N design cycles. Reads .design/telemetry/costs.jsonl (grouping est_cost_usd