paired-agent-eval

paired-agent-eval is a skill for Claude Code, Codex from moonlight-lupin/agent-skills. It costs 15 tokens per session (3,509 once invoked), scanned B, original, MIT.

A skill for comparing a single coding agent with a staged, multi-step agent workflow in matched A/B trials. It measures time, token use, review rounds, task success, regressions, and scored defects.

In plain words
What is it for?
It helps evaluate whether a staged development pipeline improves quality enough to justify its added time and token cost.
Why use it?
It replaces opinions about whether extra agent stages are worth their cost with measurements from identical tasks and acceptance checks. An A/B trial compares two approaches under controlled conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; runs codex exec; mentions Codex.

Good fit It helps evaluate whether a staged development pipeline improves quality enough to justify its added time and token cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moonlight-lupin/agent-skills/paired-agent-eval
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 paired-agent-eval
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 paired-agent-eval

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/paired-agent-eval"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/paired-agent-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00015 $0.03509
Opus 5.5 $0.00006 $0.01404
Sonnet 5.5 $0.00003 $0.00702
Haiku 4.5 $0.00002 $0.00351

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

Security

Grade B, and why

paired-agent-eval scanned grade B with 1 finding 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 yesterday.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Minor=1). Write the `BLINDING.txt` map (arm -> origin), chmod 600, and open
mlops/paired-agent-eval/SKILL.md · 229 lines

How it starts

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

Paired Agent Evaluation

Overview

Answers "does tiered pipeline processing justify its cost" with matched task pairs: a single-agent baseline arm versus a pipeline arm (tier flow per the assay size-tiers), on identical pinned trees with identical up-front acceptance suites. Cost side (elapsed, tokens, review rounds) is measured directly; quality side comes from the acceptance suite plus a blinded, severity-weighted defect scorer. Analyzer: plugins/assay/benchmarks/compare_runs.py in the agent-skills mirror (schema: task_id, variant baseline/pipeline, tier T0-T3, elapsed_s, tokens, success, regressions, review_rounds).

When to Use

Load this skill when the user asks whether the assay pipeline (or any staged agent workflow) is worth its cost — "run an A/B pilot", "empirically test whether T2/T3 justify their overhead", "evaluate the pipeline against a baseline" — or when asked to analyze results produced by plugins/assay/benchmarks/compare_runs.py. Do not use for single-side PR review (see agent-skills-repo-maintenance).

Procedure

  1. Package the pair before any arm runs. Starter repo, full-contract TASK.md (exit codes, JSON shapes, every rule an arm can violate), and acceptance/test_acceptance.py — one file, copied identically into both arm repos. git init + one pinned start commit per arm; cross-check the pin shas are equal.
  2. Audit the acceptance suite against the stub tree before pinning. Run the tests' logic against the starter and confirm each expectation is actually implementable per the TASK.md wording (slug rules, search terms, JSON shapes). A flawed acceptance rule forces a wrong implementation and voids the pair; this check has caught instrument bugs twice (a #guide- slug that no GitHub-slugging impl could satisfy; a test writing r.md while asserting report.md). Two structural rules from those hits:
    • Tests that chdir the CLI into a tmp dir MUST resolve the script by absolute REPO path — a relative python3 shelf.py cannot resolve from tmp cwd and forces every arm to shim the environment.
    • Never let a convoluted conditional assertion ("A and B if C else True") through an audit — rewrite it plainly. Also diff both arm repos against the starter file set BEFORE trusting any suite result: one implementer added an undisclosed conftest.py that symlinked the CLI into every tmp dir and even alias-fixed a broken assertion per test name instead of disclosing the harness bug. If a genuine instrument bug surfaces mid-run: fix the suite, push it as an explicit harness-owned commit (instrument: ...) into BOTH repos, archive the shim, re-verify both arms, and log the deviation in PROTOCOL.
  3. Fix one coder model for BOTH arms. The experiment measures PROCESS, not model. Baseline = a single codex exec given TASK.md + suite, work autonomously, commit, print FINAL_STATUS. Pipeline arm = the tier's flow.
  4. Tier flow menu (from the assay size-tiers doc):
    • T1: no grill/spec turn (acceptance criteria inline in the plan), one implementer batch, NO per-task review, Step A by the orchestrator, Step B one lane, confirm budget 1.
    • T2: grill decisions recorded + spec, ~3 implementer batches, ONE combined reviewer per batch (spec verdict then quality verdict), converge cap 2, Step B two cross-model lanes, confirm budget 2.
    • T3: grill mandatory, two SEPARATE per-task reviewers (spec compliance, then quality only after spec PASS), converge cap 3, Step B three lanes, confirm budget 3. Fold each review's findings into the NEXT implementer dispatch rather than a separate fix round when budget is tight; say so in the dispatch.
  5. Confirm reviews reproduce, never read. Instruct confirm reviewers to build probe trees in a temp dir and reproduce every claimed fix; then the orchestrator reproduces the decisive ones itself anyway (scaling probes for performance findings: double the input twice and expect ~4x/~2x to detect quadratic vs linear). "fixed (static-only, not reproduced)" is an UNVERIFIED state, not a pass.
  6. Blinded scoring (codex gpt-6-sol high): stage anonymized copies under neutral paths (arm_one/, arm_two/) each with TASK.md + tests copies; the scorer brief must forbid reading anything else on the machine (git history, logs, metadata) and apply one rubric (Critical=3, Important=2, Minor=1). Write the BLINDING.txt map (arm -> origin), chmod 600, and open it only after the score lands.
  7. Metrics without invented values. Elapsed = mtime(brief) − mtime(log) (agent CLI logs carry no timestamps). Tokens: ONLY codex exec reports a tokens used line; claude -p and muse exec do not — pipeline token totals are coder-only undercounts, always say so. Where a schema field is unmeasured, log the convention in PROTOCOL notes (e.g. combined total in input_tokens, output_tokens 0 = not separately measured) — never present a placeholder as a measurement.
  8. Report with the standing caveat: one pair gives direction, not proof; state deviations from protocol (run order, blinding order, unmeasured spend) in the same breath as the result.

Read the full file on GitHub · 229 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. yesterday Changed eb5c5a8e4cf7
  2. 20d ago First seen · 229 lines · 15 tokens per session scan B 3db28b745c8a

Subscribe to this mod's changes

paired-agent-eval is a skill published in the GitHub repository moonlight-lupin/agent-skills (136 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 3,509 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.

Related

paired-agent-eval compared with skills from other repositories

paired-agent-eval next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paired-agent-evalmoonlight-lupin/agent-skillsSkill1362d agoMITB15Claude Code, Codex
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA126Claude Code, Codex
tiktok-shop-cross-bordernexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA55Claude Code, Codex
supply-chain-optimization-tiktoknexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA57Claude Code, Codex
ecommerce-landing-pagenexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA45Claude Code, Codex
product-title-optimizationnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA44Claude Code, Codex
walmart-listing-optimizationnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA35Claude Code, Codex