agenteval CLAUDE.md

agenteval CLAUDE.md is an instructions file for coding agents from lukasmetzler/agenteval. It costs 1,086 tokens per session, scanned C, original, MIT.

A command-line tool for testing how well instructions guide AI coding assistants. It runs tasks, records scores, compares runs, and tracks changes over time.

In plain words
What is it for?
Use it to create evaluation settings, check instruction files, run task tests, compare versions, inspect stored results, build datasets from Git history, and detect regressions in continuous integration.
Why use it?
It helps reveal whether instruction changes improve or worsen an assistant's results instead of relying on guesswork.

Instructions file

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 instructions/lukasmetzler/agenteval/claude-md
Clone the repo
git clone --depth 1 https://github.com/lukasmetzler/agenteval

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 agenteval CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lukasmetzler/agenteval/claude-md.svg)](https://agentmods.dev/instructions/lukasmetzler/agenteval/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/lukasmetzler/agenteval/claude-md"><img src="https://agentmods.dev/badge/instructions/lukasmetzler/agenteval/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,086 This file is loaded in full into every session.
When invoked 1,086 The same file — it is already loaded in full.
Security scan C 2 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.01086 $0.01086
Opus 5 $0.00543 $0.00543
Sonnet 5 $0.00217 $0.00217
Haiku 4.5 $0.00109 $0.00109

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

Security

Grade C, and why

agenteval CLAUDE.md scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/lukasmetzler/agenteval/main/install.sh | bash # curl

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/lukasmetzler/agenteval/main/install.sh | bash # curl
CLAUDE.md · 94 lines

How it starts

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

agenteval

A CLI tool that evaluates AI coding instruction quality. Built with Bun + TypeScript.

Commands

# Install (end users)
brew tap lukasmetzler/agenteval && brew install agenteval  # Homebrew
npm install -g agenteval-cli                                # npm
curl -fsSL https://raw.githubusercontent.com/lukasmetzler/agenteval/main/install.sh | bash  # curl

# Development
bun install             # install dependencies
bun test                # run all tests (417 tests)
bun run dev -- init     # create starter agenteval.yaml
bun run dev -- doctor   # environment health check
bun run dev -- lint     # lint instruction files
bun run dev -- run      # run eval (needs --task flag)
bun run dev -- results  # view stored results
bun run dev -- compare  # compare two runs
bun run dev -- harvest  # mine git history for eval datasets
bun run dev -- trends   # score history and trend analysis
bun run dev -- ci       # run all harvested tasks, fail on regression
bun run dev -- watch    # watch instruction files, re-lint on save
bun run dev -- update   # self-update to the latest release
bun run build           # compile to binary (current platform)
bun run build:linux     # cross-compile linux-x64
bun run build:darwin    # cross-compile darwin-arm64
bun run build:darwin-x64 # cross-compile darwin-x64
bun run lint            # biome check
bun run typecheck       # tsc --noEmit
bun run check           # lint + typecheck + test (CI equivalent)

Architecture

src/
├── lint/       # Static analysis rules (Phase 1)
├── run/        # Eval runner, worktree, scorer (Phase 2)
├── harness/    # Adapter pattern: claude-code, cursor, opencode, windsurf, copilot, generic, mock
├── store/      # Result persistence + comparison (Phase 2)
├── harvest/    # Git history mining: detect AI commits, emit task YAML (Phase 3)
├── config/     # Zod schema, YAML loader
├── markdown/   # Parser, section extractor, frontmatter
├── output/     # Console, JSON, markdown formatters
├── commands/   # CLI command handlers (init, doctor, lint, run, results, compare, harvest, ci, trends, watch, update)
└── utils/      # Logger, glob, path helpers

Read the full file on GitHub · 94 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. 4d ago First seen · 94 lines · 1,086 tokens per session scan C 1a5a591e568c

Subscribe to this mod's changes

agenteval CLAUDE.md is an instructions file published in the GitHub repository lukasmetzler/agenteval (6 stars, last pushed 2mo ago), licensed MIT. It adds 1,086 tokens to every session, about $0.0054 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.