Loading...
Loading...
Read accumulated cost-tracking spend + budget config, compute utilization, emit 50/75/90/100% alert ladder
npx skill4agent add ruvnet/ruflo cost-budget-checkcost-tracking:budget-configtotal_cost_usdsession-*cost-track/cost-optimize/loop 30mnode plugins/ruflo-cost-tracker/scripts/budget.mjs checkBUDGET_PERIOD=todayallBUDGET_QUIET=1node plugins/ruflo-cost-tracker/scripts/budget.mjs set 50.00
node plugins/ruflo-cost-tracker/scripts/budget.mjs getbudget.mjs check1budget.mjs check && spawn …cost-tracking:budget-config{
"budget_usd": 50.00,
"setAt": "2026-05-05T...",
"thresholds": { "info": 0.50, "warning": 0.75, "critical": 0.90, "hard_stop": 1.00 }
}| Threshold | Level | Action |
|---|---|---|
| 50% | INFO 🟡 | log notification, no UX disruption |
| 75% | WARNING 🟠 | display warning, suggest |
| 90% | CRITICAL 🔴 | urgent alert, recommend model downgrades |
| 100% | HARD_STOP 🛑 | halt non-essential spawns; exit code 1 |
cost-trackcost-tracking:session-*cost-reportcost-optimize