test-evals

test-evals is a skill for Claude Code, Codex from moonlight-lupin/agent-skills. It costs 159 tokens per session (1,468 once invoked), scanned A, original, MIT.

Testing guidance based on test-driven development (TDD), a method where a failing test is written before the code that makes it pass. It covers designing behavior-focused tests, running them red first, and checking them before implementation.

In plain words
What is it for?
Use it to plan and write tests, verify that each test fails for the right reason, choose appropriate test boundaries, and prepare the test suite before code is built.
Why use it?
It helps ensure tests actually check the intended behavior and prevents production code from being added without a test that first exposed the missing behavior.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit Use it to plan and write tests, verify that each test fails for the right reason, choose appropriate test boundaries, and prepare the test suite before code is built.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moonlight-lupin/agent-skills/test-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 moonlight-lupin/agent-skills --skill test-evals
Clone the repo
git clone --depth 1 https://github.com/moonlight-lupin/agent-skills

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 test-evals

README.md
[![agentmods](https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/test-evals/github.svg)](https://agentmods.dev/skills/moonlight-lupin/agent-skills/test-evals)
Your own site
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/test-evals"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/test-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 test-evals

Your own site · 80×15
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/test-evals"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/test-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 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.00159 $0.01468
Opus 5.5 $0.00064 $0.00587
Sonnet 5.5 $0.00032 $0.00294
Haiku 4.5 $0.00016 $0.00147

Measured today against content hash 28b03a9656ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-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 today.

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.

plugins/assay/skills/test-evals/SKILL.md · 97 lines

How it starts

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

Test Evals

The test-and-evaluation stage of the assay: how behavior is pinned before it ships. Test-driven development is the core discipline; the batched multi-feature TDD loop with a per-batch Opus review, the pre-commit verification pipeline, and external-review-finding verification hang off it.

Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.

Tests verify behavior through public interfaces. A bad test is one that breaks on a refactor without a behavior change.

This stage owns the tests

In the pipeline, the plan names each task's test cases (behavior, seam, expected value and where it comes from). This stage turns them into real tests, runs each one to a failure for the right reason, and attests the files (review-commit/scripts/attest_file.py attest) so the build can't quietly rewrite them. The build implementer makes them GREEN; it adds a test only for behavior the plan missed, and says so. Output of this stage: the test files, a RED run log, and one line per test naming the seam note it pins.

Case tables: when the plan has a case table for a stateful rule (briefs/references/case-tables.md), every row becomes one RED test at the public seam, named in the table's Test column. A row without a test is a gap to report, not to skip.

When to Use

  • User says "TDD N loops each batch Opus loop" or "batch properly, Opus on each batch before commit"
  • User says "implement, use TDD" or "TDD, 2 loops each batch, Opus on each batch"
  • Writing new features, bug fixes, or behavior changes that need failing tests first
  • Reviewing or sizing a change before commit (five-axis review, severity labels)
  • Verifying external review findings before fixing them

Don't use for:

  • Iterative post-commit review convergence — the review-commit stage owns that
  • In-flight doubt about a mid-build step — that's doubt-driven-development
  • Judging a skill's own quality — the skill-quality-review efficacy rubric and its Checks stay owned by that skill; this stage links to it, it does not duplicate the rubric

Read the full file on GitHub · 97 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. today Changed 28b03a9656ba
  2. 2d ago Changed · -152 lines · +17 tokens per session 6b97e9fedb40
  3. 4d ago Changed · +5 lines 49afd83a1cb9
  4. 1mo ago First seen · 244 lines · 142 tokens per session scan A ee374596a800

Subscribe to this mod's changes

test-evals is a skill published in the GitHub repository moonlight-lupin/agent-skills (135 stars, last pushed yesterday), licensed MIT. It adds 159 tokens to every session and 1,468 once invoked, about $0.0006 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-10-28.

Related

test-evals compared with skills from other repositories

test-evals next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-evalsmoonlight-lupin/agent-skillsSkill135yesterdayMITA159Claude Code, Codex
shopify-ab-testingnexscope-ai/eCommerce-SkillsSkill1.6k19d agoMITA0Claude Code, Codex
testing-disciplineoleg494/coding-kitSkill312d agoMITA75Claude Code, Codex
tddBlueprintOS/analysis-to-deliverySkill265mo agoMITA49Claude Code, Codex
test-driven-developmentJPeetz/agent-skillsSkill2112d agononeA66Claude Code, Codex
test-driven-developmentRobinBeraud/hermes-skillsSkill11yesterdaynoneA20Claude Code, Codex
test-driven-developmentcyborg-garden/hermes-agent-mtSkill14todayMITA20Claude Code, Codex