/agent-evaluation-lab:prompt-evaluation-runnerfrom agent-evaluation-lab
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 agent-evaluation-lab. 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 agent-evaluation-lab3 skills in this plugin
/red-team-eval-authoringUse when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata./skill-evaluation-workbenchUse when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.2 plugins in one repository ship this exact skill · first indexed Jul 28, 2026
Other plugins' skills for the same job