Skip to content
Development
Skill

/bernstein-cost

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.

From plugin
bernstein
82026 skills1 agent3 commands1 hook
+1
Install
$ npx -y skills add sipyourdrink-ltd/bernstein --skill bernstein-cost --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/bernstein-cost

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

bernstein-cost.SKILL.md
name: bernstein-cost
description: >
  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.

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.

4. If budget warning is active, highlight it prominently. 5. If over budget, note that Bernstein has paused new task claims.

Ships withbernstein

Deterministic orchestrator for CLI coding agents (Claude Code, Codex, Gemini CLI, +40 more). No model in the coordination loop, so parallel runs in per-task git worktrees replay byte-identically. Signed lineage plus an opt-in HMAC audit chain a reviewer checks offline, without rerunning it. Cluster mode, air-gap deploy. https://bernstein.run

Get the whole plugin