/ai-gateway:cli-evalfrom ai-gateway
Creates and runs evaluation suites for LLM outputs, watches live benchmark progress, views scorecards, compares model performance, and integrates eval runs with CI workflows via the OmniRoute CLI.
Ships in ai-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill needs OmniRoute, which is installed separately. From this skill's folder, run
python3 scripts/sfp_app.py statusto see whether it is installed and running. If it is not, runpython3 scripts/sfp_app.py installto get the plan (it changes nothing), tell the user what it will do, and run it again with--yesonly after they agree.startruns it when it is installed but stopped.
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
npm install -g omniroute # or: npx omniroute
omniroute --version
evalExample:
omniroute eval
eval suitesExample:
omniroute eval suites
eval listExample:
omniroute eval list
eval get <suiteId>Example:
omniroute eval get <suiteId>
eval createFlags:
--file <path>Example:
omniroute eval create
eval run <suiteId>Flags:
-m, --model <id>--combo <name>--concurrency <n>--tag <tag>--watchExample:
omniroute eval run <suiteId>
eval listFlags:
--suite <id>--status <s>--since <ts>--limit <n>Example:
omniroute eval list
eval get <runId>Example:
omniroute eval get <runId>
eval results <runId>Flags:
--failedExample:
omniroute eval results <runId>
eval cancel <runId>Flags:
--yesExample:
omniroute eval cancel <runId>
eval scorecard <runId>Example:
omniroute eval scorecard <runId>
simulate [prompt]Flags:
--file <path>-m, --model <id>--combo <name>--reasoning-effort <level>--thinking-budget <n>--explainExample:
omniroute simulate [prompt]
Requires the omniroute CLI. See CLI entry-point skill for install + global flags.
Evals are automated test suites that score LLM outputs against expected answers or rubrics. OmniRoute stores suites and run results in its local database.
omniroute eval suites list # List all eval suites
omniroute eval suites list --json # JSON output
omniroute eval suites get <suiteId> # Full suite definition
omniroute eval suites create \
--name "code-quality" \
--rubric "exact-match" \
--samples-file ./samples.jsonl # JSONL: {input, expected_output}
Rubric options: exact-match, contains, llm-judge, regex.
--samples-file format (one JSON object per line):
{"input": "What is 2+2?", "expected_output": "4"}
{"input": "Translate 'hello' to Spanish", "expected_output": "hola"}
omniroute eval suites run <suiteId> \
--model claude-sonnet-4-6 # Run suite against a specific model
omniroute eval suites run <suiteId> \
--model gpt-4o \
--watch # Live TUI progress (EvalWatch)
The run is asynchronous. Use --watch for a live terminal dashboard or poll manually:
RUN_ID=$(omniroute eval suites run <suiteId> --model claude-sonnet-4-6 --output json | jq -r '.id')
omniroute eval get $RUN_ID
omniroute eval list # List all eval runs
omniroute eval list --json
omniroute eval get <runId> # Run details (status, model, score)
omniroute eval results <runId> # Per-sample results
omniroute eval scorecard <runId> # Full scorecard with pass/fail per sample
omniroute eval cancel <runId> # Cancel a running eval
omniroute eval scorecard <runId> --output json
Response fields per sample:
{
"id": "sample-1",
"score": 0.95,
"passed": true,
"input": "What is 2+2?",
"output": "4",
"expected": "4"
}
Run the same suite against multiple models and compare:
for MODEL in claude-sonnet-4-6 gpt-4o gemini-2.0-flash; do
omniroute eval suites run $SUITE_ID --model $MODEL --output json | jq '{model: .model, score: .score}'
done
# Run and fail CI if score drops below threshold
SCORE=$(omniroute eval suites run $SUITE_ID --model claude-sonnet-4-6 --output json | jq -r '.score')
python3 -c "import sys; score=float('$SCORE'); sys.exit(0 if score >= 0.90 else 1)"
suites create fails with invalid rubric → use one of: exact-match, contains, llm-judge, regexsuites run returns model not found → verify model ID with omniroute models --search <name>eval get shows status: failed → check omniroute logs --search eval for error detailsscorecard returns empty results → the run may still be running; poll omniroute eval get <runId> until status is completedWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
llm-evaluation, benchmarking, model-comparison, ci-integration
npx claudepluginhub siddu1004/sfp --plugin ai-gateway45 skills in this plugin
/cli-a2aInteract with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively./cli-backup-syncBackup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files./cli-batchesSubmit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.Other plugins' skills for the same job