Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

sc-evaluate

FreeNo executable scriptsNot checked

LLM pipeline evaluation with oracle judge scoring. Runs prompts against gold standard datasets, evaluates output quality via LLM-as-judge, and generates…

Tony363by Tony363★ 21 GitHub stars

About this skill

LLM Evaluation Skill

Run LLM pipeline evaluation against gold standard datasets using oracle LLM-as-judge scoring. Measures output quality across weighted dimensions, identifies weak steps, and suggests prompt improvements.

Quick Start

# Full evaluation (all test cases, all steps)
/sc:evaluate

# Quick spot check
/sc:evaluate --cases=case_1,case_2 --steps=1,2,3

# Re-evaluate existing results without re-running pipeline
/sc:evaluate --skip-pipeline

# Generate outputs only (no evaluation)
/sc:evaluate --skip-eval

# Specify judge model
/sc:evaluate --judge-model=gpt-4o

# Dry run to preview plan
/sc:evaluate --dry-run

Behavioral Flow

  1. Discover - Find evaluation script, gold standards, and prompt files
  2. Configure - Parse scope (cases, steps, model overrides)
  3. Execute - Run pipeline on gold standard inputs
  4. Evaluate - Score outputs against gold standards via LLM-as-judge
  5. Analyze - Identify weak steps, dimension breakdowns, patterns
  6. Recommend - Suggest specific prompt improvements for low-scoring steps
  7. Report - Generate JSON + Markdown evaluation reports

Flags

Flag Type Default Description
--cases string all Comma-separated test case IDs to evaluate
--steps string all Comma-separated step numbers to evaluate
--model string env default Override pipeline model
--judge-model string env default Override judge/oracle model
--skip-pipeline bool false Skip pipeline execution, evaluate existing results
--skip-eval bool false Run pipeline only, skip evaluation
--dry-run bool false Preview execution plan without API calls
--output string eval_runs/YYYYMMDD_HHMMSS/ Output directory
--concurrency int 5 Parallel judge calls
--threshold int 70 Score threshold for "needs improvement"

Phase 1: Discover Project Structure

Locate evaluation components:

Component Common Locations Purpose
Evaluation script scripts/run_eval.py, eval/run.py Orchestrates pipeline + scoring
Gold standards gold_standards/, test_data/, fixtures/ Expected outputs
Prompts prompts/, templates/ Pipeline prompt templates
Rubrics eval/rubrics.py, config/rubrics.yaml Scoring dimensions and weights

If no standard structure found, ask the user to specify paths.

Phase 2: Configure Scope

Parse arguments to determine:

  • Which test cases to run (default: all discovered)
  • Which pipeline steps to evaluate (default: all)
  • Model overrides for pipeline and judge
  • Output directory (default: timestamped)

Create output directory:

OUTPUT_DIR="${output:-eval_runs/$(date +%Y%m%d_%H%M%S)}"
mkdir -p "$OUTPUT_DIR"

Phase 3: Execute Pipeline

Run the pipeline on gold standard inputs:

python <eval_script> \
  --output "$OUTPUT_DIR" \
  --verbose \
  [--cases CASES] \
  [--steps STEPS] \
  [--model MODEL] \
  [--skip-pipeline] \
  [--skip-eval]

API call estimation:

  • Pipeline: steps x cases API calls
  • Evaluation: scored_dimensions x cases judge calls

For quick validation, suggest running on 1-2 cases with 2-3 steps first.

Phase 4: Evaluate with LLM-as-Judge

For each step output, compare against gold standard using oracle LLM-as-judge:

Evaluation dimensions (customizable per project):

Dimension What It Measures
Content Agreement Do outputs cover the same key points?
Structure Match Is the organization/format similar?
Detail Accuracy Are specific claims and data correct?
Completeness Are all expected elements present?

Each dimension has a weight (0.0-1.0) summing to 1.0 per step.

Phase 5: Analyze Results

Read and analyze evaluation report:

  1. Overall similarity score across all cases and steps
  2. Per-step scores — highlight any below threshold (default: 70/100)
  3. Per-case scores — identify consistently weak test cases
  4. Dimension breakdowns for weak steps

Score interpretation:

Score Range Assessment Action
85-100 Excellent No changes needed
70-84 Good Minor tuning possible
60-69 Needs improvement Prompt revision recommended
Below 60 Poor Prompt likely needs rewrite

Phase 6: Recommend Improvements

For each step scoring below threshold:

  1. Read the current prompt template
  2. Read the gold standard output (expected)
  3. Read the pipeline output (actual)
  4. Compare and identify gaps:
    • Missing instructions that gold standard captures
    • Overly broad instructions causing divergent output
    • Format/structure differences
    • Specificity gaps

Present actionable suggestions:

### Step N: <step_name> (Score: XX/100)

**Weakest Dimension**: <dimension> (XX/100)

**Gap Analysis**:
- Gold
Full SKILL.md on GitHub

Install sc-evaluate in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the sc-evaluate skill do?

LLM pipeline evaluation with oracle judge scoring. Runs prompts against gold standard datasets, evaluates output quality via LLM-as-judge, and generates scored reports with improvement recommendations.

How do I install the sc-evaluate skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the sc-evaluate skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare sc-evaluate with