skill-eval
Measure skill discoverability — run each skill's evals.json (positive + decoy prompts) through a real headless-claude activation probe and emit a pass/fail scorecard. Use to check routing/decoy behavior or catch mis-trigger regressions. Triggered by /skill-eval [skill ...]. Not for measuring output correctness or running skills for their side effects.
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- skill-eval
- tools
- [ "Bash", "Read" ]
- description
- Measure skill discoverability — run each skill's evals.json (positive + decoy prompts) through a real headless-claude activation probe and emit a pass/fail scorecard. Use to check routing/decoy behavior or catch mis-trigger regressions. Triggered by /skill-eval [skill ...]. Not for measuring output correctness or running skills for their side effects.
- argument-hint
- [skill ...]
- user-invocable
- true
- disable-model-invocation
- true
02 资源文件 18
- 其他.gitignore61 B
- 参考文档evidence/2026-06-22-pilot-scorecard.md1.6 KB
- 参考文档README.md2.7 KB
- 脚本scripts/extract_test.sh901 B
- 脚本scripts/extract.jq490 B
- 脚本scripts/fixtures/claude-run-activate.jsonl881 B
- 脚本scripts/fixtures/claude-run-silent.jsonl514 B
- 脚本scripts/fixtures/fake-claude.sh1.4 KB
- 脚本scripts/fixtures/normalized-sample.json528 B
- 脚本scripts/fixtures/scores-sample.json1.1 KB
- 脚本scripts/probe_test.sh1.3 KB
- 脚本scripts/probe.sh1.7 KB
- 脚本scripts/report_test.sh680 B
- 脚本scripts/report.sh778 B
- 脚本scripts/score_test.sh1.0 KB
- 脚本scripts/score.jq1.2 KB
- 脚本scripts/skill-eval.sh2.1 KB
- 脚本tests/skill-structure_test.sh705 B
03 SKILL.md 正文
skill-eval
Purpose
Quantify whether a skill activates on prompts that should trigger it and stays
silent on near-neighbor decoys, by probing real claude activation.
Instructions
Run scripts/skill-eval.sh with zero args (all skills that have an evals.json)
or a list of skill names. Read the printed scorecard; a non-zero exit means at
least one FAIL or ERROR.
Available Scripts
scripts/skill-eval.sh [skill ...]— orchestrator.scripts/probe.sh/score.jq/report.sh/extract.jq— the units.
Prerequisites
claude CLI and jq on PATH. Each evaluated skill needs an evals.json
(schema: {skill, cases:[{id, prompt, expect:"activate"|"silent"}]}).
Limitations
Discoverability only (no output-correctness). Activation is measured headlessly,
a proxy for interactive routing. Rates use N attempts (default 5) — tune with
SKILL_EVAL_N / SKILL_EVAL_PASS / SKILL_EVAL_DECOY.
Troubleshooting
- All ERROR verdicts →
claudeinvocation failing; run one probe manually. - Decoys always fire → tighten the skill's description negative-scope.
04 同仓库更多 Skills
update-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
update-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
statusline
Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
split-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
shell
Runs the rest of a /shell request as a literal shell command. Use only when the user explicitly invokes /shell and wants the following text executed directly in the terminal.
sdk
Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (`@cursor/sdk`) or Python (`cursor-sdk` / `cursor_sdk`). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `run.messages`, `CursorAgentError`, `@cursor/sdk`, `cursor-sdk`, or `cursor_sdk`; asks to run Cursor agents programmatically from a script, CI/CD pipeline, GitHub Action, backend service, or other code outside the Cursor IDE; wants to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors; or is wiring Cursor into an automation, bot, or REST `/v1/agents` migration. Use eagerly rather than answering from memory; the SDK surface evolves and this skill is the source of truth for the external packages.