promptfoo-evals

promptfoo-evals is a skill for Claude Code, Codex from saski/arnesto. It costs 47 tokens per session (700 once invoked), scanned A, original, Unlicense.

An evaluation setup for checking how a language model or coding agent behaves across repeatable examples. It compares prompts, agent instructions, and models using stated expected outcomes.

In plain words
What is it for?
Use it to create regression checks for an agent, compare models or prompts, and test representative failure cases with explicit judgments.
Why use it?
It helps catch behavior changes that ordinary software tests may miss, such as an agent giving a different answer after its instructions change. It also separates model behavior from the effect of a particular instruction or configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to create regression checks for an agent, compare models or prompts, and test representative failure cases with explicit judgments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/promptfoo-evals
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add saski/arnesto --skill promptfoo-evals
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for promptfoo-evals

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/promptfoo-evals/github.svg)](https://agentmods.dev/skills/saski/arnesto/promptfoo-evals)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/promptfoo-evals"><img src="https://agentmods.dev/badge/skills/saski/arnesto/promptfoo-evals/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for promptfoo-evals

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/promptfoo-evals"><img src="https://agentmods.dev/badge/skills/saski/arnesto/promptfoo-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00700
Opus 5.5 $0.00019 $0.00280
Sonnet 5.5 $0.00009 $0.00140
Haiku 4.5 $0.00005 $0.00070

Measured 1mo ago against content hash ccf78eb024b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

promptfoo-evals scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/promptfoo-evals/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Promptfoo Evaluations

Use promptfoo when the question concerns observable LLM behavior across a repeatable set of inputs. A deterministic function or configuration invariant usually belongs in the project's ordinary test suite instead.

Define what is being evaluated

State the behavior, available evidence, and unacceptable outcome before writing the case. Choose the evaluation boundary explicitly:

  • Prompt only: send the candidate prompt and controlled context to a model.
  • Configured client: invoke the real agent entry point with its instructions, tools, and runtime configuration. Attribute the result to that combination.

A client passing a case does not prove the harness caused the behavior. To test that claim, compare with and without the relevant instructions while keeping the cases, model, and runtime settings stable. Preserve a user's requested provider; report unavailable models rather than silently replacing them.

Build a useful case and grader

Start with a representative failure mode from actual use. Include enough evidence to determine the expected behavior without putting the expected answer in the evaluated prompt. Add ambiguity or pressure only when it models a real risk. Expand coverage from observed gaps, not arbitrary case counts.

Prefer deterministic assertions for structure, exact facts, and prohibited actions. Check the substantive claim as well as the format: valid JSON alone is not success. Avoid exact prose matching when equivalent wording is valid. For tool-use claims, inspect execution traces rather than the agent's self-report.

Exercise the grader with a known correct response and plausible incorrect responses before trusting it. Use an LLM judge only for properties that need semantic judgment; record its model and rubric and check its judgments against examples reviewed by a person. Do not weaken assertions just to obtain green runs.

Run and interpret

Use the project's existing installation, configuration, and execution targets. For new integrations, pin the evaluator and commit the dependency lockfile. Check current official documentation when adding unfamiliar provider or assertion configuration; avoid copying guessed API syntax.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 75 lines · 47 tokens per session scan A ccf78eb024b5

Subscribe to this mod's changes

promptfoo-evals is a skill published in the GitHub repository saski/arnesto (5 stars, last pushed yesterday), licensed Unlicense. It adds 47 tokens to every session and 700 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.