Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.
Python agent-evaluationagent-pluginsagent-securityagent-skillsagentic-aibenchmarkci-templatesclaude-codecodexevaluateevaluationharnesspluginplugin-evaluationsecurity-scannerskill-evalskill-evaluationskill-evaluatorskill-gap-analysisskills
feat(skills): teach the skillevaluator skill to install the CLI when missing (#570)
Christopher Kevin451b8935467a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3adb721b..d61c63a5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,6 +12,9 @@ All notable changes to SkillEvaluator are documented in this file.- `harness` results flag a skill whose description has nearly the same words as anotherskill's in the same folder (`*-LOOKALIKE`), with no embedding key. The model may route arequest to the wrong one of the two.+- The `skillevaluator` agent skill now tells the agent to check for the CLI+ and install it when missing (`uv tool install`, `pipx`, pip in a virtual+ environment, or `uvx`), and adds a CLI-missing Tier 3 case.- Canonical `comment-skill-checks.yml` reusable workflow and source template forthe standard scored Tier 1 PR comment without hosted reports. It verifies theexisting signed receipts and native evidence, reuses the shared report anddiff --git a/skills/skillevaluator/SKILL.md b/skills/skillevaluator/SKILL.mdindex 5d6c5412..771017af 100644--- a/skills/skillevaluator/SKILL.md+++ b/skills/skillevaluator/SKILL.md@@ -43,10 +43,10 @@ existing benchmark into a custom grader, read- A target directory containing `SKILL.md` (or a folder of skills, `.mdc`rules, or a plugin manifest).-- The CLI: `pip install --upgrade "skillevaluator[all]"`, or from a checkout- `uv run --python 3.13 --extra all skillevaluator ...`. Check with- `skillevaluator --version`. Extras: `llm` (rubric), `security` (scanners),- `tier2`, `tier3`, `all`, `dashboard`.+- The CLI on Python 3.12-3.14. If it is missing, install it yourself (Workflow+ step 1). Extras: `llm` (rubric), `security` (scanners), `tier2`, `tier3`,+ `all`, `dashboard`. From a source checkout use+ `uv run --python 3.13 --extra all skillevaluator ...`.- No key for keyless commands (`quality-check`, `security-scan`, `pii-scan`,`lint-scripts`, `tier1 PATH --no-llm`, `validate PATH --tiers 1`).- A provider for LLM stages, Tier 2 and Tier 3. Simplest:@@ -83,18 +83,33 @@ Full flag tables: [Tier 1](references/commands-tier1.md),## Workflow-1. **Locate the target.** Confirm the path has `SKILL.md` and that its+1. **Get the CLI.** Run `skillevaluator --version`. If the command is not+ found, install it in the first way that works, then run the version check+ again:+ - `uv tool install --python 3.13 "skillevaluator[all]"` (isolated, preferred)+ - `pipx install "skillevaluator[all]"`+ - `python3 -m pip install --upgrade "skillevaluator[all]"` inside an active+ virtual environment+ - with no install, prefix each command with `uvx --python 3.13 --from "skillevaluator[all]"`++ Ask the user before installing into a system or shared Python; never use+ `sudo pip`. If the binary is installed but not on `PATH`, run+ `uv tool update-shell` or add `~/.local/bin` to `PATH`. If a documented+ command or flag is unknown, upgrade: `uv tool upgrade skillevaluator`. If+ installation fails (no network, no Python 3.12+), stop and report the+ exact error and the install command instead of guessing results.+2. **Locate the target.** Confirm the path has `SKILL.md` and that itsfrontmatter `name` matches the directory name. For a folder of skills, thecommands evaluate each skill inside it.-2. **Check readiness before paid runs.** Run `skillevaluator health-check --tier 1`+3. **Check readiness before paid runs.** Run `skillevaluator health-check --tier 1`for scanners, `skillevaluator doctor --tier 2` for providers, and`skillevaluator doctor --env-mode docker` (add `--verify-models`) for Tier 3.Fix every failing row first.-3. **Start keyless.** Run `skillevaluator tier1 <skill-dir> --no-llm`. Fix+4. **Start keyless.** Run `skillevaluator tier1 <skill-dir> --no-llm`. FixCRITICAL and HIGH findings before anything else; `lint` findings are advisory.-4. **Add LLM checks** when a provider is set: `skillevaluator tier1 <skill-dir>`+5. **Add LLM checks** when a provider is set: `skillevaluator tier1 <skill-dir>`(rubric, LLM security, verification) and `skillevaluator tier2 <skill-dir>`.-5. **Prepare Tier 3 cases.** If `<skill-dir>/evals/evals.json` is missing, first+6. **Prepare Tier 3 cases.** If `<skill-dir>/evals/evals.json` is missing, firstcapture task requests and observable outcomes in `<skill-dir>/evals/EVAL.md`;headings alone do not qualify. Generate with`skillevaluator create-eval-dataset <skill-dir> --full --prompt <skill-dir>/evals/EVAL.md`,@@ -108,13 +123,13 @@ Full flag tables: [Tier 1](references/commands-tier1.md),`skillevaluator tier3 validate <skill-dir> --strict`. Format:[references/tier3-datasets.md](references/tier3-datasets.md); run policy andscoring: [references/tier3-running.md](references/tier3-running.md).-6. **Run live evaluation.** `skillevaluator tier3 <skill-dir>` (or+7. **Run live evaluation.** `skillevaluator tier3 <skill-dir>` (or`skillevaluator tier3 evaluate <skill-dir> -a opencode --env-mode docker --n-attempts 3`).Use `--max-cases 1` for a cheap smoke run first; such runs are neverpublication evidence.-7. **Read the results** (see below), open `skillevaluator view <skill-dir>`, and+8. **Read the results** (see below), open `skillevaluator view <skill-dir>`, andfor follow-up questions run `skillevaluator tier3 feedback <run-dir>`.-8. **Iterate.** Change the skill, rerun the same command with the same cases,+9. **Iterate.** Change the skill, rerun the same command with the same cases,agent and model, and compare. Treat a single run's lift as directional.## Read The Results@@ -178,6 +193,7 @@ skillevaluator tier3 evaluate <skill-dir> --skip-with-skill| Symptom | Cause | Fix || --- | --- | --- |+| `skillevaluator: command not found` | CLI not installed or not on `PATH` | Workflow step 1: install with `uv tool install`, `pipx`, or `pip` in a virtual environment, or use `uvx` || Exit `2` | Unknown flag, bad value, or missing path | Check `skillevaluator <command> --help`; prefix paths named like commands with `./` || Check shows `INCOMPLETE` | A scanner is missing or failed | Run `skillevaluator health-check --tier 1`; install the `security` extra or the missing scanner || "provider is required" / exit `1` before reports | No `SKILL_EVAL_LLM_PROVIDER` or key, or several keys exported | Set exactly one provider and its key; see providers reference |diff --git a/skills/skillevaluator/evals/evals.json b/skills/skillevaluator/evals/evals.jsonindex 2b41b7a6..d6dd64fe 100644--- a/skills/skillevaluator/evals/evals.json+++ b/skills/skillevaluator/evals/evals.json@@ -25,6 +25,21 @@],"expected_skill": "skillevaluator"},+ {+ "id": "skillevaluator-009-explicit-cli-missing",+ "prompt": "Use SkillEvaluator to check whether the notes-helper skill in /workspace/input is well-formed and give me its quality score. SkillEvaluator may not be installed on this machine yet.",+ "expected_output": "Checks for the skillevaluator CLI (for example `skillevaluator --version`), installs it if missing with an isolated method such as `uv tool install \"skillevaluator[all]\"`, `pipx`, pip inside a virtual environment, or runs it through `uvx`, without sudo; then runs `skillevaluator quality-check` or `skillevaluator tier1 --no-llm` on the notes-helper skill and reports the score and exit code, or reports the exact install error if installation is impossible.",+ "assertions": [+ "Checks whether the skillevaluator CLI is available before relying on it",+ "Installs it without sudo using uv tool, pipx, pip in a virtual environment, or uvx when it is missing",+ "Runs a SkillEvaluator quality or Tier 1 check on the notes-helper skill",+ "Reports the quality score and exit code from the run, or the exact install error, without inventing results"+ ],+ "files": [+ "files/notes-helper"+ ],+ "expected_skill": "skillevaluator"+ },{"id": "skillevaluator-003-implicit-dataset","prompt": "I need test cases so an agent benchmark can tell whether my 'csv-cleaner' agent skill gets used correctly. Write the evals/evals.json file for it with three cases: one that names the skill, one that only describes the task, and one prompt where the skill should NOT be used.",diff --git a/skills/skillevaluator/evals/files/notes-helper/SKILL.md b/skills/skillevaluator/evals/files/notes-helper/SKILL.mdnew file mode 100644index 00000000..8e480492--- /dev/null+++ b/skills/skillevaluator/evals/files/notes-helper/SKILL.md@@ -0,0 +1,19 @@+---+name: notes-helper+description: Summarize meeting notes into decisions and action items. Use when the user pastes meeting notes and asks for a summary, decisions, or owners.+---++# Notes Helper++Turn raw meeting notes into a short summary with decisions and action items.++## Workflow++1. Read the notes the user provides.+2. List the decisions that were made.+3. List action items with an owner and due date when given.++## Example++Input: "Ana will ship the beta Friday. We chose Postgres."+Output: Decisions: use Postgres. Actions: Ana - ship beta - Friday.