Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

benchmark-skills基准技能

Agent Skill

benchmark-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

227

周安装

8

GitHub Stars

11

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:benchmark-skills(基准技能)
来源仓库:https://github.com/b-open-io/prompts
仓库路径:skills/benchmark-skills
安装命令:
npx skills add https://github.com/b-open-io/prompts --skill benchmark-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/b-open-io/prompts --skill benchmark-skills

简介

benchmark-skills 提供技能评测编写指南,测量技能是否带来可量化改进。

  • 适合两类高信号技能:行为抑制(阻止模型自然坏行为)和真正新颖知识注入。
  • 强调只有当人类专家需查资料时,模型才可能缺乏该知识,才是有效注入点。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Benchmark Skills

Write evals for skills and run the benchmark harness to measure whether a skill actually helps compared to baseline (no skill).

The Core Principle

Only two types of skills produce measurable benchmark delta:

  1. Behavioral suppression — The skill suppresses patterns the model naturally produces. The baseline consistently exhibits the bad behavior; the skill stops it. This is the highest-signal category.
  2. Genuinely novel knowledge — The skill injects domain knowledge NOT in the model's training data. If a knowledgeable human would need to look it up, the model probably doesn't know it either.

What does NOT produce delta (don't waste time benchmarking these):

  • Knowledge the model already has (common frameworks, well-known patterns)
  • General quality improvement without a specific behavioral target
  • Skills requiring real system access (filesystem, APIs, browsers)
  • Skills requiring multi-turn interaction

Pre-Flight Checklist

Before writing evals for a skill, verify ALL of these:

  • The skill changes default model behavior OR injects genuinely novel knowledge
  • The skill works in single-prompt-in/single-response-out mode (no interactivity)
  • The skill doesn't require real system access to demonstrate value
  • The skill is ours (not copied from another publisher)
  • You can design at least 2 trap prompts that reliably elicit baseline failure
  • Assertions are concrete and binary (not vague quality judgments)

If any box fails, the skill is not a good benchmark candidate.

Eval File Format

Every skill that wants benchmarking needs an evals/evals.json file:

skills/
  my-skill/
    SKILL.md
    evals/
      evals.json

evals.json Structure

{
  "skill_name": "my-skill",
  "evals": [
    {
      "id": 1,
      "prompt": "The exact prompt to send to the model",
      "expected_output": "Description of what a good response looks like",
      "files": [],
      "assertions": [
        {
          "id": "unique-assertion-id",
          "text": "Specific, verifiable claim about the output",
          "type": "qualitative"
        }
      ]
    }
  ]
}

Trap Input Design

Every eval prompt must be a trap — a prompt that reliably elicits the bad behavior the skill suppresses. If the baseline model passes your assertions without the skill, your test case is useless.

How to design traps

  1. Identify what the skill changes (what patterns it suppresses or what knowledge it injects)
  2. Write a prompt that naturally invites those patterns
  3. Verify the baseline model actually falls into the trap (run without the skill first)
  4. If the baseline passes, redesign the prompt or drop the test case

Examples of good traps

SkillTrap promptWhat baseline does wrong
humanize"Write 4 company values with descriptions"Produces tricolons, binary contrasts, punchline endings
humanize"Explain the pros and cons of X"Uses "not X — it's Y" pattern
geo-optimizer"Generate an AgentFacts schema following NANDA"Doesn't know NANDA protocol, hallucinates
geo-optimizer"Audit this site for AI search visibility"Doesn't know hedge density, 1MB threshold

Contrastive validation

A proper eval checks BOTH directions:

  1. Baseline DOES exhibit the bad pattern (trap works)
  2. Skill output does NOT exhibit the bad pattern (skill works)

If baseline passes an assertion, that assertion is not measuring delta.

Writing Assertions

Assertion types by reliability

TypeReliabilityCostBest for
not-contains / regexHighestFreeBanned phrases, specific patterns
Binary LLM judgeHigh1 API callPresence/absence of behavior
G-Eval rubric (CoT)Medium1 API callMulti-dimensional quality

Default to negative assertions for suppression skills. "Output does NOT contain tricolons" is more reliable than "output sounds natural."

Good vs bad assertions

Bad assertions (will show 0% delta):

  • "The response is helpful" — too vague, baseline passes
  • "The response is correct" — not specific to skill
  • "The response describes three phases" — model already knows this

Good assertions (will show real delta):

  • "The output does NOT use binary contrast patterns such as 'not X — it's Y'" — specific, testable, baseline fails
  • "The response includes the @context field pointing to nanda.dev namespace" — genuinely novel knowledge
  • "Processes are categorized into safety levels rather than a flat list" — specific format the skill teaches

Rules

  1. Be specific: test for exact patterns, not vibes
  2. Be binary: the judge must answer yes/no unambiguously
  3. Target what the skill uniquely provides: if the baseline would pass anyway, the assertion is worthless
  4. 3-5 assertions per eval: enough to measure, not so many that noise accumulates
  5. Mix negative and positive: "does NOT contain X" AND "DOES contain Y"

Assertion Discovery (VibeCheck Method)

If you're unsure what assertions to write for a new skill:

  1. Generate 10-20 paired outputs (with skill vs. without) on diverse prompts
  2. Have a model compare the two sets and propose behavioral differences
  3. Check which differences appear consistently
  4. Those consistent patterns become your formal assertions

This prevents guessing at assertions that don't actually differentiate.

Running the Benchmark

bun run benchmark                                    # All skills with evals
bun run benchmark --skill geo-optimizer              # Single skill
bun run benchmark --model claude-sonnet-4-6          # Override model (default: haiku)
bun run benchmark --concurrency 4                    # Parallel workers

From within Claude Code, prefix with CLAUDECODE= to avoid nested session errors.

The harness runs each eval prompt twice: once with the skill injected via --append-system-prompt, once without. Both outputs are graded by LLM-as-judge.

Reading Results

Results go to benchmarks/latest.json and per-skill evals/benchmark.json:

Key Metrics

  • pass_rate: Assertion pass rate with skill active
  • baseline_pass_rate: Assertion pass rate without skill
  • Delta (pass_rate - baseline_pass_rate): The signal
DeltaMeaningAction
> +20%Strong skillPublish
+1% to +20%Weak signalImprove evals or skill
0%No effectSkill is redundant OR evals test wrong thing
NegativeSkill hurtsSkill confuses model or evals are bad

Publishing Policy

  • Only publish skills with positive delta
  • Zero or negative = don't publish, refine skill or evals
  • latest.json merges per-skill results when using --skill flag

Judge Quality

The LLM-as-judge has known failure modes. When results seem wrong:

SymptomLikely causeFix
Everything passesAssertions too vagueMake assertions more specific and binary
Inconsistent across runsJudge non-deterministicNeed temperature=0, CoT before verdict
Skill and baseline score the sameTesting knowledge model already hasRedesign as behavioral suppression test
Skill scores lower than baselineSkill constraining model too muchCheck if skill instructions conflict with prompt

Lessons Learned

These patterns have been confirmed through multiple benchmark runs:

  • Behavioral suppression skills are easiest to benchmark (humanize: +53%)
  • Novel knowledge injection works if truly novel (geo-optimizer: +50%, NANDA protocol)
  • Common knowledge injection shows 0% delta (charting, prd-creator, hunter-skeptic-referee)
  • Skills needing system access can't be benchmarked this way (process-cleanup: -5%)
  • Long, expensive prompts waste money without improving signal (saas-launch-audit)
  • 2-3 well-designed evals beat 10 mediocre ones

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.2%
按下载量换算24

Claude

29.77%
按下载量换算19

Cursor

21.48%
按下载量换算14

Gemini CLI

9.07%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills