شعار Eval Rubric

Eval Rubric

مؤسسة
Calibre-Labs
eval-rubric

Write or update the eval rubric for an AI agent or AI feature: the pass/fail criteria that define good behavior, in four groups (outcome, trajectory, governance, experience), plus the release thresholds that belong in the PRD. Use this skill whenever someone asks to "write an eval rubric", "define what good looks like", "add evals to my PRD", "what should we evaluate", "turn this PRD into a rubric", "update the rubric from these traces", or shares a PRD, agent spec, system prompt or trace codes and wants evaluation criteria. Also use to audit an existing rubric. Output is an HTML page and a markdown file saved next to the PRD.

Add to TypingMind

نظرة عامة

الناشرCalibre-Labs
المستودعreforge-ai-evals
اسم المهارةeval-rubric
النجوم
94
التفريعات
9
الملفات المرفقة
4
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/eval-rubric
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Calibre-Labs/reforge-ai-evals.git /tmp/reforge-ai-evals
mkdir -p .claude/skills
cp -r /tmp/reforge-ai-evals/skills/eval-rubric .claude/skills/eval-rubric
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Eval rubric skill

An eval rubric is the written definition of good behavior for one AI product. It is a section of the PRD. Every line is a pass/fail check on a single trace. Numbers that hold across many traces (cost, latency, failure rate) are release thresholds and live in their own PRD section.

This skill writes v1 before any traces exist, and v2 after traces have been read. It also audits a rubric someone else wrote.

Read references/worked-examples.md before writing a rubric for the first time in a session. It shows two products taken from v1 to v2.

Pick the mode

The user hasMode
A PRD, spec, system prompt or a product description, and no traces yetv1
A v1 rubric plus trace codes or annotated tracesv2
A rubric and wants feedback on itAudit

If it is unclear, ask one question: "Have you read traces from this agent yet?"

The four kinds of lines

GroupQuestion it answersComes fromTypical owner
Outcome (O)What did it produce, and is it right?Definition of successPM, subject expert, engineering
Trajectory (T)How did it get there?Autonomy table, known risksEngineering
Governance (G)What must it never do, and always do?Tool surface, policy, non-goalsLegal, finance, security
Experience (X)How did it feel to the user in this channel?User and channelDesign

Rules for every line:

  • One behavior per line. If a line has "and" joining two behaviors, split it.
  • Pass or fail on one trace. A reviewer reading a single session can decide.
  • Observable. The evidence is in the trace: an output, a tool call, an argument, a message.
  • About the product, not one demo task. A line written for a coffee order should also hold for the pharmacy pickup. If it mentions the demo's subject, rewrite it.
  • Specific to this product. Generic lines such as "is helpful" or "is safe" are not rubric lines.
  • Governance lines start with "Never" or "Always".
  • Give each line an ID: O1, O2, T1, G1, X1. IDs are stable across versions.

Mode: v1, before traces

Step 1. Find the inputs

Look for a PRD or spec in the working folder first. Read it fully. The rubric derives from four parts of it, described in references/prd-sections.md:

  1. Definition of success
  2. Tool surface, with whether each action is reversible
  3. Autonomy: for each action, does the agent act, confirm first, or escalate
  4. Non-goals and any policy the agent must follow (spend, data, approvals)

Also note the user and channel, because that sets the experience line.

Step 2. Fill the gaps by interview

If any of the four parts is missing, ask for it. Ask at most five questions, in one batch, and only for what you could not find:

  • What does the agent do when it works, in one sentence?
  • Who uses it, through what channel, and what is success measured in (seconds, accuracy, auditability)?
  • What can the agent do? List every tool or action, and say which ones cannot be undone.
  • For the actions that cannot be undone, should it act, confirm first, or hand off to a person?
  • What must it never do? Think spend, data, writes, and requests out of scope.

If the user has policy documents, tool definitions or a system prompt, read them instead of asking. Do not invent tools or policies. If something is unknown, write it under Open questions.

If the PRD has no tool surface or autonomy table, draft both as tables and confirm them with the user before writing the rubric. They are the source of most governance and trajectory lines.

Step 3. Write v1

Write ten to fifteen lines in total, in this order:

  1. Outcome: one or two lines from the definition of success. Task done as requested. Correct against ground truth where one exists.
  2. Governance: as many as the PRD supports. One line for each irreversible action, each policy limit, each data boundary and each non-goal that a user could plausibly ask for. This group is nearly complete on day one.
  3. Trajectory: two lines at most. Only the process rules already known to matter, such as confirming before an irreversible action or stating assumptions.
  4. Experience: one line on tone or brevity for this channel.

