Prompt evaluation runner
Skill yeaight7/agent-powerups/plugins/quality-gates/skills/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 its SKILL.md
npx -y skills add yeaight7/agent-powerups --skill prompt-evaluation-runnerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.3 KB, 733 tokens by cl100k_base, as published. Nobody here has run it
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
- Check if an evaluation tool is defined in project deps, scripts, lockfiles, or local toolchain (e.g.,
promptfoo,evals,braintrust). - Do not run unvetted remote runners without checking the project's toolchain first (e.g., avoid
npx promptfoo@latestifpromptfoois already installed locally). - If no runner exists, ask before adding a dev dependency or using an ephemeral runner.
- Confirm expected cost, provider, API keys, and network target before any execution.
Workflow
-
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-containsOutput must include/exclude specific text regexStructured output pattern (e.g., JSON key present) json-schemaOutput must conform to a schema costMust stay under a token/dollar budget latencyMust respond within N ms javascript/pythonCustom 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:
- 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
What ships with it: 1 file
1.3 KB alongside SKILL.md
references/
- eval-config-patterns.md1.3 KB
Gives 0 of the 12 instructions most prompt engineering skills give in 733 tokens
Counted across 542 of the 575 authors here whose files we hold, read 2026-09-06
- Provide few-shot examples for complex tasksin 17 of 542, across 16 files
- Ask clarifying questions if information is ambiguousin 16 of 542, across 14 files
- Output a complete optimized prompt for the userin 15 of 542, across 9 files
- Validate structured outputs against schemasin 15 of 542, across 13 files
- Analyze the draft prompt for intent and gapsin 14 of 542, across 8 files
- Detect project tech stack from local filesin 14 of 542, across 8 files
- Recommend a model based on task scopein 13 of 542, across 7 files
- Present results in the specified output formatin 13 of 542, across 7 files
- Match intent and scope to ECC componentsin 13 of 542, across 7 files
- Ask one question at a timein 13 of 542, across 12 files
- Respond in the same language as the user inputin 12 of 542, across 6 files
- Ask up to three clarification questions if context is missingin 11 of 542, across 5 files
Said here and by no other author read
- Check project toolchain for existing evaluation tools
- Confirm costs and providers before execution
- Define target behavior and budget before configuration
- Prefer deterministic assertions over model graders
- Pin grader models and providers explicitly
- Use environment variables for all secrets
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.