eval-instructions

eval-instructions is a skill for Claude Code, Codex from martinemde/dotfiles. It costs 54 tokens per session (440 once invoked), scanned A, original, ISC.

A test guide for comparing two versions of instructions used by a coding agent, such as CLAUDE.md, AGENTS.md, or a Skill. It runs the same tasks against a baseline and a candidate version and compares their answers, costs, and loaded instruction size.

In plain words
What is it for?
Use it to create probes for changed rules, run repeated A/B comparisons, grade responses, regrade fixed probes, and measure context size.
Why use it?
It replaces guesswork about whether an instruction change helped or removed an important rule. It can also show when a deleted instruction was not affecting results.

Skill for Claude CodeCodex

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

Good fit Use it to create probes for changed rules, run repeated A/B comparisons, grade responses, regrade fixed probes, and measure context size.

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

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 eval-instructions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinemde/dotfiles/eval-instructions"><img src="https://agentmods.dev/badge/skills/martinemde/dotfiles/eval-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 440 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.00054 $0.00440
Opus 5.5 $0.00022 $0.00176
Sonnet 5.5 $0.00011 $0.00088
Haiku 4.5 $0.00005 $0.00044

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

Security

Grade A, and why

eval-instructions 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/executable_eval.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

home/dot_agents/skills/eval-instructions/SKILL.md · 30 lines

What it actually says

Eval instruction changes

scripts/eval.py runs the same probes with headless claude -p in a baseline checkout and a candidate checkout (or worktree), grades each answer, and reports pass rates, cost per run, and the always-loaded token count of each arm.

  1. Put the change in a worktree; the main checkout is the baseline.
  2. Write a probe for every rule you removed or rewrote, plus a few for rules you kept as a control. A probe is a realistic task whose right answer depends on the rule, graded by regexes (must, must_not; lines that reject a pattern don't count against it) and optionally an LLM judge rubric. Name what it guards in covers.
  3. Run 3 reps per arm: scripts/eval.py probes.json --baseline MAIN --candidate WORKTREE --reps 3 -j 6 --out results.json. Rescore stored answers after fixing a probe with --regrade results.json; --tokens-only measures context size alone.

To test user-level files, set config_dirs per arm to a fake home containing .claude/ (CLAUDE.md, skills, agents) and .agents/. The script adds a settings.json with syncClaudeAiSkills: false if the fake home has none; otherwise account skills sync into the symlinked skills directory, i.e. into the checkout. The script clears this session's extra CLAUDE.md directories so each arm sees only its own instructions.

A failing probe in both arms is a probe problem or a gap the instructions never covered; read the answers before blaming the change. Lower cost per run at the same pass rate is the evidence that removed text was dead weight.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 30 lines · 54 tokens per session scan A 4a72ac2b5d9d

Subscribe to this mod's changes

eval-instructions is a skill published in the GitHub repository martinemde/dotfiles (10 stars, last pushed today), licensed ISC. It adds 54 tokens to every session and 440 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-30.

Related

eval-instructions compared with skills from other repositories

eval-instructions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eval-instructionsmartinemde/dotfilesSkill10todayISCA54Claude Code, Codex
dotfiles-bootstrapsebastienrousseau/dotfilesSkill84yesterdayApache-2.0A89Claude Code, Codex
vibesebastienrousseau/dotfilesSkill84yesterdayApache-2.0A137Claude Code
web-frontendfmind/dotSkill14yesterdayMITA29Claude Code, Codex
calibratefmind/dotSkill14yesterdayMITA37Claude Code, Codex
gwsfmind/dotSkill14yesterdayMITA41Claude Code, Codex
draftfmind/dotSkill14yesterdayMITA26Claude Code, Codex