eval-testing

An evaluation toolkit for checking whether AI agents produce correct, safe, and compliant results. It uses fixed rules, comparison examples, and another language model to score outputs.

In plain words
What is it for?
Use it to test agents, measure retrieval-augmented generation (RAG) quality, create benchmark datasets, compare prompt versions, and run checks in continuous integration.
Why use it?
It replaces ad hoc testing with repeatable checks, making it easier to catch regressions when prompts or agent code change.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bdiasti/maestro-bundle-cli/eval-testing
Any agent
npx skills add bdiasti/maestro-bundle-cli --skill eval-testing
Clone the repo
git clone --depth 1 https://github.com/bdiasti/maestro-bundle-cli

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01562
Opus 5 $0.00020 $0.00781
Sonnet 5 $0.00008 $0.00312
Haiku 4.5 $0.00004 $0.00156

Measured 2d ago against content hash 837aa56fba5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eval-testing 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 2d 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.

templates/bundle-ai-agents/skills/eval-testing/SKILL.md · 204 lines

How it starts

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

Eval Testing

Build comprehensive evaluation pipelines for AI agents using rule-based checks, LLM-as-judge scoring, golden datasets, and CI/CD integration.

When to Use

  • Testing whether an agent produces correct, compliant output
  • Evaluating RAG retrieval quality with RAGAS metrics
  • Building a golden dataset for regression testing
  • Setting up automated eval pipelines in CI/CD
  • Comparing agent performance across prompt versions

Available Operations

  1. Create rule-based evaluators for compliance checks
  2. Build LLM-as-judge scoring prompts
  3. Design golden datasets with expected outcomes
  4. Run evaluation benchmarks
  5. Integrate evals into CI/CD pipelines
  6. Analyze and compare eval results

Multi-Step Workflow

Step 1: Create Rule-Based Evaluators

Start with deterministic checks -- they are fast, free, and reliable.

class ComplianceEvaluator:
    """Verify code follows bundle standards."""

    def evaluate(self, code: str, bundle: Bundle) -> EvalResult:
        checks = []
        checks.append(self._check_max_lines(code, max=500))
        checks.append(self._check_no_hardcoded_secrets(code))
        checks.append(self._check_function_length(code, max=20))
        checks.append(self._check_naming_convention(code))
        checks.append(self._check_test_coverage(code, min=80))

        score = sum(c.passed for c in checks) / len(checks)
        return EvalResult(score=score, checks=checks)

    def _check_max_lines(self, code: str, max: int) -> Check:
        lines = len(code.split('\n'))
        return Check(
            name="max_lines",
            passed=lines <= max,
            detail=f"{lines}/{max} lines"
        )

Run rule-based checks:

python -m evals.rules --code-dir src/ --bundle bundles/backend.json

Step 2: Build LLM-as-Judge Evaluator

For subjective quality assessments, use an LLM to score agent output.

JUDGE_PROMPT = """
Evaluate the code below on these criteria:
1. Clarity (1-5): Is the code easy to understand?
2. Correctness (1-5): Does the code do what it should?
3. Patterns (1-5): Does it follow Clean Architecture and DDD?
4. Tests (1-5): Are tests adequate?

Code:
{code}

Respond in JSON:
{{"clarity": X, "correctness": X, "patterns": X, "tests": X, "justification": "..."}}
"""

async def llm_judge(code: str) -> dict:
    response = await llm.ainvoke(JUDGE_PROMPT.format(code=code))
    return json.loads(response.content)

Read the full file on GitHub · 204 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 204 lines · 40 tokens per session scan A 837aa56fba5d

Subscribe to this mod's changes

eval-testing is a skill published in the GitHub repository bdiasti/maestro-bundle-cli (21 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 1,562 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens