Agent skill

Bernstein Cost

by sipyourdrink-ltd in sipyourdrink-ltd/bernstein

Show detailed cost breakdown and budget status for the Bernstein orchestrator.

Apache-2.0Auto-check passedAgent Workflows

Install Bernstein Cost

skills CLI
$ npx skills add sipyourdrink-ltd/bernstein --skill bernstein-cost -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sipyourdrink-ltd/bernstein bernstein-cost --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sipyourdrink-ltd/bernstein.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/cursor-plugin/skills/bernstein-cost .claude/skills/bernstein-cost && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bernstein-cost
GitHub stars
1.2k
Token cost
~332 tokens
SKILL.md length
87 words
Files
2 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Show detailed cost breakdown and budget status for the Bernstein orchestrator.

  • Works in 5 steps: Run scripts/costs.sh to fetch cost data. → Run scripts/costs.sh projection for cost… → Present a clear cost report → …
  • The user asks about spending
  • SKILL.md covers When to Use and Instructions
  • Runs Shell scripts from its folder

What it does

Bernstein Cost is an agent skill from sipyourdrink-ltd/bernstein. 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.

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/costs.sh`).

It sits in Agent Workflows. The repository describes itself as: The open‑source AI Agents Governance & Orchestration framework: write the rules declaratively, Bernstein enforces them and produces the verifiable, replayable record. Free…. The licence is Apache-2.0.

When your agent uses it

  • The user asks about spending
  • Wants a cost projection

Example prompts

  • “/bernstein-cost”

Requirements

  • A Bash shell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run scripts/costs.sh to fetch cost data.
  2. Run scripts/costs.sh projection for cost forecast.
  3. Present a clear cost report
  4. If budget warning is active, highlight it prominently.
  5. If over budget, note that Bernstein has paused new task claims.

What it can do on your machine

Read from SKILL.md and the folder at commit cc0c7fc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bernstein Cost loads about 332 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 87 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~332

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sipyourdrink-ltd/bernstein at commit cc0c7fc, republished under its Apache-2.0 licence (© sipyourdrink-ltd). 87 words, ~332 tokens.

Download SKILL.mdSave it as .claude/skills/bernstein-cost/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.
  1. If budget warning is active, highlight it prominently.
  2. If over budget, note that Bernstein has paused new task claims.

© sipyourdrink-ltd, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in packages/cursor-plugin/skills/bernstein-cost of sipyourdrink-ltd/bernstein.

  • SKILL.md
  • scripts/costs.sh

Open the folder on GitHubat commit cc0c7fc

Compare with similar skills

Bernstein Cost next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bernstein Cost compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bernstein Cost this skillsipyourdrink-ltd/bernstein1.2k—~332Automated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from sipyourdrink-ltd/bernstein

All 9 skills in this repo
  • Bernstein Plan

    sipyourdrink-ltd/bernstein

    Create and manage multi-step execution plans in Bernstein. An agent skill from sipyourdrink-ltd/bernstein.

    1.2k GitHub stars~649 tokensUpdated yesterday
    Auto-check passed
  • Bernstein Run

    sipyourdrink-ltd/bernstein

    Run a verified multi-agent goal with Bernstein. An agent skill from sipyourdrink-ltd/bernstein.

    1.2k GitHub stars~722 tokensUpdated yesterday
    Auto-check passed
  • Bernstein Agents

    sipyourdrink-ltd/bernstein

    Manage Bernstein agents - list active agents, inspect their output, kill stalled agents, or stream live logs.

    1.2k GitHub stars~408 tokensUpdated yesterday
    Auto-check passed
  • Bernstein Alerts

    sipyourdrink-ltd/bernstein

    Show active alerts from Bernstein - failed tasks, stalled agents, budget warnings, blocked tasks needing human intervention.

    1.2k GitHub stars~334 tokensUpdated yesterday
    Auto-check passed
  • Bernstein Approve

    sipyourdrink-ltd/bernstein

    Review and approve/reject pending tasks or plans in Bernstein.

    1.2k GitHub stars~410 tokensUpdated yesterday
    Auto-check passed
  • Bernstein Create Task

    sipyourdrink-ltd/bernstein

    Create a new task in the Bernstein orchestrator. An agent skill from sipyourdrink-ltd/bernstein.

    1.2k GitHub stars~378 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Bernstein Cost

What does Bernstein Cost do?

Show detailed cost breakdown and budget status for the Bernstein orchestrator. Bernstein Cost is an agent skill from sipyourdrink-ltd/bernstein. Show detailed cost breakdown and budget status for the Bernstein orchestrator.

When should I use Bernstein Cost?

Bernstein Cost fits situations like: the user asks about spending; wants a cost projection.

How do I install Bernstein Cost in Claude Code?

Run `npx skills add sipyourdrink-ltd/bernstein --skill bernstein-cost -a claude-code`. Or copy the skill folder (packages/cursor-plugin/skills/bernstein-cost in sipyourdrink-ltd/bernstein) into .claude/skills/bernstein-cost in your project. Claude Code loads it when a task matches its description.

How do I install Bernstein Cost in Codex?

Run `npx skills add sipyourdrink-ltd/bernstein --skill bernstein-cost -a codex`. Or copy the skill folder (packages/cursor-plugin/skills/bernstein-cost in sipyourdrink-ltd/bernstein) into .agents/skills/bernstein-cost in your project. Codex loads it when a task matches its description.

Can I use Bernstein Cost in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sipyourdrink-ltd/bernstein --skill bernstein-cost -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bernstein-cost, .gemini/skills/bernstein-cost, .github/skills/bernstein-cost and .opencode/skills/bernstein-cost in your project.

What does Bernstein Cost need to run?

Going by SKILL.md and its folder, Bernstein Cost needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Bernstein Cost access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bernstein Cost safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bernstein Cost use?

Bernstein Cost is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bernstein Cost use?

About 332 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bernstein Cost?

Skills that share tags, products or a category with Bernstein Cost: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bernstein Cost?

sipyourdrink-ltd (a GitHub organization) maintains it in sipyourdrink-ltd/bernstein, which has 1,201 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 9, 2026.

Source: sipyourdrink-ltd/bernstein on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.