Skills

Skillgrade Setup

Sets up and runs skillgrade evaluation pipelines for AI agents and Agent Skills.

Install

npx skills add mgechev/skillgrade --skill skillgrade-setup -g -a claude-code -y
Repository
mgechev/skillgrade734
Category
Testing
Updated
24d ago
License
MIT
Context cost
Lightabout 1,134 tokens
Runs scripts
No, instructions only

What it does

Sets up and runs skillgrade evaluation pipelines for AI agents and Agent Skills. Use when initializing eval configurations, running trials, reviewing results, exporting reports, or integrating with CI. Don't use for writing grader scripts, general test authoring, or non-agentic documentation.

Skillgrade Evaluation Setup

Procedures

Step 1: Install Skillgrade

  1. Verify Node.js 20+ and Docker are available.
  2. Run npm i -g skillgrade to install the CLI globally.

Step 2: Initialize an Eval Configuration

  1. Navigate to any project directory.
  2. If the directory contains a SKILL.md and an API key is set, skillgrade init generates AI-powered tasks and graders tailored to the skill.
  3. Without a SKILL.md or API key, skillgrade init creates a ready-to-edit generic eval template.
  4. Pass --force to overwrite an existing eval.yaml.

Step 3: Configure eval.yaml

  1. Read references/eval-yaml-spec.md for the full configuration schema.
  2. Define tasks under the tasks: key. Each task requires:
    • name: unique task identifier
    • instruction: what the agent should accomplish (OR turns: for multi-turn evals)
    • graders: one or more scoring mechanisms (see the skillgrade-graders skill)
  3. Optionally add workspace: (files the agent edits) and context: (reference material not directly graded).
  4. Configure defaults: for agent, provider, trials, timeout, and threshold.
  5. For multi-turn evals, replace instruction with turns:, each turn has its own instruction and optional graders. The workspace persists across turns.
  6. For batch evals, add dataset: path/to/file.jsonl (or .csv) to a task. Each row expands into a separate task with {{key}} template variables interpolated in the instruction.
Read the whole SKILL.md on GitHub

More in Testing