Skill Eval 标志

Skill Eval

社区
boshu2
skill-eval

Measure whether a skill helps by comparing runs with and without it. Use when: reading skill A/B results or deciding to keep, revise or remove one.

Add to TypingMind

概览

发布者boshu2
代码仓库agentops
技能名称skill-eval
星标数
450
复刻数
42
附带文件
4
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 4 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/boshu2/agentops.git /tmp/agentops
mkdir -p .claude/skills
cp -r /tmp/agentops/plugin/skills/skill-eval .claude/skills/skill-eval
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Skill Eval

Answer one named maintenance decision: retain, revise, remove, or insufficient evidence. Choose the measurement that can answer that decision, use the caller's accepted cases and resource envelope, make one scoped recommendation, and stop. A completed evaluation does not require a positive difference.

This is an optional specialist. The selected runner owns execution and bounds; native results own measurements; BD and Git retain their authority. Do not add a core skill, AO evaluation command, scheduler, dashboard, second tracker, or mandatory review merely to run an experiment.

Rules that decide the answer

  • Count every attempt. Keep failed, crashed, interrupted, blocked, abandoned, missing and infrastructure-invalid attempts in the all-attempt accounting. A rerun adds an attempt; it never overwrites the one that failed. A run that shared its host with other work still counts for completion and tokens; keep its duration, labeled as measured on a shared host, rather than dropping it. Its timeout is not by itself a skill failure; when timeouts fall unevenly between arms, report them as a possible skill effect, not infrastructure.
  • Vary one thing. Equalize instructions, tools, environment, model and effort across arms apart from the intended variable. If one arm's task prompt repeats the skill's direction, attribute the result to the combined instructions, not the skill alone. When you control launch order, alternate arms run by run, swap which goes first in each pair and rerun a dead run in its own slot; one whole arm and then the other turns load, rate limits and time of day into an apparent skill effect.
  • Confirm the skill loaded. Before reading a zero or small delta as no benefit, check each treatment run for the skill actually being loaded or injected. A run where it never loaded measures routing, not content. When the act depends on a rule kept in a reference, also check that the run opened that file; a run that did not still counts; read its miss as the body's pointer to the reference failing, not the reference's rule, and report how many treatment runs opened the file. The behavioral probe injects only SKILL.md or a prelude, so it cannot answer this.
  • Calibrate the grader. Before trusting scores, confirm the judge or discriminator passes a response that plainly meets each criterion and fails one that plainly does not. A weak judge can fail correct responses wholesale.
  • Small samples are directional. Report uncertainty with every difference. A difference without it shows neither benefit nor equivalence, and a zero-crossing interval is not equivalence. For two unpaired success rates, give each arm a Wilson interval, the difference with its own interval and Fisher's exact test, not a normal approximation, which breaks at 0/n, n/n and a handful of runs. Beside an inconclusive result, state the runs per arm needed to detect the smallest effect that would change the decision, and return insufficient evidence; running them is a new measurement with its own fixed stop and the caller's authorization, never an extension of this one.
  • Fix the stop before running. Do not add trials until the result turns positive, remove losing observations or relax acceptance.
  • Know the noise before cutting. Before trimming or retuning skill text for a new model, measure how much identical arms differ on the same cases. A cut must clear a bar fixed before the run, above that spread. A static read of the text is not a behavioral result. Saving a result means keeping the completed run; rerunning to save it adds another sample and more spend.

Choose the question

Caller decisionMeasurementWhat it can establish
Does a natural request load this skill?An authorized available routing probe that observes loading; optionally claude plugin eval with a with-only tool_used: Skill grader when Claude is explicitly authorizedNatural-request loading on the observed host/catalog; not whether loading helps
Does supplied skill text change a specific observable act?Behavioral probe with the available authorized Codex adapter in scripts/probe-skill.shBehavior change under forced source injection; not routing, correct code or productivity
Does the installed plugin change graded answers end to end?claude plugin eval against its no-plugin baseline, only when explicitly authorized and availableRouting and content together on the selected cases
Does this package or version improve engineering outcomes at acceptable cost?Repository-selected controlled coding comparison, such as evals/skills-rpiEndpoint outcomes and cost on selected tasks; independent completion only when required exact-subject evidence exists
Does a qualified memory update help later work?Separate frozen-versus-updated memory transfer testNarrow later-task reuse evidence with skill and runtime held fixed
What happened in ordinary runs?Existing native accounting and acceptance evidenceObservational failures, repairs and cost; not causal skill benefit

Start from the caller's intended decision, not a mandatory quiz. For a behavioral question, name one observable action (a file written, tool used, criterion rejected); a belief such as “understands validation” needs translation into an action. For coding or memory questions, name unchanged task acceptance and the maintenance choice.

Prefer cases drawn from real use when authorized session history exists: a caller correcting, redoing or overriding the result right after the skill ran is the clearest sign of a miss. Label each case as drawn from use or written from the skill's own text; cases written from the text test what the author expected, not what users hit. With no usable history, say so rather than presenting text-derived cases as representative.

A skill whose result depends on the caller's answers, such as an interview, is not measured by its first turn; never run it where its questions reach a real person. Measure the dialogue as in dialogue skills.

Runners

Select the intersection of the caller's runtime authority, an available adapter and the named question. A runner's presence grants no runtime permission. If no route meets all three, return insufficient evidence with the missing route; do not automatically substitute another runtime or build a replacement runner. Forced SKILL.md injection, natural-request routing and installed-package coding comparisons answer different questions.

