Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/chernistry/bernstein/tree/main/packages/cursor-plugin/skills/bernstein-plan
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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-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?