Do not try to finish trajectory or experience. The odd paths and the friction are not knowable until traces exist. Say so in the output.

For each line add two short fields:

  • From: the PRD section it derives from.
  • Check: Code if a rule on the trace can decide it, LLM judge if it needs judgment, Human if neither is practical yet. Prefer Code.

Step 4. Write the release thresholds

Separately from the rubric, propose three to five thresholds for the PRD: cost per task, latency, and the failure rate the team will accept at launch. Add a threshold tied to a governance line if a single failure there is unacceptable (for example, zero unapproved writes). Mark every number as a target until there is data. Never put a threshold inside the rubric.

Step 5. Check the draft

Before showing it, test every line:

  • Could two reviewers reading the same trace disagree on pass or fail? Tighten the wording.
  • Does it contain a number that only makes sense across many traces? Move it to thresholds.
  • Is it traceable to the PRD? If not, either the PRD or the line is wrong. Flag it.
  • Would a vendor's default score cover it? If yes, it is probably too generic. Make it specific or cut it.

Then list what v1 cannot know yet: the trajectory and experience lines that only traces reveal.

Mode: v2, after traces

Inputs: the v1 rubric and either trace codes (from the trace-codes skill) or annotated traces.

For each trace code or finding, decide which case it is:

CaseWhat to do
An existing line caught itKeep the line. Note the finding as evidence.
An existing line caused it (too blunt, too broad)Sharpen the line. Keep its ID. Record the old wording.
Nothing covers itAdd a line in the right group with the next free ID.
The behavior is fine and the line is wrongRare. Remove the line only with the user's agreement.

Rules for v2:

  • Mark each changed line New or Sharpened, with the finding that motivated it.
  • A v2 mostly adds and sharpens. If the draft removes more than one line, stop and check.
  • New lines must still be about the product, not the trace that produced them.
  • Recalibrate the release thresholds against real cost and latency if the traces include them. Propose a new threshold only when a finding justifies one.
  • Open with a short paragraph: how many lines were added and sharpened, and what the traces showed that v1 missed.

Mode: audit

Check an existing rubric against the rules above and report, per line: keep, rewrite (with the rewrite), split, move to release thresholds, or cut. Then list what is missing by group. A rubric with no governance lines for an agent that can write, spend or send is incomplete.

Output

Save two files next to the PRD (or in the working folder if there is no PRD):

  • <product>-rubric-v<N>.md: the rubric as a table per group, then the release thresholds, then open questions.
  • <product>-rubric-v<N>.html: the same content as a page, built from references/rubric-template.html. Fill the placeholders and keep the structure.

In the reply, give the count of lines per group, the two or three lines most worth debating with stakeholders, and what to do next:

  • After v1: generate traces and read them, then run trace-codes.
  • After v2: turn lines into scorers with eval-code (lines marked Code) and eval-llm-judge (lines marked LLM judge).

Working notes

  • The rubric is the PM's document. Draft it, then ask the user to decide the lines that involve a tradeoff. Do not present a rubric as final.
  • Keep v1 short. A long v1 is usually trajectory and experience lines that were guessed.
  • Who the product is for changes the rubric more than what it does. A consumer agent usually guesses and discloses. An enterprise agent usually asks and shows its work. See the two worked examples.
  • If the agent has no irreversible actions, say that governance will be short and consists of policy lines only.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Eval Rubric؟

Write or update the eval rubric for an AI agent or AI feature: the pass/fail criteria that define good behavior, in four groups (outcome, trajectory, governance, experience), plus the release thresholds that belong in the PRD. Use this skill whenever someone asks to "write an eval rubric", "define what good looks like", "add evals to my PRD", "what should we evaluate", "turn this PRD into a rubric", "update the rubric from these traces", or shares a PRD, agent spec, system prompt or trace codes and wants evaluation criteria. Also use to audit an existing rubric. Output is an HTML page and a...

لماذا تستخدم Eval Rubric على TypingMind؟

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

كيف أثبّت Eval Rubric في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/eval-rubric. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Eval Rubric؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Eval Rubric؟

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

هل مهارة الذكاء الاصطناعي Eval Rubric مجانية؟

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

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

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

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

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

عرض الكل

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

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