AugmentClaude

Bernstein Cost Tracker

Show detailed spending breakdown and budget status for Bernstein orchestrator.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/bernstein-cost-sipyourdrink-ltd/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Show detailed cost breakdown and budget status for the Bernstein orchestrator. Use when the user asks about spending, budget, cost per model, cost per agent, or wants a cost projection.

What this skill does

Bernstein Cost Tracker

Show detailed cost analysis and budget status.

When to Use

  • User asks "how much have we spent?" or "what's the cost?"
  • User wants per-model or per-agent cost breakdown
  • User asks about budget remaining or cost projection
  • User says "are we over budget?"

Instructions

  1. Run scripts/costs.sh to fetch cost data.
  2. Run scripts/costs.sh projection for cost forecast.
  3. Present a clear cost report:
## Cost Report

**Total spent:** $X.XX / $Y.YY budget (Z%)
**Status:** {OK | WARNING | OVER BUDGET}

### Per Model
| Model | Tasks | Cost | Avg/Task |
|-------|-------|------|----------|
| claude-sonnet-4 | 12 | $1.84 | $0.15 |
| gpt-4.1 | 5 | $0.62 | $0.12 |

### Per Agent
| Agent | Role | Tasks Done | Cost |
|-------|------|------------|------|
| claude-backend-01 | backend | 3 | $0.45 |

### Projection
At current rate, this run will cost ~$X.XX total.
Estimated completion: Y tasks remaining, ~Z minutes.
  1. If budget warning is active, highlight it prominently.
  2. If over budget, note that Bernstein has paused new task claims.

Related skills