cli-eval
ما الذي تفعله
تشرح هذه المهارة كيف تنشئ اختبارات تقييم لنماذج الذكاء الاصطناعي وتشغّلها من سطر الأوامر. وهي للفرق التي تريد قياس جودة النماذج ومقارنة النتائج.
متى تستخدمها
- ✓عندما يريد أحد تشغيل مجموعة تقييم على نموذج أو تركيبة توجيه.
- ✓عندما يريد أحد مقارنة أداء النماذج في بطاقة أداء.
- ✓عندما يريد أحد معرفة الحالات التقييمية التي فشلت.
رابط المهارة
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-eval/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل مجموعة التقييم الخاصة بي على هذا النموذج، وأرِني الحالات التي فشلت.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تسرد المهارة أوامر لإنشاء مجموعة أو اختيارها، وتشغيلها على نموذج أو تركيبة بتزامن محدد، ومراقبة التقدم، وقراءة النتائج وبطاقات الأداء.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
هل أستطيع رؤية الإخفاقات فقط؟
نعم. لأمر results خيار failed يعرض الحالات الفاشلة فقط.
هل أستطيع إيقاف تقييم قيد التشغيل؟
نعم. يوقف أمر cancel التشغيل، ويطلب تأكيدًا ما لم تمرر خيار yes.
هل يعمل في CI؟
تقول المهارة إن تشغيلات التقييم يمكن دمجها مع مسارات عمل CI.
التفاصيل
الوصف الأصلي من المؤلف
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
الشعبية
- نجوم GitHub
- 84k
- الترتيب
- #1403
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
cli-a2a
84kيشغّل سطر أوامر OmniRoute لمهام وكيل إلى وكيل، فيتيح لك إرسال العمل ومتابعة سجل المهام واختبار المهارات.
cli-backup-sync
84kيشغّل نسخ OmniRoute الاحتياطية من سطر الأوامر، بما فيها اللقطات والمزامنة السحابية والجداول الزمنية والاستعادة من الأرشيفات.
cli-batches
84kيرسل مهام ذكاء اصطناعي دفعية من سطر الأوامر، ويتابع تقدمها ويحفظ نتائجها أو أخطاءها، بما فيها خطوط CI.
cli-chat
84kيرسل طلبات محادثة إلى نماذج الذكاء الاصطناعي من سطر الأوامر، مع ردود متدفقة وتعليمات نظام وجلسة تفاعلية.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.