agenteval: Instructions file for Claude Code

CLAUDE.md

agenteval CLAUDE.md is an instructions file for Claude Code from lukasmetzler/agenteval. It costs 1,311 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is lukasmetzler/agenteval's own configuration. It tells Claude Code how to work on agenteval itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agenteval configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lukasmetzler/agenteval. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lukasmetzler/agenteval/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/lukasmetzler/agenteval

Made for: Claude Code.

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lukasmetzler/agenteval/claude-md"><img src="https://agentmods.dev/badge/instructions/lukasmetzler/agenteval/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,311 This file is loaded in full into every session.
When invoked 1,311 The same file — it is already loaded in full.
Security scan C 2 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.01311 $0.01311
Opus 5.5 $0.00524 $0.00524
Sonnet 5.5 $0.00262 $0.00262
Haiku 4.5 $0.00131 $0.00131

Measured 1mo ago against content hash a7ee3da3897b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 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 (557 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; --trials N --baseline)
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)
bun run schema          # regenerate schema.json from the Zod config schema

Architecture

src/
├── lint/       # Static analysis rules (Phase 1)
├── run/        # Eval runner, worktree, scorer (Phase 2)
├── harness/    # CliAdapter + one spec per agent CLI (builtin.ts), generic, mock; JSON usage parsers
├── store/      # Result persistence + comparison (Phase 2)
├── harvest/    # Git history mining: detect AI commits, emit task YAML (Phase 3)
├── toolchain/  # Detect package manager/linters, parse shell commands, run linters for lint-delta
├── config/     # Zod schema, YAML loader
├── markdown/   # Parser, section extractor, frontmatter, file-kind classification, @imports
├── output/     # Console, JSON, markdown, SARIF, GitHub annotation, trial and CI report 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 · 98 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. 1mo ago Changed · +4 lines · +225 tokens per session a7ee3da3897b
  2. 3mo 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 (8 stars, last pushed 1mo ago), licensed MIT. It adds 1,311 tokens to every session, about $0.0052 per session on Opus 5.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.

Related

agenteval CLAUDE.md compared with instructions from other repositories

agenteval CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agenteval CLAUDE.mdlukasmetzler/agentevalInstructions file81mo agoMITC1,311Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144kyesterdayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291kyesterdayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot