Skip to content
Back to skills

Bernstein Plan

ASecurity

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.

  • 1,332 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aigoapidatabasefrontendbackenddevopssecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add sipyourdrink-ltd/bernstein --skill bernstein-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bernstein Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bernstein Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sipyourdrink-ltd-bernstein-plan/badge)](https://www.skillsdirectory.com/skills/sipyourdrink-ltd-bernstein-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bernstein-plan
description: >
  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 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

1. Analyze the user's request and decompose it into stages and tasks.
2. Write a plan YAML file using this structure:

```yaml
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
```

3. Save the plan to `plans/{plan-name}.yaml` in the project root.
4. Tell the user to execute it: `bernstein run plans/{plan-name}.yaml`

### Or submit via API

5. Run `scripts/plan.sh submit plans/{plan-name}.yaml` to submit for approval.
6. The plan enters `pending` state - use `/bernstein-approve` to review and approve.
7. Once approved, planned tasks promote to `open` and agents start picking them up.

### Reviewing plans

8. Run `scripts/plan.sh list` to see all plans and their status.
9. Show the plan with stages, dependencies, and estimated cost/time.

## Tips

- Keep stages to 2-5 tasks each
- Use `depends_on` to 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 `tiny` or `small` scope

Files in this skill

  • SKILL.md2.5 KB
  • scripts/plan.sh1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.