شعار Create Custom Grader

Create Custom Grader

مؤسسة
NVIDIA
create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

نظرة عامة

الناشرNVIDIA
المستودعSkillEvaluator
اسم المهارةcreate-custom-grader
النجوم
560
التفريعات
65
الملفات المرفقة
1
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها NVIDIA على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Create Custom Grader في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/NVIDIA/SkillEvaluator/tree/main/src/skillevaluator/tier3/reference_skills/create-custom-grader
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA/SkillEvaluator.git /tmp/SkillEvaluator
mkdir -p .claude/skills
cp -r /tmp/SkillEvaluator/src/skillevaluator/tier3/reference_skills/create-custom-grader .claude/skills/create-custom-grader
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Create Custom Grader في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Create Custom Grader تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Create Custom Grader بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Create Custom Grader

Convert team-owned benchmark definitions into runnable SkillEvaluator custom graders and, when needed, native Harbor tasks.

Purpose

Help an agent author valid SkillEvaluator BYOG/BYOT files from a user's benchmark instead of leaving the user with empty grader templates.

When To Use

Use this skill when the user wants to:

  • bring an existing benchmark into SkillEvaluator
  • turn a rubric into evals/grader.py or evals/grader.sh
  • add custom metrics beside the default evaluator metrics
  • convert task files such as task.yaml, task.json, pytest checks, or shell verifiers into BYOG or BYOT
  • prove a team can run its own benchmark through SkillEvaluator

Do not use this skill for ordinary evals/evals.json authoring when no custom grading logic is needed. Use the normal dataset authoring workflow for that.

Instructions

  1. Read the target skill, existing evals/, benchmark prompts, fixtures, and any verifier code.
  2. Choose default_plus_custom when custom metrics should complement default evaluator scoring.
  3. Choose custom_only only when the user wants the custom grader to own pass/fail semantics.
  4. Write or update evals/grader.py or evals/grader.sh, then validate the Harbor contract.

Examples

bash
skillevaluator init-custom-grader <skill-dir> --language python --mode default_plus_custom
skillevaluator tier3 validate <skill-dir>

Prerequisites

  • The target skill directory should contain SKILL.md.
  • The SkillEvaluator CLI should be available as skillevaluator.
  • Full E2E evaluation may need agent credentials, sandbox access, GPU access, or service credentials depending on the benchmark.

Core Choice

Choose one path before writing files:

User needEvaluator shape
Existing evals.json task plus extra domain checksTop-level BYOG: evals/grader.py or evals/grader.sh
Existing benchmark prompt/rubric that can run in the generated workspaceTop-level BYOG plus evals/evals.json and evals/files/
Benchmark owns task layout, setup, service lifecycle, or verifier harnessNative BYOT/BYOG: evals/harbor/<case>/...
User wants only custom reward/pass criteriagrading.mode: custom_only
User wants default evaluator dimensions plus custom metricsgrading.mode: default_plus_custom

Default to default_plus_custom unless the user explicitly wants the custom grader to replace the default evaluator metrics.

Workflow

  1. Resolve the target skill and benchmark source. Read the target SKILL.md, existing evals/, benchmark prompts, fixtures, rubric, reference solution, tags, and any expected trigger/non-trigger metadata.

  2. Map benchmark fields into evaluator inputs. Use benchmark prompts or prompt variants as question entries. Use the target skill as expected_skill. Put each case's required starter files under evals/files/<case-id>/, and declare files: ["evals/files/<case-id>"] on every corresponding eval entry. Do not omit files in a multi-case dataset, because omission intentionally stages the entire shared directory for legacy compatibility. Preserve benchmark-specific rubric text in the entry only when the grader needs to read it.

  3. Scaffold the evaluator contract. For generated tasks:

    bash
    skillevaluator init-custom-grader <skill-dir> --language python --mode default_plus_custom

    For shell checks:

    bash
    skillevaluator init-custom-grader <skill-dir> --language shell --mode default_plus_custom

    For native Harbor tasks:

    bash
    skillevaluator init-harbor-task <skill-dir> --case-id <case-id> --with-config
  4. Replace scaffold placeholders. The custom grader is real executable logic, not metadata. It must read available evidence, compute numeric scores, and write the evaluator reward contract.

  5. Validate before running.

    bash
    skillevaluator validate <skill-dir> --harbor-contract

    Fix missing files, invalid Python, missing reward output, and native Harbor ID mismatches before evaluation.

  6. Run the deepest practical proof. Prefer a real with-skill/baseline run. If services, credentials, GPU, or cost block full E2E, state exactly what was validated and what was not.

