OpenParable
Skip to content
← Back to skills

Bernstein Cost

Business
bernstein-cost

Bernstein Cost is an Agent Skill for business published in the sipyourdrink-ltd/bernstein repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sipyourdrink-ltd/bernstein/blob/HEAD/packages/cursor-plugin/skills/bernstein-cost/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/bernstein-cost, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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.