MCP HubMCP Hub
SKILL·A2B33E

skill-evaluator

HeshamFS
업데이트됨 15 days ago
11 조회
55
4
55
GitHub에서 보기
메타wordaitestingdesign

정보

스킬 평가기는 개발자가 다양한 코딩 에이전트 CLI에서 에이전트 스킬을 엄격하게 테스트하고 벤치마킹할 수 있는 도구입니다. 이 도구는 스크립트 출력의 결정론적 검증을 수행하고, 스킬 트리거 정확도를 테스트하며, 스킬 미적용 기준선 대비 성능 향상을 측정합니다. 스킬 품질 검증, 버전 비교 또는 평가 스위트 구축에 활용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add HeshamFS/materials-simulation-skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/HeshamFS/materials-simulation-skills
Git 클론대체
git clone https://github.com/HeshamFS/materials-simulation-skills.git ~/.claude/skills/skill-evaluator

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Skill Evaluator

Test whether a skill is correct, discoverable, and valuable — not just whether its unit tests pass. The harness is agent-agnostic: it drives whichever coding-agent CLI the user uses, because Agent Skills are portable across all of them.

When to use which layer

Three layers, increasing cost and fidelity (full rationale in references/methodology.md):

LayerQuestionScriptNeeds a CLI?
1. DeterministicDo the scripts emit the documented numbers?run_script_checks.pyNo
2. TriggerDoes the description activate on the right prompts?run_trigger_eval.pyYes
3. QualityDoes following the SKILL.md beat no skill?run_quality_eval.py → grade → aggregate_benchmark.pyYes

