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.
npx skills add 2ykwang/agent-skills --skill instruction-evalgit clone --depth 1 https://github.com/2ykwang/agent-skillsWrote 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.
[](https://agentmods.dev/skills/2ykwang/agent-skills/instruction-eval)<a href="https://agentmods.dev/skills/2ykwang/agent-skills/instruction-eval"><img src="https://agentmods.dev/badge/skills/2ykwang/agent-skills/instruction-eval/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.
<a href="https://agentmods.dev/skills/2ykwang/agent-skills/instruction-eval"><img src="https://agentmods.dev/badge/skills/2ykwang/agent-skills/instruction-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00179 | $0.02569 |
| Opus 5 | $0.00089 | $0.01285 |
| Sonnet 5 | $0.00036 | $0.00514 |
| Haiku 4.5 | $0.00018 | $0.00257 |
Grade A, and why
instruction-eval 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Condition A/B
Change one condition an agent runs under, run the same prompts before and after, and show the difference.
The conditions surrounding an agent have no verification. You can read code and tests will catch a regression, but a few lines added to instructions or a reference doc dropped in a directory only ever get judged on whether they sound reasonable. Even the person who put them there has no idea whether they change behavior. This skill replaces that guess with an observation.
This runs on Claude Code. Both arms execute as claude -p subprocesses, so the
CLI has to be available.
Who writes what
The report holds content from two sources, visually separated in the HTML. Never hand-write what the script produces, since transcribing only introduces errors.
| Automatic (scripts) | LLM (insights.json) |
|---|---|
| Experiment setup: n, model, both directory paths | What you changed |
| Prompt text | The claim about what changes |
| Answer text (every arm, every rep) | Differences observed per prompt |
| Metric medians and deltas | Metric interpretation |
| Run anomalies (errors, permission denials) | Conclusion |
Procedure
1. Design and build the conditions
Pick the axis first. What you compare against what determines everything else. Only what the user mentioned is a candidate, and even when it reads as obvious you confirm it in step 2.
Anything can be the axis: instruction text, reference material instructions point at, MCP tools and permissions, hooks, skill files. The script only sees two directories, so all of these get handled identically.
baseline is the working directory in the before state, variant the after state.
The purpose decides the direction.
| Verifying an addition | Building a case for deletion | |
|---|---|---|
| baseline | axis absent | axis present (status quo) |
| variant | axis present | axis absent |
| What you watch | does it do what the axis asks | does the failure it prevented show up |
Deletion is the more common need. Instructions only grow in one direction and nothing ever makes the case for removing them, while an ineffective instruction still rides along on every request, spending context and diluting the signal of the instructions that do work. Judge deletion asymmetrically, though. The bar is not "delete when there's no evidence of effect" but "delete only when removing it is confirmed to produce no failure." A symmetric bar at small sample sizes will delete rules on noise.
What ships with it
8 files 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.
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.
- 9d ago First seen · 246 lines · 179 tokens per session scan A 4e238c24b7ce
instruction-eval is a skill published in the GitHub repository 2ykwang/agent-skills (19 stars, last pushed 1mo ago), licensed MIT. It adds 179 tokens to every session and 2,569 once invoked, about $0.0009 per session on Opus 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-08-30.
Other skills, from other repositories
phpunit-integration-test-reviewing
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.
phpunit-migration-test-reviewing
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.
phpunit-test-adversarial-reviewing
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.
phpunit-test-team-reviewing
Use this skill when the user asks for a team-based, consensus, multi-reviewer, or red-team review of Shopware PHPUnit tests — trigger phrases like "team review these tests", "consensus review the tests in PR.
phpunit-unit-test-reviewing
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.
phpunit-integration-test-generation
Use this skill when the user asks to generate, write, or create integration tests for a Shopware 6 source class whose contract requires wired-up code — phrases like "generate integration tests for X", "write an integration test for this controller", "test this indexer", "create an integration test for the message…