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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Calibre-Labs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Eval Rubric AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/eval-rubric
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
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 中使用此技能

在任意 TypingMind 聊天中启用 Eval Rubric,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Eval Rubric。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Eval Rubric 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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 AI 技能有什么作用?

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...

为什么在 TypingMind 中使用 Eval Rubric?

因为您只需安装一次,就能搭配任何模型使用。Eval Rubric 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Eval Rubric?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Calibre-Labs/reforge-ai-evals/tree/main/skills/eval-rubric。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Eval Rubric?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Eval Rubric 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Eval Rubric 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Eval Rubric AI 技能免费吗?

是的。Calibre-Labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