Agent 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.
Install this agent skill to your Project
npx add-skill https://github.com/chernistry/bernstein/tree/main/packages/cursor-plugin/skills/bernstein-cost
SKILL.md
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
- Run
scripts/costs.shto fetch cost data. - Run
scripts/costs.sh projectionfor cost forecast. - 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.
- If budget warning is active, highlight it prominently.
- If over budget, note that Bernstein has paused new task claims.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
bernstein-create-task
Create a new task in the Bernstein orchestrator. Use when the user wants to add a task, delegate work to an agent, file a bug fix, or queue up work for the orchestrator to handle.
bernstein-status
Show Bernstein orchestrator status — active agents, task progress, costs, and alerts. Use when the user asks about orchestrator status, what agents are doing, task progress, how much has been spent, or what's happening with the build.
bernstein-agents
Manage Bernstein agents — list active agents, inspect their output, kill stalled agents, or stream live logs. Use when the user asks about agents, wants to see what an agent is doing, or needs to kill one.
bernstein-quality
Show quality metrics for Bernstein runs — success rates per model, lint/test pass rates, completion time distributions. Use when the user asks about quality, reliability, which model performs best, or pass rates.
bernstein-plan
Create and manage multi-step execution plans in Bernstein. Plans decompose complex goals into stages with dependencies. Use when the user wants to plan a complex feature, break down a large task, or review an execution plan before agents start working.
bernstein-alerts
Show active alerts from Bernstein — failed tasks, stalled agents, budget warnings, blocked tasks needing human intervention. Use when the user asks about problems, errors, warnings, or what needs attention.
Didn't find tool you were looking for?