Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sipyourdrink-ltd/bernstein --skill bernstein-plangit clone --depth 1 https://github.com/sipyourdrink-ltd/bernsteinWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-plan)<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-plan"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sipyourdrink-ltd/bernstein/bernstein-plan"><img src="https://agentmods.dev/badge/skills/sipyourdrink-ltd/bernstein/bernstein-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00601 |
| Opus 5.5 | $0.00020 | $0.00240 |
| Sonnet 5.5 | $0.00010 | $0.00120 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
bernstein-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bernstein Plan Mode
Create structured execution plans that get human approval before agents start.
When to Use
- User describes a complex feature: "implement user authentication with OAuth"
- User wants to break down a large task into stages
- User says "plan this out" or "create a plan for..."
- User wants to review what agents will do before they start
Instructions
Creating a plan
- Analyze the user's request and decompose it into stages and tasks.
- Write a plan YAML file using this structure:
name: "{descriptive plan name}"
description: "{what this plan achieves}"
stages:
- name: foundation
steps:
- goal: "Create database models for user and session"
role: backend
scope: small
complexity: low
- goal: "Add migration scripts"
role: backend
scope: tiny
- name: implementation
depends_on: [foundation]
steps:
- goal: "Implement OAuth2 flow with Google provider"
role: backend
scope: medium
complexity: medium
- goal: "Create login/signup UI components"
role: frontend
scope: medium
- name: verification
depends_on: [implementation]
steps:
- goal: "Write integration tests for auth flow"
role: qa
scope: medium
- goal: "Security review of token handling"
role: security
scope: small
- Save the plan to
plans/{plan-name}.yamlin the project root. - Tell the user to execute it:
bernstein run plans/{plan-name}.yaml
Or submit via API
- Run
scripts/plan.sh submit plans/{plan-name}.yamlto submit for approval. - The plan enters
pendingstate - use/bernstein-approveto review and approve. - Once approved, planned tasks promote to
openand agents start picking them up.
Reviewing plans
- Run
scripts/plan.sh listto see all plans and their status. - Show the plan with stages, dependencies, and estimated cost/time.
Tips
- Keep stages to 2-5 tasks each
- Use
depends_onto enforce ordering (foundation before implementation) - Assign appropriate roles: backend, frontend, qa, security, devops, docs
- Mark risky tasks with
complexity: high- they'll get more capable models - Foundation stages should be
tinyorsmallscope
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 85 lines · 51 tokens per session scan A b1f48eba1d84
bernstein-plan is a skill published in the GitHub repository sipyourdrink-ltd/bernstein (1,292 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 601 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ara-research-manager
Records research provenance as a post-task epilogue, scanning conversation history at the end of a coding or research session to extract decisions, experiments, dead ends, claims, heuristics, and pivots, and writing them into the ara/ directory with user-vs-AI provenance tags. Use as a session epilogue — never during…
review-task
Task status / backlog progress report; identifies tasks ready to start. Triggers: "revisar tarefas", "status das tarefas", "progresso do projeto", "review tasks". Skip for executing (execute-task) or creating tasks (create-tasks).
create-tasks
Decompose scope or spec into task backlog with phases, dependencies, criticality. Triggers: "criar tarefas", "backlog", "task list", "decomposicao". Skip for executing tasks (use execute-task) or technical plan (use plan).
execute-task
Execute one backlog task end-to-end following the project mandatory step-by-step workflow with hard gates. Triggers: "executar tarefa", "execute task {id}", "implementar tarefa". Skip for building the backlog (create-tasks), technical planning (plan), or bug investigation (bugfix).
jira-convert
Converte uma feature documentada localmente (spec.md + tasks.md) num Epic do Jira com Tasks e Sub-tasks correspondentes, gravando o mapeamento entre local e Jira (jira-map.tsv). Reexecucao cria apenas o que falta. Triggers: "jira-convert", "converter para jira", "criar epic no jira", "sincronizar backlog com jira"…
jira-setup
Guided setup of the cstk-jira plugin for a target project: Jira site, project key, credential (own terminal, never chat), issue-type mapping (Epic/Task/Sub-task) and status workflow mapping (pending/inprogress/pass/fail), plus filter+board. Triggers: "jira-setup", "configurar jira", "conectar projeto ao jira", "setup…