AGENT SKILL

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

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 → claude invocation failing; run one probe manually.
  • Decoys always fire → tighten the skill's description negative-scope.

04 同仓库更多 Skills

ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

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.

★ 4