Skip to content
Development
Skill

/prompt-evaluation-runner

Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill prompt-evaluation-runner --agent claude-code

SKILL.md

prompt-evaluation-runner.SKILL.md
name: prompt-evaluation-runner
description: Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.

Prompt Evaluation Runner

When to use

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.

Requirements / Checks

1. Check if an evaluation tool is defined in project deps, scripts, lockfiles, or local toolchain (e.g., `promptfoo`, `evals`, `braintrust`). 2. Do not run unvetted remote runners without checking the project's toolchain first (e.g., avoid `npx promptfoo@latest` if `promptfoo` is already installed locally). 3. If no runner exists, ask before adding a dev dependency or using an ephemeral runner. 4. Confirm expected cost, provider, API keys, and network target before any execution.

Workflow

1. **Define risk** — state target behavior, failure mode, provider(s), and budget limits before writing any config.

2. **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 |

3. **Use model graders sparingly** — pin the grader model and provider explicitly; document the cost and non-determinism risk.

4. **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}}"

5. **Handle env safely** — use `{{env.VAR_NAME}}` for all secrets and inputs. Never hardcode API keys or sensitive data in config files.

6. **Execute locally** — run the smallest suite first. Ask before running long, paid, red-team, or production-targeted suites.

7. **Analyze failures** — classify before fixing:

  • Prompt failure (model output is wrong)
  • Provider variance (non-deterministic model)
  • Flaky grader (model grader is inconsistent)
  • Bad fixture (test input is unrealistic)
  • Config mistake (assertion logic error)

Safety Constraints

  • Do NOT log, echo, or store API keys in configuration files or chat output.
  • Do NOT run evaluations against production endpoints without user consent.
  • Do not execute arbitrary remote code or unvetted plugins during evaluation.

Validation / Done Criteria

  • Eval config is valid, minimal, and uses `{{env.VAR}}` references for secrets.
  • Deterministic assertions exist where possible; model grader use is documented and justified.
  • Run scope, provider, and estimated cost are reported before execution.
  • Results are summarized without leaking sensitive input data.

References

  • `references/eval-config-patterns.md`
Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other skills on agent-powerups.

model-routing

model-routing

Use when selecting a model for a new task or subagent, deciding whether to escalate after a failed attempt, or designing a…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about prompt-evaluation-runner.

Which coding agents can use prompt-evaluation-runner?
prompt-evaluation-runner installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.