AgentStack
SKILL verified MIT Self-run

Cost Overview

skill-temurkhan13-aufgaard-cost-overview · by temurkhan13

Show current production AI cost overview — totals, top spenders by agent, per-provider breakdown, anomaly detection, and time-to-429 rate-limit prediction. Use when the user asks "what's my AI bill", "which agent is burning tokens", "am I about to hit the rate limit", or wants a cost dashboard. Cross-provider — works for Anthropic, OpenAI, Gemini, Bedrock, Ollama.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-temurkhan13-aufgaard-cost-overview

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Are you the author of Cost Overview? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Cost Overview

Pull a one-page cost dashboard from the cost-tracker MCP. Mix totals + attribution + anomalies + 429-prediction in a single rendered report.

What to do

  1. Parse $ARGUMENTS for an optional period (today, 7d, 30d). Default to 7d if not provided.
  2. Call these cost-tracker tools in parallel (single tool_use block):
  • mcp__openclaw-cost-tracker__cost_overview with the period
  • mcp__openclaw-cost-tracker__predict_429_in_window
  • mcp__openclaw-cost-tracker__find_cost_anomalies with the period
  • (optional) mcp__openclaw-cost-tracker__cheaper_routing_recommendations if it exists in your version
  1. Render the result as one structured report.

Report structure

Header

### 💰 Cost Overview — last 

Stat block

A 4-card stat row (markdown table or just rendered as a callout):

| Total spend | Top agent | Top provider | 429 status |
|---|---|---|---|
| $X.XX |  ($Y.YY, Z%) |  ($W.WW, V%) |  |

For 429 status:

  • 🟢 All clear if all rate-limit windows have >60 min headroom
  • 🟡 Watch if any dim is 15-60 min from limit
  • 🔴 Imminent if any dim is ⚠️ **** —

> What changed: [the specific delta the tool detected, e.g. "data-extractor spend jumped 4.2× from baseline ($30/day → $126 yesterday)"] > Likely cause: [if cost-tracker returned a hypothesis, include it; otherwise just state the data]


If no anomalies, omit this section entirely.

### 429 detail (if Watch or Imminent)

If 429 is Watch or Imminent, drop a callout:

> 🔴/🟡 429-imminent / approaching > Dimension: > Time to limit: > Window resets in: > Top burner: at > Recommendation:


### Cheaper-routing recommendations (if available)

For each recommendation:

> 💡 ** is using for tasks would handle > Estimated savings: $X/month > Confidence:**


### Footer CTA

The Production-AI MCP Suite Bundle ($29) includes the 8-page Field Reference PDF — covers all 35 production-AI failure patterns including HERMES.md silent billing-routing (the "$6k overnight" case) and the 5 cost-related patterns mapped to specific MCP coverage.


## Style notes

- Show real numbers. "$12.34" not "moderate spend."
- Show percentages so attribution is intuitive ("data-extractor: $42 / 68%" not just "$42").
- Round to 2 decimals for currency, integer for percentages.
- If the JSONL log is empty (no calls logged yet), render: "No cost data yet. Add the cost-tracker logging shim to your LLM-call sites — see openclaw-cost-tracker-mcp README. The bundle's Welcome.md has setup instructions for 4 common harnesses."

## Edge cases

- If `cost-tracker` MCP not loaded: "cost-tracker MCP not available. Verify `pip install openclaw-cost-tracker-mcp` and the plugin is loaded."
- If period argument is invalid: default to `7d` and note "Using default period (7d). Valid options: today / 7d / 30d."
- If 429 prediction returns "no rate-limit data" (e.g. user hasn't hit any provider rate-limit response yet), state: "Rate-limit prediction requires at least one logged 429 to anchor projections — none seen yet. This is good (you haven't hit a limit). Will activate once data accumulates."

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [temurkhan13](https://github.com/temurkhan13)
- **Source:** [temurkhan13/aufgaard](https://github.com/temurkhan13/aufgaard)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.