Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Authors deterministic and LLM rubric graders for skillgrade evaluations. Use when creating scoring scripts, writing evaluation rubrics, or combining multiple graders with weighted scoring. Don't use for setting up eval pipelines, configuring eval.yaml defaults, or general test writing.
.claude/skills/mgechev-skillgrade-graders/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 21% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -47% | 0% |
Step 1: Identify the Grading Strategy
Step 2: Write a Deterministic Grader
graders/ directory (bash or TypeScript).json {"score": 0.67, "details": "2/3 checks passed", "checks": [{"name": "check-name", "passed": true, "message": "Description"}]}
score (0.0–1.0) and details are required. checks is optional but recommended.references/grader-output-schema.md for the full output specification.awk for arithmetic in bash scripts — bc is not available in node:20-slim.yaml
run: bash graders/check.sh weight: 0.7
Step 3: Write an LLM Rubric Grader
Workflow Compliance (0-0.5):
Efficiency (0-0.5):
yaml
rubric: | rubric text or file path] weight: 0.3 provider: gemini # optional: gemini (default) | anthropic | openai model: gemini-3.5-flash # optional model override (defaults to the latest dynamically resolved flash model)
rubric: rubrics/quality.md.Step 4: Combine Multiple Graders
Σ (grader_score × weight) / Σ weight.yaml graders:
run: bash graders/check.sh weight: 0.7
rubric: rubrics/quality.md weight: 0.3
Step 5: Validate Graders
skillgrade --validate to verify graders score the reference solution correctly.skillgrade --grader=deterministic (skips LLM calls, faster iteration).skillgrade --grader=llm_rubric.skillgrade --eval=my-eval --grader=deterministic.echo/console.log statements except the final JSON result are redirected to stderr.GEMINI_API_KEY (provider: gemini), ANTHROPIC_API_KEY (provider: anthropic), or OPENAI_API_KEY (provider: openai).ANTHROPIC_BASE_URL (for provider: anthropic) or OPENAI_BASE_URL (for provider: openai) — e.g. for Ollama or vLLM.Other measured skills in the registry, with their headline benchmark lift.