/quality-gates:prompt-evaluation-runnerfrom quality-gates
Evaluates prompts, LLM outputs, and model behavior using local eval configs with safe provider/cost controls. Supports red-team suites and systematic testing.
Ships in quality-gates. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use when you need to evaluate an LLM app, test a prompt systematically, or run red-team/vulnerability scans against a target model or application.
promptfoo, evals, braintrust).npx promptfoo@latest if promptfoo is already installed locally).Define risk — state target behavior, failure mode, provider(s), and budget limits before writing any config.
Choose assertions — prefer deterministic checks first:
| Assertion type | When to use |
|---|---|
contains / not-contains | Output must include/exclude specific text |
regex | Structured output pattern (e.g., JSON key present) |
json-schema | Output must conform to a schema |
cost | Must stay under a token/dollar budget |
latency | Must respond within N ms |
javascript / python | Custom logic when simpler types don't fit |
| Model grader | Last resort — only for subjective quality checks |
Use model graders sparingly — pin the grader model and provider explicitly; document the cost and non-determinism risk.
Minimal config structure:
description: "Test that the summarizer stays under 200 words"
providers:
- id: openai:gpt-4o-mini
config:
temperature: 0
prompts:
- "Summarize: {{input}}"
defaultTest:
assert:
- type: javascript
value: output.split(' ').length < 200
tests:
- vars:
input: "{{env.TEST_DOCUMENT}}"
Handle env safely — use {{env.VAR_NAME}} for all secrets and inputs. Never hardcode API keys or sensitive data in config files.
Execute locally — run the smallest suite first. Ask before running long, paid, red-team, or production-targeted suites.
Analyze failures — classify before fixing:
{{env.VAR}} references for secrets.references/eval-config-patterns.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prompt-evaluation, red-teaming, llm-testing, eval-config, model-grading
npx claudepluginhub yeaight7/agent-powerups --plugin quality-gates13 skills in this plugin
/ai-regression-testingUse when an agent has modified logic, API routes, or data-transformation code, a bug was just fixed and must not be reintroduced, or behavior must stay identical across execution paths such as sandbox versus production./change-impact-checkUse before submitting a PR or considering a task done to evaluate the blast radius of your changes -- you touched a public signature, a shared utility, a schema, or added config and need to know what else is affected./ci-failure-readoutUse when a CI pipeline has failed and the real error must be extracted from thousands of lines of noisy logs.2 plugins in one repository ship this exact skill · first indexed Jul 28, 2026
Other plugins' skills for the same job