agenteval

agenteval is a skill for Claude Code, Codex from lukasmetzler/agenteval. It costs 60 tokens per session (956 once invoked), scanned A, original, MIT.

A linter and repair procedure for agent instruction files such as CLAUDE.md, AGENTS.md, GEMINI.md, rules, skills, and subagents. It checks their paths, scripts, lockfile, and tool configuration against the repository.

In plain words
What is it for?
Use it after editing agent instructions, or when checking whether those instructions are broken, outdated, or useful.
Why use it?
Instruction files can become stale or point to files and commands that no longer exist. Rechecking after edits exposes errors and warnings before an agent follows bad guidance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it after editing agent instructions, or when checking whether those instructions are broken, outdated, or useful.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukasmetzler/agenteval/agenteval
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 lukasmetzler/agenteval --skill agenteval
Clone the repo
git clone --depth 1 https://github.com/lukasmetzler/agenteval

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 agenteval

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukasmetzler/agenteval/agenteval"><img src="https://agentmods.dev/badge/skills/lukasmetzler/agenteval/agenteval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00060 $0.00956
Opus 5.5 $0.00024 $0.00382
Sonnet 5.5 $0.00012 $0.00191
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

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

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.

skills/agenteval/SKILL.md · 45 lines

How it starts

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

Overview

agenteval checks instruction files against the repo they describe: paths, package.json scripts, the lockfile, linter configs. Fix a finding by changing the instructions to match the repo; change the repo only when the user asks for it.

Run the CLI as agenteval. If that is not on PATH, use npx -y agenteval-cli in its place.

Lint after every instruction edit

  1. Run agenteval lint --format json from the repo root. Each entry in diagnostics[] has ruleId, severity, filePath, line, message, and often suggestion.
  2. Fix every error, then every warning, using the table below.
  3. Run agenteval lint --severity warning again.

The lint is clean when that run reports no errors and no warnings, or each remaining warning is one you told the user about, with the reason you left it. Repeat steps 2 and 3 until it is clean. info findings are suggestions; mention them only when they touch lines you edited.

Rule prefix Finding Fix
dead-ref/ A path, link, or anchor points at nothing Correct the path, or remove the reference if the target is gone
import/ An @path import is missing, circular, or more than 4 hops deep Fix the path (relative to the importing file) or flatten the chain
toolchain/ A command doesn't match the repo: wrong package manager, missing script, a linter the repo doesn't use, or a tool nobody documents Write the command the repo uses: package.json scripts, the lockfile's package manager, the configured linter
frontmatter/, skill/ Frontmatter the agent rejects or ignores Use the field names and values in the message; a skill's name must equal its directory
agent-limits/ An agent truncates or skips the file Split the file, move detail into .claude/rules/ or nested files, or rename .md rules in .cursor/rules/ to .mdc
context-budget/, token-count/ Too much loads at session start Move rarely needed sections behind a link or into path-scoped rules
overlap/ Two sections say nearly the same thing Keep one and delete or merge the other
anti-pattern/, bloat/ Vague, contradictory, or padded prose Rewrite as a concrete instruction; agenteval lint --fix removes filler phrases
drift/ A referenced file changed long after the instructions did Read the file and update the instructions that describe it

Read the full file on GitHub · 45 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 First seen · 45 lines · 60 tokens per session scan A ad1b8619d030

Subscribe to this mod's changes

agenteval is a skill published in the GitHub repository lukasmetzler/agenteval (8 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 956 once invoked, about $0.0002 per session on Opus 5.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-10-31.

Related

agenteval compared with skills from other repositories

agenteval next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentevallukasmetzler/agentevalSkill81mo agoMITA60Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A24Claude Code, Codex
pr-autofixAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA45Claude Code, Codex
code-graphAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA28Claude Code, Codex
confirm-failures-are-causally-linked-to-the-task-before-reportinZaxbyHub/opencode-swarmSkill549todayMITA29OpenCode
isolate-the-specific-failure-mode-before-proposing-a-fixZaxbyHub/opencode-swarmSkill549todayMITA24OpenCode
ci-fix-monitorZaxbyHub/opencode-swarmSkill549todayMITA68Claude Code, Codex