agentleFS
TheophilusChinomonaTheophilusChinomona/idev/skills/skill-benchmark/SKILL.md

skill-benchmark

Skill0 starsChanged 5 months agoMITView on GitHub

Evaluates and benchmarks Agent Skill quality via static analysis and evaluation methodology. Use when assessing or reviewing skill quality, benchmarking skills, measuring skill activation accuracy, optimizing skill descriptions, or running /idev:benchmark-skills.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the checker against any plugin:

    line 14
  2. Distinctive:

    A/B test: run agent A with the skill loaded and agent B without.

    line 57
  3. Distinctive:

    If only Haiku fails, the instructions rely on implicit reasoning — make them more explicit.

    line 60
  4. Distinctive:

    Test → measure → analyze → refine → verify.

    line 73
  5. Distinctive:

    Run the script (or the evals) BEFORE making any quality claim.

    line 79
  6. Distinctive:

    Never invent percentages, pass rates, or activation numbers — if unmeasured, say "not yet measured".

    line 81
  7. Distinctive:

    No superlatives ("excellent", "comprehensive", "optimal") in assessments.

    line 83
  8. Distinctive:

    Verify files exist (Read/Glob) before claiming they do.

    line 85

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Benchmark — Evaluate Agent Skill Quality

Evaluate skills through static analysis (automated, run the script) and evaluation-driven methodology (manual, follow the process below). Adapted from Anthropic's skill evaluation guidance.

Static analysis (automated)

Run the checker against any plugin:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/skill-benchmark/benchmark_skills.py"            # this plugin
python3 "${CLAUDE_PLUGIN_ROOT}/skills/skill-benchmark/benchmark_skills.py" --plugin-dir <dir>

It scores every skills/*/SKILL.md against these checks:

CheckPass criteria
desc-presentDescription non-empty, ≤ 1024 chars
desc-triggersContains "Use when/before/after/for" activation triggers
desc-3rd-personNo "I can" / "You can" phrasing
name-kebabMatches ^[a-z0-9]+(-[a-z0-9]+)*$
name-length≤ 64 chars
name-reservedNo "anthropic"/"claude" in the name
name-matches-dirFrontmatter name equals directory name
body-lengthSKILL.md ≤ 500 lines
has-examplesContains at least one fenced code block
refs-resolveEvery ${CLAUDE_PLUGIN_ROOT}/... path in the file exists

--strict --min-score N makes it exit non-zero below a threshold (CI use).

Skill categories

Classify each skill before evaluating — the test differs:

  • Capability uplift: enhances core abilities (analysis, verification, code patterns). Stable across model versions. Test by comparing base-model output with and without the skill.
  • Encoded preference: encodes project/team workflows and conventions (commit formats, cache layouts). Test by verifying fidelity to the encoded workflow, not output quality.

Evaluation methodology (manual)

For activation accuracy and effectiveness, static checks aren't enough:

  1. Write evals per skill: 5-10 representative prompts that SHOULD trigger it, 3-5 out-of-scope prompts that should NOT, and expected-behavior criteria for each. Use evaluation-checklist.md in this skill's directory as the template.
  2. A/B test: run agent A with the skill loaded and agent B without; have a third agent judge outputs blind. Track pass rate, token usage, time.
  3. Multi-model targets: Haiku 70%+, Sonnet 85%+, Opus 95%+ pass rate. If only Haiku fails, the instructions rely on implicit reasoning — make them more explicit.

Description optimization

The description alone determines activation. Tune for ~90%+ true positives and <5% false positives:

  • Too many false positives → description too broad: add domain-specific terms.
  • Too many false negatives → too narrow: add synonyms and adjacent phrasings.

Iteration

Test → measure → analyze → refine → verify. Stop when eval pass rates meet the model-tier targets, activation is accurate, and token cost is justified by the benefit.

Reporting rules (anti-fabrication)

  • Run the script (or the evals) BEFORE making any quality claim; report only what was measured.
  • Never invent percentages, pass rates, or activation numbers — if unmeasured, say "not yet measured".
  • No superlatives ("excellent", "comprehensive", "optimal") in assessments; state which checks passed and failed.
  • Verify files exist (Read/Glob) before claiming they do.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.