When Claude Code is explicitly authorized and its evaluator is available, claude plugin eval <plugin-path> --model <id> is an optional route. It runs the cases in the plugin's eval directory (evals/ by default) with the plugin and, by default (--ablation with-without), without it, scores each response with the case graders (LLM graders use --judge-model, default haiku) and reports the score delta. --runs sets repetitions per case, --max-cost-usd caps spend and --json writes per-run results. The model decides whether to load each skill, so the delta mixes routing with content. By default it also publishes its HTML report (prompts, responses and verdicts) to claude.ai and writes results under the plugin's eval directory: pass --no-publish, and point --output-dir, --json and --report at caller-selected storage. Confirm flags with claude plugin eval --help.

scripts/probe-skill.sh is the repository runner for small behavioral probes. Its live route uses scripts/lib/codex-exec.sh; select it only when Codex and the runner's required isolation support are available and authorized. It injects the exact SKILL.md bytes (or a declared prelude) into the treatment arm, grades with a deterministic discriminator and replays immutable fixtures. Loading is forced, so it measures the text's effect on one act, not routing or a complete installed package. Neither runner's result substitutes for the other. Probe forms, headroom classifications and legacy ledger rules are in behavioral probes.

scripts/probe-skill.sh, evals/ and the probe gates exist only in an AgentOps source checkout. Elsewhere, use the caller's authorized existing runner if it supports the question and record its identity and limits. With no such runner, report the measurement unsupported; do not install a platform or start another runtime to replace the missing route.

Procedure

  1. Fix the decision and bounds. Name the subject package/version or qualified memory update, relevant cases, allowed runtime and existing aggregate time, trial and cost limits. Do not infer billing enforcement from token counters. Smoke runs, infrastructure retries, interrupted attempts and inner review consume the same declared envelope; a new configuration or context does not renew it. Do not launch live work without caller authorization and bounds.
  2. Choose the smallest relevant measurement. Use behavioral probes for acts, coding tasks for engineering outcomes, and separate later sessions for memory. There is no universal two-effort requirement. Keep the deployed model and effort unless the caller's decision concerns effort. Retain easy regression and cost controls; do not weaken the producer to manufacture separation.
  3. Freeze and calibrate. Fix task, acceptance, package, model/runtime, environment and grader identities before trials. Executable oracles must accept the intended solution and reject plausible incorrect/no-op solutions. Include genuinely correct and incomplete cases when evaluating judgment. Exposed incidents are development cases, never unseen holdouts by renaming. Broken or leaked cases invalidate affected comparisons; preserve their historical disposition when versioning a correction. If the existing capture/readout pipeline is new or changed, check parsing and scoring with a cheap known-input dry run. Consider an A/A control only when noise could change the decision, within the same authorized envelope; neither requires a fixed trial count or a new artifact. An A/A gap beyond chance is a harness, labeling or scoring defect to fix before any comparison, not noise.
  4. Run within the selected consumer's bounds. Coding trials expose the actual selected package and required resources. A worktree or a prompt prohibition is not runtime isolation. Exclude operator home, production tracker, session history, sibling output and solutions; capture launched configuration and final artifacts outside the worker. Report an incompatible adapter as such; do not build a replacement platform to rescue a result.
  5. Read all attempts. Use native runner results and existing accounting; collection must not require another model call or handwritten evaluation. Wrong identity, changed acceptance, contamination or ambiguous pairing cannot establish comparison proof even when a deterministic check passed.
  6. Compare only supported facts. Pair by task and repetition; preserve repetitions within task clusters. Endpoint reward, worker done claim, in-workflow validator PASS and independent acceptance are different facts. Missing review, usage, billing, phase or feasibility evidence stays unknown. A worker following an instruction establishes adherence, not reduced rework or causal benefit. A passing case far from a failed boundary does not prove the boundary is repaired. Coding and memory comparisons follow coding and memory readout.
  7. Recommend once and stop. First read a few treatment transcripts, not only graded outputs: turns spent on steps that do not move the task, and a helper several runs wrote for themselves, are revise targets a passing score hides. A repeated helper is a candidate bundled script under Skill Builder's occurrence rule. A concrete reproduced defect with clean controls can support a provisional narrow repair; general improvement needs held-out comparison. Do not automatically publish a lesson.

Raw trials and new proof go to caller-selected protected external non-Git storage; only public, sanitized fixtures cleared for that destination belong in Git (ADR-0016).

Output

text
Decision: retain | revise | remove | insufficient evidence; scope <skill, version, cases>
Question: <maintenance decision and the measurement chosen>
Setup: <runner, model, effort, grader; what differs between arms>
Attempts: <per arm: assigned, completed, crashed or infra, interrupted, reruns>
Outcomes: <paired by case and repetition; whether the skill loaded in each treatment run>
Uncertainty: <interval and method, or "directional, n=<count>"; runs per arm needed if inconclusive>
Cost: <measured time and cost per arm, or unknown>
Not proven: <confounds, missing coverage, what this measurement cannot show>

For behavioral authoring, also supply the existing probe package (probe.json, question.md, discriminator.sh, fixtures/, and a prelude only in injected-prelude mode) and its replay result. No new per-run worksheet is required.

Done when the requested measurement has reached its accepted stop, the relevant replay/oracle checks discriminate, missing coverage is explicit, and one recommendation answers the named maintenance decision. Insufficient evidence, an adverse result or an incompatible runtime can complete this evaluation; none counts as demonstrated skill benefit.

References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Skill Eval AI 技能有什么作用?

Measure whether a skill helps by comparing runs with and without it. Use when: reading skill A/B results or deciding to keep, revise or remove one.

为什么在 TypingMind 中使用 Skill Eval?

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

如何在 TypingMind 中安装 Skill Eval?

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

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

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

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

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

Skill Eval AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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