Cost Budget Check
Reads a stored budget, sums tracked session spend, and reports utilization against a 50/75/90/100% alert ladder.
- CCM score
- 71 of 100
- skills.sh installs
- 693
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers checking accumulated session spend against a configured budget, with output filterable by
--period(today, week, month, or all) - Includes
budget.mjssubcommandscheck,set, andget, plus aBUDGET_QUIET=1mode that emits machine-readable JSON - Enforces a HARD_STOP at 100% utilization, with
checkexiting code 1 so spawns can be guarded fail-closed - Designed for pre-spawn gating and cron-style monitoring via
/loop 30m, escalating to/cost-optimizeat high utilization
Install
$ npx -y skills add ruvnet/ruflo --skill cost-budget-check -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost Budget Check
Reads cost-tracking:budget-config for the project's budget limit, sums total_cost_usd across session-* records produced by cost-track, computes utilization, and emits the measured 4-tier alert ladder (50% INFO / 75% WARNING / 90% CRITICAL / 100% HARD_STOP).
Until P2 (this skill) landed, the README documented the alert ladder but no code checked it. Now this skill is the gate.
When to use
- After every cost-track run, to surface the alert level.
- Before spawning a swarm — if utilization ≥ 90%, escalate to
/cost-optimizefirst. - Cron-friendly via
/loop 30mfor continuous monitoring.
Steps
-
Run the check:
node plugins/ruflo-cost-tracker/scripts/budget.mjs checkFilter by period:
BUDGET_PERIOD=today(defaultall). UseBUDGET_QUIET=1for machine-readable JSON. -
Inspect the markdown summary — budget, spent, remaining, utilization percentage, alert level (🟢 OK · 🟡 INFO · 🟠 WARNING · 🔴 CRITICAL · 🛑 HARD_STOP), and the recommended action.
-
Set / inspect the budget:
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Agent Workflow & Planning, Finance & Trading
- First seen
- Jun 3, 2026
Questions
What does the cost-budget-check skill do?
It reads the project's budget config and accumulated spend from cost-track records, computes utilization, and emits a 50, 75, 90 and 100 percent alert ladder. The skill reports whether spend is at INFO, WARNING, CRITICAL or HARD_STOP level and recommends the next action.
How do I install the cost-budget-check skill?
Run npx -y skills add ruvnet/ruflo --skill cost-budget-check -y in your project. This adds the skill so your agent can check spend against the budget before spawning more work.
What does the skill need to run?
It needs the cost-tracking records produced by the cost-track skill and a budget set with the budget script. It runs shell commands and reads and writes memory through the Ruflo MCP tools.
Where does cost-budget-check sit in its category?
It belongs to the Agent Workflow & Planning category on Claude Marketplaces, alongside grill-me, grill-with-docs and prototype. Its distinct role is enforcing the alert thresholds that the Ruflo README documents but earlier code did not check.
When should I run cost-budget-check?
Run it after each cost-track run to see the alert level, and before spawning a swarm when utilization is at or above 90 percent. It can also run on a 30 minute loop for continuous monitoring.
More from ruvnet/ruflo
All 236- Browser Auth Flow690
- Adr Verify689
- Cost Track685
- Cost Booster Route684
- Cost Federation684
- Cost Summary684
- Intelligence Transfer684
- Vector Setup684
- Cost Trend683
- Cost Conversation682
- Cost Export681
- Cost Benchmark679
- Cost Booster Edit679
- Browser674
- Witness656
- Swarm Orchestration2.1K
- Agent Arch System Design1.4K
- Security Audit1.4K
- Agent Workflow1.4K
- Github Project Management1.4K
- Workflow Automation1.3K
- Github Code Review1.3K
- Agent Swarm1.3K
- Agent Spec Mobile React Native1.3K
Similar to Cost Budget Check
More Agent Workflow & Planningcost-summarySkillruvnet/ruflo684 installsSingle-call JSON or markdown snapshot of total spend, per-tier costs, budget status, and federation totals.
cost-reportSkillruvnet/ruflo730 installsGenerate per-agent and per-model token and USD cost reports with budget utilization and tier breakdown.
McpspendMCP serverandreisirbu91-lab59 starsCost and usage data from MCPSpend: today's spend, monthly limits, top tools, and sessions.
ccam-cost-guardPluginhoangsonww/Claude-Code-Agent-Monitor1.2K starsBudget tracking, spend forecasting, and cost-threshold alerts for Claude Code usage via the Agent Monitor pricing engine. Watches spend against a target budget,
cost-trackerSkillrohitg00/pro-workflow180 installsPractical cost-awareness guide that sets tool-call budgets and token-spend checkpoints for Claude Code sessions.