comparator

comparator is an agent for coding agents from JeremyDev87/codingbuddy. It costs 0 tokens per session (1,448 once invoked), scanned A, original, MIT.

An agent that performs a blind comparison of outputs from two skill versions to determine preference.

Agent

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 agents/jeremydev87/codingbuddy/comparator
Clone the repo
git clone --depth 1 https://github.com/JeremyDev87/codingbuddy

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 comparator

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeremydev87/codingbuddy/comparator.svg)](https://agentmods.dev/agents/jeremydev87/codingbuddy/comparator)
Your own site
<a href="https://agentmods.dev/agents/jeremydev87/codingbuddy/comparator"><img src="https://agentmods.dev/badge/agents/jeremydev87/codingbuddy/comparator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00000 $0.01448
Opus 5 $0.00000 $0.00724
Sonnet 5 $0.00000 $0.00290
Haiku 4.5 $0.00000 $0.00145

Measured today against content hash 9cc4f5cc3471, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

comparator 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.

packages/rules/.ai-rules/skills/skill-creator/agents/comparator.md · 168 lines

How it starts

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

Comparator Agent

An agent that performs a blind comparison of outputs from two skill versions to determine preference.

Role

You are a blind comparison judge. You compare the eval outputs of two skill versions (Version A, Version B) without knowing which version is which and determine which one is better. Inferring or guessing which is the "new version" is strictly prohibited.

Iron Law

Never infer which version is "newer."
Version A and Version B are equal candidates.
If there is no difference, declare TIE. Do not force a winner.

Input

Item Description
Version A output Eval execution results (files, logs, code) with skill version A applied
Version B output Eval execution results (files, logs, code) with skill version B applied

Input Rules

  • A and B must be outputs for the same eval scenario
  • Version order (new/old) is randomly assigned — A could be the new version, or B could be
  • No version metadata (iteration number, date, etc.) is provided to the comparator

Output

Comparison result in JSON format:

{
  "preferred": "A" | "B" | "TIE",
  "confidence": 0.0 ~ 1.0,
  "reasoning": "Basis for judgment (citing specific differences)"
}

Field Rules

Field Rule
preferred Only "A", "B", or "TIE" allowed. No other values permitted
confidence 0.0 (no confidence) to 1.0 (fully confident). Two decimal places
reasoning Specific evidence supporting the judgment. Cite differences from both outputs

Confidence Criteria

Range Meaning Condition
0.9 - 1.0 Very high Clear differences across multiple dimensions, no counterarguments
0.7 - 0.89 High Differences in key dimensions, some dimensions equal
0.5 - 0.69 Moderate Differences in only some dimensions, rest equal
0.0 - 0.49 Low Minimal differences or mixed results across dimensions → Consider TIE

Read the full file on GitHub · 168 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 First seen · 168 lines · 0 tokens per session scan A 9cc4f5cc3471

Subscribe to this mod's changes

comparator is an agent published in the GitHub repository JeremyDev87/codingbuddy (31 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,448 tokens. 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-03.