Skip to main content
Skill Lab evaluates your Agent Skills through 28 automated checks across 4 quality dimensions. Static analysis validates skill structure, naming conventions, descriptions, and content quality — providing a quality score and detailed feedback.

Overview

Static checks validate:
  • Structure (7 checks): File existence, YAML frontmatter, scripts/references validation
  • Schema (9 checks): Frontmatter fields (name, description, license, compatibility, etc.)
  • Naming (1 check): Directory name matches skill name
  • Content (11 checks): Examples, token budgets, actionable descriptions, asset paths
Each skill receives a 0-100 quality score based on weighted check results.

Basic Usage

1

Evaluate a skill

Run static analysis on a skill directory:
Or evaluate the current directory:
2

Review the report

The console output shows:
  • Quality score (0-100)
  • Overall pass/fail status
  • Failed checks with severity levels
  • Summary by dimension

Command Options

Verbose Mode

Show all checks, including passing ones:
By default, only failed checks are shown. Use --verbose (or -V) to see the full report.

Spec-Only Mode

Run only the 10 spec-required checks (skip 18 quality suggestions):
Use the -s or --spec-only flag when you only care about Agent Skills spec compliance.
Spec-required checks use ERROR severity and must pass for overall_pass: true. Quality suggestions use WARNING or INFO severity.

JSON Output

Generate machine-readable JSON output:

Quick Validation

For CI/CD pipelines, use the validate command for pass/fail validation:
This command:
  • Returns exit code 0 if all ERROR-level checks pass
  • Returns exit code 1 if any ERROR-level check fails
  • Only prints ERROR-level failures (no quality suggestions)
Example: CI Script

List Available Checks

View all 28 available checks:
Output shows check ID, name, dimension, severity, and whether it’s spec-required:

Understanding Severity Levels

A skill with any ERROR-level failures will have overall_pass: false and return exit code 1. Fix all ERROR-level issues before deploying skills.

Quality Score Calculation

The quality score (0-100) is calculated using:
  1. Dimension weights: Structure (30%), Description (25%), Content (25%), Naming (20%)
  2. Severity weights: ERROR (1.0), WARNING (0.5), INFO (0.25)
  3. Weighted pass rate per dimension
  4. Final score: Weighted average across dimensions

Integration Examples

Next Steps

Trigger Testing

Test if your skill activates correctly with different prompt types

Test Generation

Auto-generate trigger tests using LLMs