Registry / hoangsonww

hoangsonww/claude-code-agent-monitor/budget-sentinel

Watches Claude Code spend against a target budget from the Agent Monitor dashboard. Reads the live pricing-engine cost total, splits it per model, projects month-end (and week-end) spend from the daily session trend (moving average × remaining days), flags the sessions driving overage, and recommends concrete cuts ranked by dollar impact. Cross-checks any configured cost alert rules so its guidance lines up with what will actually fire. Grounded in /api/pricing/cost, /api/analytics, /api/session

AI agent · version 2.4.6 · from hoangsonww/Claude-Code-Agent-Monitor

Install

npx yarkr-cli add agent:hoangsonww/claude-code-agent-monitor/budget-sentinel

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:hoangsonww/claude-code-agent-monitor/budget-sentinel
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:hoangsonww/claude-code-agent-monitor/budget-sentinel

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:hoangsonww/claude-code-agent-monitor/budget-sentinel

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.