Always run Layer 1 (it's free). Add Layers 2–3 when you can run a coding-agent CLI.

Step 0 — pick the agent CLI

Ask the user which coding agent they use, then map it to an adapter id. Supported: claude-code, openai-codex, antigravity (the agy CLI that replaced Gemini CLI on 2026-06-18), cursor-cli, github-copilot-cli, amp, opencode, grok-cli. See the full matrix and auth in references/adapters.md, or run:

python scripts/agent_adapters.py list

Confirm the binary is installed and the auth env var is set (the matrix lists it). Before any real run, dry-run it to see the exact command:

python scripts/agent_adapters.py build <agent> --prompt "test" --workdir /tmp/wd

Step 1 — deterministic script checks (always)

python scripts/run_script_checks.py --skill <path-to-skill> --json

Runs the script_checks in the skill's evals/evals.json, executing each script and grading its --json output against machine-checkable assertions. Exit non-zero on any failure — safe for CI. If the skill has few/no script_checks, add them for every eval whose answer is computable (schema in references/schemas.md); this is the cheapest, most durable guard against doc↔code drift.

Step 2 — trigger / discovery eval

Does the description fire on the right prompts and stay quiet on near-misses?

# Dry-run first (prints the per-CLI commands, runs nothing):
python scripts/run_trigger_eval.py --skill <path> --agent <agent> --dry-run

# Real run with a labelled query set (~20: half should-trigger, half near-miss):
python scripts/run_trigger_eval.py --skill <path> --agent <agent> \
  --queries queries.json --runs-per-query 3 --json

Design the query set per references/methodology.md (positives + tricky negatives). Without --queries, the skill's eval prompts are used as should-trigger cases — add negatives for a real discrimination test.

Step 3 — output-quality eval (the with/without delta)

The headline measure: does an agent following the SKILL.md beat no skill?

# 1. Dry-run the plan (no tokens spent):
python scripts/run_quality_eval.py --skill <path> --agent <agent> \
  --workspace <skill>-workspace --dry-run

# 2. Real run: with-skill AND no-skill baseline, isolated clean dirs each:
python scripts/run_quality_eval.py --skill <path> --agent <agent> \
  --workspace <skill>-workspace --iteration 1 --json

This installs the skill into a temp project skills dir for the with-skill run, runs a clean baseline without it, and captures outputs/, response.txt, and timing.json per run.

Then grade each run against its assertions and write grading.json (references/grader.md — re-derive numbers, require concrete evidence, no partial credit, critique weak assertions). For mechanically checkable assertions, reuse Layer 1 rather than eyeballing.

Then aggregate into the benchmark with the delta:

python scripts/aggregate_benchmark.py <skill>-workspace/iteration-1 \
  --skill-name <name> --agent <agent> --json

run_summary.delta.pass_rate is the value of the skill. Surface patterns the averages hide (references/methodology.md): non-discriminating assertions, high-variance evals, time/token tradeoffs. Put outputs in front of the user before concluding.

Step 4 — iterate

Improve the skill from the signals (failed assertions, weak-assertion feedback, transcripts, human review), generalizing rather than overfitting, keeping it lean, explaining the why, and bundling repeated work into scripts. Rerun into iteration-<N+1>/ and compare. Stop when results satisfy the user, feedback is empty, or gains plateau. For "is the new version actually better?", use the blind comparison described in references/methodology.md.

Outputs to report

  • Layer 1: checks passed / assertions passed; any doc↔code drift found.
  • Layer 2: trigger pass rate (positives that fired, negatives that stayed quiet).
  • Layer 3: with-skill vs. without-skill pass rate delta, plus time/token cost.

Reference files

  • references/adapters.md — per-CLI headless command, skills dir, auth, caveats.
  • references/methodology.md — the rigorous practices (read for non-trivial evals).
  • references/grader.md — how to grade a run into grading.json.
  • references/schemas.md — exact JSON shapes for every file.

Security

Input Validation

  • --agent is resolved against a fixed allowlist of known adapter ids/aliases (agent_adapters.py); unknown values are rejected (exit 2).
  • --skill must be a directory containing SKILL.md or the runners exit 2.
  • script_checks operators and dotted paths are matched against fixed sets; no user string is ever eval()'d or passed to a shell.

File Access

  • The deterministic layer runs a skill's own scripts with the real interpreter and reads only that skill's evals/evals.json.
  • The quality/trigger layers create isolated working directories under a user-supplied workspace, copy the skill into them, and write results there.

Tool Restrictions

  • Bash: runs the harness Python scripts and the selected coding-agent CLI.
  • Read/Grep/Glob: inspect skills and results. Write: scaffold workspaces.

Safety Measures

  • No eval()/exec(); subprocess calls use explicit argument lists (never shell=True); commands are built from the adapter spec, not string-concatenated.
  • The trigger/quality layers pass each CLI's auto-approve flag (e.g. --dangerously-skip-permissions), which runs the agent with reduced safeguards. Only evaluate skills you trust, ideally inside a sandbox/container. Always --dry-run first to inspect the exact command. Auth is read from environment variables, never passed as command arguments.

Limitations

  • Layers 2–3 require a supported CLI installed and authenticated; otherwise use Layer 1 only.
  • Trigger detection is a cross-tool heuristic (did the transcript consult the skill?); for the most precise detection on Claude Code, parse its stream-json tool-use events.
  • Token accounting is best-effort — only some CLIs report usage in headless output.
  • New CLIs (Antigravity, Grok) are medium confidence; verify flags with the vendor --help and --dry-run.

GitHub 저장소

HeshamFS/materials-simulation-skills
경로: skills/meta/skill-evaluator
0
agent-skillsagentscli-toolscomputational-sciencellmmaterials-science
FAQ

Frequently asked questions

What is the skill-evaluator skill?

skill-evaluator is a Claude Skill by HeshamFS. Skills package instructions and resources that Claude loads on demand, so Claude can perform skill-evaluator-related tasks without extra prompting.

How do I install skill-evaluator?

Use the install commands on this page: add skill-evaluator to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does skill-evaluator belong to?

skill-evaluator is in the Meta category, tagged word, ai, testing and design.

Is skill-evaluator free to use?

Yes. skill-evaluator is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

연관 스킬

content-collections
메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기
polymarket
메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기
creating-opencode-plugins
메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기
sglang
메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기