Get early accessEarly access
Concepts

Evals and the promote gate

Define eval cases in evals.yaml, run them with skills eval, and require a passing suite before a version can be promoted.

evals.yaml

Put an evals.yaml next to SKILL.md. It is a list of cases. Each case has a prompt and checks the response must pass.

yaml
- id: test-basic-invocation
  prompt: "What is the hello-world skill?"
  expectedChecks:
    - type: contains
      value: skill
      description: Response should mention skills
- id: test-structure
  prompt: "What files does a skill have?"
  expectedChecks:
    - type: contains
      value: SKILL.md

Check types: contains, not-contains, regex and custom.

Running evals

bash
skills eval ./skills/deploy --version 2.4.0 --runner mock

The command prints a line per case and exits with status 1 if any case fails, so you can use it in CI.

Beta limits. Only the mock runner exists. It does not call a model; it passes or fails each case at random (about 80% pass) to exercise the pipeline. The openai and anthropic runners are listed in the help text but return "not implemented". The CLI also tries to upload results to /api/v1/evals/results, which the server does not serve yet, so CLI runs are not recorded.

The promote gate

The promote API checks for a recorded eval suite for the exact version:

  • No suite recorded: promotion fails with "No eval suite found for this version".
  • Any failing case: promotion fails and returns the pass and fail counts.
  • All cases passing: promotion goes ahead.

When you call the API directly, the gate is on unless you send "requireEvals": false. The CLI sends false unless you pass --require-evals:

bash
skills promote @payments/deploy 2.4.0 prod --require-evals

The MCP promote_skill tool does not check evals.

Because CLI results are not recorded yet, --require-evals currently blocks every promotion. Use it once result upload ships.

Skills Playground docs · private betaHome · Status · Feedback