Agent skill · Data & Analytics

daily-budget-check

Run a daily spend check-in against a daily budget on the Agent Monitor dashboard — today's spend vs the daily target, pace through the day, and the projected overage if the current pace holds. Uses /api/pricing/cost and /api/sessions (grouped by started_at = today). Use for a quick daily spend check-in or a morning/evening budget pulse.

hoangsonwwgithub.com/hoangsonwwGitHub ↗
claude-codeMIT
Install
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill daily-budget-check --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: plugins/ccam-cost-guard/skills/daily-budget-check/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 869
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Daily Budget Check A fast daily pulse: are you on pace against today's budget? ## Input The user provides: **$ARGUMENTS** This is the **daily budget in dollars** — e.g. `"5"` or `"$5/day"`. If omitted, ask for one or derive it from a monthly budget (`monthly / days_in_month`) and state the assumption. ## Data Sources | Endpoint | Returns | |----------|---------| | `GET /api/pricing/cost` | `{ total_cost, breakdown: [{ model, input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, cost, matched_rule }] }` — fleet-wide spend and the avg cost-per-session used to value today's sessions | | `GET /api/sessions?limit=200` | Session list with inline `cost` and `started_at` — filter to today (`DATE(started_at) = today`) to isolate today's spend | ## Method Spend has no per-day field, so isolate **today** from the session list: 1. **Today's sessions** = sessions whose `started_at` is today (local date). 2. **Today's spend** = sum of inline `cost` over today's sessions. If inline `cost` is absent for some rows, fall back to `today_session_count × (total_cost / total_session_count)` and flag it as approximate. 3. **Pace**: `fraction_of_day_elapsed = hours_since_midnight / 24`. `e

What's inside
Steps it walks through
  1. Input
  2. Data Sources
  3. Method
  4. Report Sections
  5. 1. Today vs budget
  6. 2. Pace
  7. 3. End-of-day projection
  8. 4. Today's drivers
  9. 5. Nudge
  10. Output
More from Claude-Code-Agent-Monitor
All skills →
About this skill
What does the daily-budget-check skill do?

Run a daily spend check-in against a daily budget on the Agent Monitor dashboard — today's spend vs the daily target, pace through the day, and the projected overage if the current pace holds. Uses /api/pricing/cost and /api/sessions (grouped by started_at = today). Use for a quick daily spend check-in or a morning/evening budget pulse.

How do I install it?

Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill daily-budget-check --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From hoangsonww/Claude-Code-Agent-Monitor, a repository with 869 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going