Grader Contract

Python and shell graders run inside the Harbor verifier context. They may read:

  • /logs/agent/trajectory.json for agent actions and final answer evidence
  • /tests/entry.json for the eval case metadata
  • /workspace/input/ for the entry's declared committed fixtures from evals/files/
  • /solution/ or other task outputs only when the task environment produces them

They must write:

  • /logs/verifier/reward.json
  • /logs/verifier/reward.txt with a numeric score from 0.0 to 1.0

Use this reward shape:

json
{
  "overall": 0.92,
  "custom_metrics": {
    "domain_repair": 1.0,
    "domain_verification": 0.8
  },
  "details": {
    "domain_repair": {
      "score": 1.0,
      "reason": "The solution repaired the required files."
    }
  }
}

In default_plus_custom, default evaluator scoring keeps its overall authoritative and adds the grader's custom_metrics into reports. In custom_only, the grader's overall is the pass/fail reward.

Never emit custom metric names that collide with reserved evaluator fields: security, skill_execution, skill_efficiency, accuracy, goal_accuracy, behavior_check, overall, details, metrics, metric_set, or entry_id.

Translation Rules

  • Convert each rubric item into a deterministic check when possible.
  • If a rubric item requires judgment, encode observable proxies and explain the limits in details.
  • Keep metrics stable across baseline and with-skill runs.
  • Score only the generated task workspace. Do not accidentally score copied skill source files, reference fixtures, or grader templates.
  • Keep custom metric values clamped to 0.0 through 1.0.
  • Preserve benchmark prompt variants as separate eval entries only when they exercise meaningfully different behavior.
  • Convert expected trigger/non-trigger metadata into expected_skill, expected_behavior, negative cases, or custom metrics that inspect trajectory evidence.

RAPIDS-Style Example

For a benchmark task with task.yaml, code/, prompt variants, coverage, and a rubric:

  1. Copy code/ into evals/files/<case-id>/.
  2. Create one or more evals/evals.json entries from the prompt variants, and set files: ["evals/files/<case-id>"] on each corresponding entry.
  3. Set expected_skill to the benchmark's target skill.
  4. Implement evals/grader.py to inspect the agent trajectory and changed workspace files.
  5. Emit custom metrics for each rubric criterion, for example rapids_diagnosis, rapids_requirements_repair, rapids_repair_safety, and rapids_verification.
  6. Validate and run SkillEvaluator with and without the target skill, then report both default evaluator metrics and custom metric deltas.

Limitations

  • The skill can design and implement deterministic checks, but ambiguous rubric judgment still needs explicit observable proxies or a human-approved scoring policy.
  • init-custom-grader creates scaffolding only; the agent must replace the placeholder scoring logic.
  • Local validation proves file contracts, not live agent behavior. Do not call the benchmark proven until an evaluation run has produced real rewards.

Troubleshooting

ProblemFix
evals/evals.json missingCreate entries from the benchmark prompt or run init-custom-grader to seed one.
Custom metrics do not appearEnsure reward.json has numeric values under custom_metrics and no reserved-name collisions.
custom_only failsWrite numeric overall in reward.json or numeric reward.txt.
Grader scores copied fixturesRestrict file searches to generated workspace/output paths, not the skill package or grader source.

Final Response

When finished, report:

  • files created or changed
  • exact validation and evaluation commands
  • default evaluator metric results
  • custom metric results
  • whether the proof was full E2E or only static/local validation
  • any benchmark rubric criteria that remain partly judgment-based

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Create Custom Grader؟

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

لماذا تستخدم Create Custom Grader على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Create Custom Grader عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Create Custom Grader في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/NVIDIA/SkillEvaluator/tree/main/src/skillevaluator/tier3/reference_skills/create-custom-grader. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Create Custom Grader؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Create Custom Grader؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Create Custom Grader معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Create Custom Grader مجانية؟

نعم. نشرها NVIDIA على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