Skip to content

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.

18.0 KB
Raw Blame
{
  "skill_name": "skillevaluator",
  "evals": [
    {
      "id": "skillevaluator-001-explicit-keyless",
      "prompt": "Use SkillEvaluator: I have a skill at ./skills/pdf-tools and no LLM API key. Give me the exact commands to check that it is well-formed, safe, and see its quality score, and tell me what exit code 1 versus 2 would mean.",
      "expected_output": "Recommends keyless commands such as `skillevaluator tier1 ./skills/pdf-tools --no-llm` and/or `skillevaluator quality-check ./skills/pdf-tools` (or `validate --tiers 1`), and explains exit 1 = a gate failed or evidence incomplete, exit 2 = usage error such as a bad flag or missing path.",
      "assertions": [
        "Recommends a keyless Tier 1 command (tier1 --no-llm, quality-check, or validate --tiers 1) on ./skills/pdf-tools",
        "Explains exit code 1 as a failed check or incomplete evidence and exit code 2 as a usage error",
        "Does not ask for or invent an API key"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-002-explicit-tier3",
      "prompt": "With SkillEvaluator, how do I measure whether my skill at ./my-skill actually makes an agent better? Write the full command sequence from readiness check to report, including a cheap smoke run first, and say which number tells me the improvement.",
      "expected_output": "A sequence using doctor (with --env-mode docker), creating/validating evals (create-eval-dataset, tier3 validate), a smoke `tier3 evaluate ... --max-cases 1`, a full `tier3 evaluate` or `tier3 ./my-skill` run with and without the skill, and `view`; identifies Skill Lift (with-skill minus baseline) as the improvement measure.",
      "assertions": [
        "Includes a readiness check with skillevaluator doctor",
        "Includes dataset generation or validation (create-eval-dataset or tier3 validate)",
        "Includes a smoke run limited with --max-cases",
        "Runs tier3 live evaluation comparing with-skill and baseline",
        "Names Skill Lift as with-skill minus baseline"
      ],
      "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.",
      "expected_output": "Asks for three to five real requests csv-cleaner should handle, the observable good result for each, and one request where the skill should not be used. Explains that the reviewed cases will go in evals/evals.json. Does not present invented cases as a finished dataset; any draft it offers is labeled a draft for the user to review.",
      "assertions": [
        "Asks for real requests csv-cleaner should handle",
        "Asks what a good observable result looks like for each request",
        "Asks for one request that should not trigger the skill",
        "Explains that reviewed cases will go in evals/evals.json",
        "Does not present invented cases as a finished evals/evals.json; any cases it drafts are labeled a draft for the user to review"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-004-implicit-report",
      "prompt": "My skill benchmark report says 'INCONCLUSIVE: skill never activated' and the Tier 3 command exited 0. Another run says verdict FAIL but also exited 0. What do these mean and what should I change?",
      "expected_output": "Explains the INCONCLUSIVE verdict as missing positive-trial activation, so the description or prompts should be fixed rather than the scores; explains that tier3 exits 0 on a FAIL verdict and only an incomplete run exits 1, with --block-on-agent-eval in validate to gate on Tier 3.",
      "assertions": [
        "Explains never activated means the skill was not loaded in positive trials",
        "Recommends improving the skill description or eval prompts",
        "Explains that a FAIL verdict alone exits 0 and only an incomplete run exits 1",
        "Mentions --block-on-agent-eval or another way to make Tier 3 gate"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-005-contextual-ci",
      "prompt": "Our repo keeps agent skills under ./skills and we use GitHub Actions. Add a workflow step that fails the PR when any skill fails static validation, uploads SARIF, and does not need any API key. Show the command the step should run.",
      "expected_output": "A GitHub Actions step running `skillevaluator validate ./skills --tiers 1` with SARIF/JSON reports to an output dir (e.g. `-r json,markdown,sarif -o reports`), relying on the exit code to fail the job, with no secrets required; optionally mentions `skillevaluator ci init`.",
      "assertions": [
        "Uses skillevaluator validate on ./skills with --tiers 1",
        "Requests a sarif report and an output directory",
        "Relies on the command exit code to fail the job",
        "Does not require an API key for this gate"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-006-contextual-config",
      "prompt": "I'm setting up live agent evaluation for ./skills/sql-helper. I want 3 attempts per case, the opencode agent, and the agent needs my OPENAI_API_KEY. Write evals/config.yml and tell me where the API key should go.",
      "expected_output": "An evals/config.yml with schema_version: 1 and harbor.n_attempts: 3 (and opencode agent settings), explicitly NOT placing the API key in config.yml or harbor.runtime_env; the key is exported in the host environment where skillevaluator runs.",
      "assertions": [
        "config.yml sets schema_version 1 and harbor n_attempts 3",
        "Does not put OPENAI_API_KEY in config.yml or runtime_env",
        "Says to export the key in the host environment or CI secrets"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-007-negative-write-skill",
      "prompt": "Write a Python function that removes duplicate rows from a list of dictionaries, keeping the first occurrence.",
      "expected_output": "A direct Python implementation; no SkillEvaluator commands or skill evaluation workflow.",
      "assertions": [
        "Provides a working Python function",
        "Does not run or recommend SkillEvaluator"
      ],
      "expected_skill": null
    },
    {
      "id": "skillevaluator-008-negative-general",
      "prompt": "Explain the difference between precision and recall in classification models in two sentences.",
      "expected_output": "A short correct explanation of precision and recall without invoking skill evaluation.",
      "assertions": [
        "Correctly defines precision and recall",
        "Does not run or recommend SkillEvaluator"
      ],
      "expected_skill": null
    },
    {
      "id": "skillevaluator-009-explicit-cli-missing",
      "prompt": "Save the skill below as notes-helper/SKILL.md in your working directory, then use SkillEvaluator to check whether it is well-formed and give me its quality score. SkillEvaluator may not be installed on this machine yet. You may install the CLI and any missing scanners needed for this keyless check using isolated or managed installs.\n\n---\nname: notes-helper\ndescription: Summarize meeting notes into decisions and action items. Use when the user pastes meeting notes and asks for a summary, decisions, or owners.\n---\n\n# Notes Helper\n\nTurn raw meeting notes into a short summary with decisions and action items.\n\n## Workflow\n\n1. Read the notes the user provides.\n2. List the decisions that were made.\n3. List action items with an owner and due date when given.\n\n## Example\n\nInput: \"Ana will ship the beta Friday. We chose Postgres.\"\nOutput: Decisions: use Postgres. Actions: Ana - ship beta - Friday.\n",
      "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 saved notes-helper skill",
        "Reports the quality score and exit code from the run, or the exact install error, without inventing results"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-010-implicit-plain-quality",
      "prompt": "Is my skill any good? It's in ./my-skill. I don't have an API key. If you can't run anything here, tell me exactly what you would run and what the result would and would not prove.",
      "expected_output": "Chooses keyless static validation for ./my-skill (`skillevaluator tier1 ./my-skill --no-llm`, `quality-check`, or `validate ./my-skill --tiers 1`), says the result is a pass/fail gate plus a 0-100 quality score, and says static checks cover structure, wording and security but do not show whether the skill helps an agent.",
      "assertions": [
        "Gives a keyless Tier 1 command (tier1 --no-llm, quality-check, or validate --tiers 1) on ./my-skill",
        "Says the static result does not prove the skill helps an agent, and that live evaluation would be needed for that",
        "Does not ask for or invent an API key"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-011-implicit-written-well",
      "prompt": "Can you check whether the skill in ./skills/release-notes is written well? Tell me what you'd run, what the score is made of, and whether any part of it needs an API key.",
      "expected_output": "Runs or gives a keyless quality command on ./skills/release-notes (`skillevaluator tier1 ./skills/release-notes --no-llm` or `quality-check`), explains the 0-100 quality score as Correctness 35%, Discoverability 25%, Reliability 25% and Efficiency 15% with a default pass mark of 70, and notes that the LLM rubric is a separate check that needs a provider.",
      "assertions": [
        "Gives a keyless quality command (tier1 --no-llm or quality-check) on ./skills/release-notes",
        "Names the four quality dimensions: Correctness, Discoverability, Reliability, Efficiency",
        "Says the LLM rubric needs a provider key and is not part of the keyless run"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-012-implicit-helps-agent-blocked",
      "prompt": "I want to know whether my skill in ./skills/deploy-helper actually helps an agent do its tasks better. No API key is set on this machine and Docker isn't running. What do you need from me, and what can you do in the meantime?",
      "expected_output": "Says this needs a live with-skill versus baseline evaluation (Tier 3) and cannot run yet. Names what is missing: a provider key exported in the host environment and a running Docker daemon. It does not offer `--env-mode local` for a skill that deploys unless the user trusts it. Asks the user to supply those. Offers what can be done now without them: keyless Tier 1 and preparing or validating eval cases. Reports no lift, score or verdict for the live evaluation.",
      "assertions": [
        "Says a live with-skill versus baseline evaluation is required to answer the question",
        "Names both blockers: no provider key and no running Docker or other sandbox",
        "Tells the user what to provide: a provider key exported on the host and Docker started",
        "Offers keyless Tier 1 or eval-case preparation as work that can happen now",
        "Does not state or estimate a lift, score or verdict for the live evaluation"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-013-contextual-own-model",
      "prompt": "I'm running you inside my coding agent, which already has a model behind it. When you run the live agent evaluation for my skill, will it just use that model, or do I have to set up another API key? Keep it short.",
      "expected_output": "Says no, the live evaluation does not use the calling agent's model. It starts separate agent processes in a sandbox, with and without the skill, and an LLM judge scores the answers, so a provider credential must be exported in the host environment. One provider key, for example NVIDIA_API_KEY, can cover both the agents and the judge.",
      "assertions": [
        "Says the live evaluation does not reuse the model of the agent that launches it",
        "Explains that separate agent processes run the cases with and without the skill",
        "Explains that an LLM judge also needs a provider",
        "Says a provider credential must be exported in the host environment where skillevaluator runs"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-014-contextual-dataset-questions",
      "prompt": "Set up live evaluation cases for my skill at ./skills/invoice-parser. Before you write anything, tell me what you need to know from me.",
      "expected_output": "Asks the user for a few real requests the skill should handle and what a good result looks like for each, at least one request that should not trigger the skill, and any input files the cases need. Says the cases will go in evals/evals.json and should cover requests that name the skill, requests that only describe the task, requests inside a project, and a negative case. Does not invent finished cases before getting that input.",
      "assertions": [
        "Asks for real task requests the skill is expected to handle",
        "Asks what a good or observable outcome looks like for those requests",
        "Asks for at least one request that should not trigger the skill",
        "Says the dataset lives in evals/evals.json",
        "Does not present a finished dataset before the user has answered"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-015-contextual-run-cost",
      "prompt": "I'm about to run the full live evaluation on ./skills/sql-helper: 10 cases, 3 attempts each, two agents. How many agent runs is that, and how do I check the setup cheaply before spending on all of it?",
      "expected_output": "Computes 10 cases x 3 attempts x 2 agents x 2 arms (with skill and baseline) = 120 trials. Recommends a smoke run first with `--max-cases 1`, and says a smoke run is not publication evidence. May mention `--stop-on-pass` or `--skip-baseline` as ways to cut spend, noting that skipping the baseline gives no lift.",
      "assertions": [
        "States 120 trials, counting both the with-skill and baseline arms",
        "Recommends a smoke run limited with --max-cases",
        "Says a run that skips cases is not publication evidence"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-016-negative-write-skill-content",
      "prompt": "Write a SKILL.md for a new agent skill that formats SQL queries. Include frontmatter, instructions and two examples.",
      "expected_output": "A complete SKILL.md for a SQL formatting skill with name and description frontmatter, instructions and two examples. Writing the skill's own content does not call for an evaluation workflow.",
      "assertions": [
        "Provides a SKILL.md with name and description frontmatter",
        "Includes instructions and two examples for formatting SQL",
        "Does not run an evaluation of the skill instead of writing it"
      ],
      "expected_skill": null
    },
    {
      "id": "skillevaluator-017-implicit-cold-install-consent",
      "prompt": "Run a keyless static check on my skill at ./skills/notes-helper. SkillSpector and Gitleaks have never been installed on this machine, and I want to know before anything gets downloaded.",
      "expected_output": "Explains that the keyless Tier 1 scan, `security-scan` or `health-check --tier 1` would download the missing SkillSpector and Gitleaks scanners (and that the CLI itself must be installed if it is missing), and asks permission before running any of them. May offer a provisioning-free quality check while waiting; does not claim a completed security scan or verdict.",
      "assertions": [
        "Explains that the keyless Tier 1 scan or health-check would download or provision the missing scanners",
        "Asks permission before running any command that would install the CLI or provision scanners",
        "Does not run tier1, security-scan or health-check before permission",
        "Does not invent a completed security scan or security verdict"
      ],
      "expected_skill": "skillevaluator"
    },
    {
      "id": "skillevaluator-018-contextual-dataset-from-requests",
      "prompt": "Set up live evaluation cases for my skill at ./skills/invoice-parser. Real requests: 1) \"Extract the total and due date from invoice.pdf in /workspace/input\" - a good result prints both values. 2) \"Which vendor billed us most last month?\" over the invoices in /workspace/input/invoices - a good result names the vendor and the amount. It should NOT be used for: \"Write a haiku about taxes.\" Write evals/evals.json.",
      "expected_output": "Writes ./skills/invoice-parser/evals/evals.json with top-level skill_name 'invoice-parser' and an evals array built from the user's two requests and the negative request. Each case has id, prompt, expected_output and expected_skill; the positive cases name the observable results the user gave, and the negative case sets expected_skill to null.",
      "assertions": [
        "Output has top-level skill_name 'invoice-parser' and an evals array",
        "Every case has id, prompt, expected_output and expected_skill",
        "Uses the user's requests and outcomes instead of inventing new ones",
        "The negative case sets expected_skill to null"
      ],
      "expected_skill": "skillevaluator"
    }
  ]
}