cli-eval
Fungsinya
Skill ini menunjukkan cara membuat dan menjalankan tes evaluasi untuk model AI dari command line. Skill ini untuk tim yang ingin mengukur kualitas model dan membandingkan hasilnya.
Kapan dipakai
- ✓Saat pengguna ingin menjalankan rangkaian evaluasi terhadap model atau kombinasi routing.
- ✓Saat pengguna ingin membandingkan performa model pada scorecard.
- ✓Saat pengguna ingin memeriksa kasus evaluasi mana yang gagal.
Link skill
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-eval/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Jalankan rangkaian evaluasi saya pada model ini dan tampilkan kasus yang gagal.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mendaftar perintah untuk membuat atau memilih rangkaian, menjalankannya terhadap model atau combo dengan konkurensi tertentu, memantau kemajuan, serta membaca hasil dan scorecard.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Overview
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
eval
Example:
omniroute eval
eval suites
Example:
omniroute eval suites
eval list
Example:
omniroute eval list
eval get <suiteId>
Example:
omniroute eval get <suiteId>
eval create
Flags:
--file <path>
Example:
omniroute eval create
eval run <suiteId>
Flags:
-m, --model <id>--combo <name>--concurrency <n>--tag <tag>--watch
Example:
omniroute eval run <suiteId>
eval list
Flags:
--suite <id>--status <s>--since <ts>--limit <n>
Example:
omniroute eval list
eval get <runId>
Example:
omniroute eval get <runId>
eval results <runId>
Flags:
--failed
Example:
omniroute eval results <runId>
eval cancel <runId>
Flags:
--yes
Example:
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>--explain
Example:
omniroute simulate [prompt]
<!-- skill:custom-start -->
<!-- Migrated from skills/omniroute-cli-eval/SKILL.md (preserved curated content) -->
OmniRoute — CLI Evals
Requires the omniroute CLI. See CLI entry-point skill for install + global flags.
What are evals?
Evals are automated test suites that score LLM outputs against expected answers or rubrics. OmniRoute stores suites and run results in its local database.
Eval suites
omniroute eval suites list # List all eval suites
omniroute eval suites list --json # JSON output
omniroute eval suites get <suiteId> # Full suite definition
Create a suite
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"}
Run an eval
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
Manage runs
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
Scorecard output
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"
}
Comparing models
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
CI integration
# Run and fail CI if score drops below threshold
SCORE=$(omniroute eval suites run $SUITE_ID --model claude-sonnet-4-6 --output jso
Pertanyaan umum
Bisakah saya hanya melihat yang gagal?
Bisa. Perintah results memiliki opsi failed yang hanya menampilkan kasus yang gagal.
Bisakah saya menghentikan evaluasi yang sedang berjalan?
Bisa. Perintah cancel menghentikan run dan meminta konfirmasi kecuali Anda memberi opsi yes.
Bisakah ini dijalankan di CI?
Skill ini menyatakan bahwa run evaluasi dapat diintegrasikan dengan alur kerja CI.
Detail
Deskripsi asli dari pembuat
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
Popularitas
- Bintang GitHub
- 84k
- Peringkat
- #1403
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
cli-a2a
84kMenjalankan command line OmniRoute untuk tugas agent-ke-agent, sehingga Anda dapat mengirim pekerjaan, memeriksa riwayat tugas, dan menguji skill.
cli-backup-sync
84kMenjalankan cadangan data OmniRoute dari command line, termasuk snapshot, sinkronisasi cloud, jadwal, dan pemulihan dari arsip.
cli-batches
84kMengirim pekerjaan AI secara batch dari command line, melacak kemajuannya, dan menyimpan hasil atau galat, termasuk untuk pipeline CI.
cli-chat
84kMengirim permintaan chat ke model AI dari command line, dengan balasan yang di-stream, system prompt, dan sesi interaktif.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.