SkillsBench

Give an AI agent a folder of expert instructions and it passes more tests: 33.9% of 87 tasks without the folder, 50.5% with it. Let the agent write its own folder, and it passes fewer.

Pick an agent, then switch between No Skills, Self-written and Expert Skills. Watch how many of the 87 tasks light up. Then we build the test piece by piece: what a Skill is, how a fair test is made, how it is scored, and where Skills help, fail or hurt.

You need a rough idea of what an AI agent is (a language model that types commands and reads what comes back) and a little Python. We build the rest from zero.

Based on SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks (arXiv 2602.12670, v4, June 2026) by Xiangyi Li, Yimin Liu, Wenbo Chen, Bingran You, Dawn Song and a large contributor team from BenchFlow, UC Berkeley, Stanford, CMU and other groups. It is an assigned reading of MIT MAS.S62 How to AI an AI for (Almost) Anything, Lecture 5: Harness Engineering and Multi-Agent Systems. Every idea is re-taught here in our own words and devices.

Run the same 87 tasks three ways

The three pass rates for each agent are the paper’s (Table 6 of Appendix D.6: no Skills, self-generated, curated; Table 2 for curated). The number of lit squares is the pass rate times 87. Which tasks light up is illustrative: the paper averages three trials per task over 87 tasks, so each square stands for a share of a task, not one named task.

Chapter 0

Why Measure Skills

Find out why nobody could say whether a folder of expert instructions helps an agent, and what a fair answer needs

Picture a new engineer on the first day. Her manager hands her a binder. It holds the team’s steps for the three jobs she will do most: how to read a log, how to file a report, how to check a result. She is smart, but she has never seen this team’s way of working. Does the binder help?

You would guess yes. But a binder can also slow her down. If it is 400 pages long, she may skim it. If it names the wrong tool, she may follow it into a wall. The only way to know is to give the same job to two people who are equally good, one with the binder and one without, and compare the results.

AI agents are in the same position. An agent is a language model that works in a loop: it types a command, reads what comes back, and decides what to do next. Teams now hand agents their own binders. The paper calls them Agent Skills: folders of written steps, small scripts and reference notes that an agent can open when a task needs them. Nobody retrains the model. The folder is plain files.

Two million binders, no measurement

Skills spread fast. The authors counted 2,014,000 Skills in public repositories at the time they built the benchmark. Yet no one could say how much a given Skill helps, or when it fails. That is the gap the paper fills.

Why was it open? Because older benchmarks (fixed sets of tasks with automatic scores, used to compare systems) measure the wrong thing for this question. They ask: how well does model X do task Y? The answer folds three things into one pass rate: the model, the harness (the program that wraps the model, gives it tools and files, and runs its loop) and any extras added on top.

A builder asks a different question. If I add this Skill to my agent, on this task, how much better will it get? To answer it, you must change only the Skill and hold everything else still. The paper calls this a paired evaluation: the same task, the same container, the same checks, with and without the Skill.

Chapter 2 builds that pair. First, the stakes. A Skill is not free. Every Skill the agent opens adds text to its working memory, and Chapter 7 shows that more text can mean worse results. So measuring is not a luxury. It tells you what to write, and what to cut.

How big is a Skill, really?

The paper measured the public pool. The main file of a Skill, called SKILL.md, has a median size of 4.8 KB. The middle half of all Skills fall between 2.4 KB and 9.2 KB. The authors convert size to tokens at about four bytes per token, so the median Skill is roughly 1,200 tokens. A token is a short piece of text, about three quarters of a word, that the model reads as one unit.

Most Skills are small and simple. 59.9% of them hold a single file: just SKILL.md. 86.4% hold five files or fewer. The tail is long, though, and the biggest bundle in the pool is over 1.6 GB.

Weigh a Skill

The ruler shows the size of a SKILL.md file. The band is the middle half of public Skills. Drag the size and the count, and watch the tokens an agent must read before it starts work.

4.8 KB
1

The median (4.8 KB) and the middle half (2.4 to 9.2 KB) are the paper’s (Appendix A.2); the four-bytes-per-token rule is the paper’s. The 200,000-token window is illustrative, and giving every attached Skill the same size is a toy.

Play with it. One median Skill costs about 1,200 tokens, a small slice of a window. Eight of them cost nearly ten thousand. Reading is cheap for the machine, but attention is not free: Chapter 7 shows that four or more Skills help less than one to three.

The road

The hero shows the paper’s headline. Switch an agent from no Skills to expert Skills and it passes about 17 more tasks of 87. Switch it to Skills it wrote itself and it passes fewer. Each part of that picture has a chapter.

  1. What a Skill is: a folder, a one-line description, and a way for the harness to load it.
  2. One task, two arms: the paired test, and the checks that score it.
  3. Building a fair benchmark: 400 submissions, four gates, 87 tasks.
  4. Scoring the lift: pass rate, normalized gain and error bars.
  5. The main result: 18 agents, all of them gain, by very different amounts.
  6. Where Skills help: eight domains, from +9.7 to +28.8 points.
  7. How to write a Skill: fewer, shorter, more specific.
  8. When Skills hurt: three failure patterns, and the self-written arm.
  9. The field guide: numbers, checklist, code and links.
A team wants to know whether adding one Skill makes their agent better at a task. Which test answers that question?

Chapter 1

What a Skill Is

Open a Skill folder and see how an agent finds, loads and uses it, and how it differs from a prompt, a retrieved page or a tool

Walk into a workshop and look at the wall of drawers. Each drawer front has a label: a name and one line that says what is inside. You do not open every drawer. You read the labels, pick the one that fits the job, and open only that one. Inside you find a short manual, and maybe a ready-made jig and a few reference sheets.

An Agent Skill is a drawer like that. The idea is simple, and the paper pins it down so that it can be tested.

The definition

The paper defines a Skill as a reusable, file-based package of procedural knowledge for a whole class of tasks. Procedural knowledge is know-how: the steps, the order, the traps. It is the opposite of a fact such as “Paris is the capital of France”. A Skill must meet four tests:

  1. Procedural content. It tells you how to do something, not what is true.
  2. Task-class applicability. It helps with a kind of problem, never with one named instance.
  3. Structured components. It has a main file named SKILL.md and may add scripts, templates and references.
  4. Portability. It is ordinary files, so any compatible harness can load it and any author can edit it.

These tests also say what a Skill is not. A system prompt has no file structure. A few-shot example shows an answer, not a method. A retrieved page (the idea behind RAG, retrieval-augmented generation) gives facts. Tool documentation says what a tool can do, not how to solve a task with it. The paper admits the lines blur, but it needs a rule to build a benchmark.

Make it concrete. The task is to pull revenue from a company filing. A prompt says “be careful with numbers”. A retrieved page explains what the XBRL tagging format is. A tool description says that a parser function exists. A Skill says: read the revenue fact by its XBRL tag, ignore the HTML tables, check the period dates, and run this script to write the output. Only the last one hands the agent a method it can follow and a script it can run.

The folder

A Skill is a directory. The required file starts with a small header, called YAML frontmatter, that holds the Skill’s name and a one-line description. The harness reads that header to find the Skill. The body below it holds the steps.

SKILL.md# illustrative, written for this lesson
---
name: waveform-phase-picking
description: Use when asked to find P and S arrivals in raw seismic waveform files.
  Gives the filter band, the picker settings and the output format.
---
1. Load each file, remove the trend, band-pass 1 to 10 Hz.
2. Run scripts/pick.py with the window lengths in references/params.md.
3. Write one row per pick: station, phase, time in UTC seconds.
# Trap: some files store time in samples, not seconds. Check the header.

Notice what the header does. It is a label on a drawer. The sentence Use when asked to find P and S arrivals tells the agent when to open this Skill. Chapter 9 returns to this, because the paper lists a task-specific description as one of five habits of the best Skills.

How the agent loads it

The paper calls the loading rule progressive disclosure: show a little first, more only when needed. At the start, the agent sees only the name and description of each Skill. If one fits the task, the agent reads its SKILL.md. If the steps point to a script or a reference, the agent opens that too. Nothing else enters the context.

This matters because of the cost you weighed in Chapter 0. Fifty installed Skills do not cost fifty manuals. They cost fifty labels, until one is opened.

Open the drawer

Left: five installed Skills. Right: the agent’s context. Choose how far the agent has opened the matching Skill and watch what enters the context.

Illustrative sizes except one: 40 tokens per label, 1,200 tokens for the manual (the paper’s median SKILL.md, Appendix A.2) and 700 tokens for the script and reference. The three levels follow the progressive-disclosure idea the paper cites from Anthropic’s Agent Skills specification.

Choose “Labels only” and the context holds about 200 tokens of labels. Choose the manual and the matching folder opens: 1,200 more. The extras add a script and a reference. The agent pays only for what it uses.

The harness does the work

A Skill is not model weights, and it is not a tool by itself. It is text and files. It does nothing until a harness shows the labels, loads the right file and lets the agent run the scripts. The paper describes the harness as the layer that exposes tools, manages files and workspace, runs scripts, returns observations and, in a Skill-augmented agent, discovers and loads Skills.

Because a Skill is files, it moves between models. The same folder can sit in front of a Claude, a GPT or a Gemini model. That is why the paper can test one set of Skills on 18 different model and harness pairs.

Here is the loop in a toy form, so the data flow is clear. This is a sketch for this lesson, not the paper’s code.

python# one harness turn, illustrative
labels = [(s.name, s.description) for s in scan("/skills")]   # Level 0: tiny
prompt = task_text + format_labels(labels)                   # what the model reads first
while not done:
    action = model(prompt)                                   # e.g. "cat /skills/waveform-phase-picking/SKILL.md"
    obs = sandbox.run(action)                                # Level 1 or 2 text comes back here
    prompt += action + obs
An agent has 50 Skills installed and gets a task that needs one of them. Under progressive disclosure, what enters its context first?

Chapter 2

One Task, Two Arms

Build the paired test: the same task run with and without Skills, scored by one fixed set of checks

You are a teacher who wants to know if a study guide helps. You do not ask students whether they liked it. You give two groups of equally able students the same exam. One group gets the guide. You mark both exams with the same answer key, and you compare the marks.

SkillsBench is that experiment for agents, repeated on 87 exams. Its unit is the task: one self-contained job, packed in a box, with a fixed way to mark it. This chapter opens the box.

The four parts of a task

Every task ships with four parts, and the agent sees only the first two.

  1. An instruction. A short text, written by a human, that states the goal, the input files, the limits and the output wanted. A knowledgeable person could solve it with no Skills at all.
  2. An environment. A Docker container: a sealed, repeatable computer image with the task data inside and a skills/ folder. Each run starts from a fresh copy, so no run leaves traces for the next.
  3. An oracle. A reference solution that proves the task can be solved. It must pass the verifier 100% of the time before the task is accepted. The agent never sees it.
  4. A verifier. A deterministic test script, run with pytest: the same output always gets the same score. The agent never sees it either.

Why a verifier of plain code, not a second language model that grades the answer? An LLM judge can drift, favor its own style and give different scores on different days. A script with numeric tolerances cannot. The paper rejects judge-based scoring for that reason.

Three arms, one exam

A comparison needs arms: the named conditions under which the same task runs. The paper defines three, and only the Skills differ.

The verifier is one battery of checks. It scores every arm the same way, as the fraction of checks passed. Call the scores rA, rB and rC. Each lies between 0 and 1.

rA
The share of checks the agent passes with no Skills. This is the baseline.
rB
The share of checks passed with the curated Skills mounted.
Δcurated
How much the expert Skills help on this task. Positive means help; negative means harm.
rC
The share passed when the agent solves with only the Skills it wrote itself.
Δself
The gain from self-written Skills, measured against the same baseline rA.

Both gains use rA as the zero point. That is what makes the test paired: the same task, the same container, the same checks and the same tolerance in every arm. Only the Skills change.

A worked toy run

Take a toy task that asks the agent to pick earthquake arrivals from raw waveform files and write a CSV. The verifier has eight checks. This is an invented example to show the arithmetic; the paper’s tasks are real.

Mark one exam three ways

Eight checks, one verifier. Switch the arm and see which checks pass. The bar at the bottom is the score r for that arm.

Toy task and toy outcomes, invented to show the arithmetic. The three-arm design and the two formulas are the paper’s (Figure 3).

In arm A the agent passes 3 of 8 checks: rA = 3/8 = 0.375. With curated Skills it passes 6 of 8: rB = 0.75, so Δcurated = 0.75 − 0.375 = +0.375. With self-written Skills it passes 2 of 8: rC = 0.25, so Δself = 0.25 − 0.375 = −0.125. The self-written Skill made the agent worse. Chapter 8 shows that this happens on average, not only in a toy.

The rules that keep the task honest

The paper sets task rules so the Skill is the only variable. Tasks must be authentic work: no classroom puzzles, no made-up scenarios, no toy or purely synthetic data. They must be hard because of the problem, not because the wording is confusing. The oracle must solve them end to end with no pre-baked answers or magic numbers. Instructions are human-written, and a human owns the final wording.

Now the run itself. For each (agent configuration, task, arm) the benchmark builds a fresh pinned container. It hands the agent the instruction, and the Skills in arms B and C. The agent works until it submits. Then the verifier writes pass or fail. A run that times out counts as a fail only when no healthy replacement exists.

On one task an agent passes 4 of 10 checks with no Skills, 7 of 10 with curated Skills, and 3 of 10 with self-written Skills. What are Δcurated and Δself?

Chapter 3

Building a Fair Benchmark

Follow 400 submitted tasks through the gates that keep answer keys out of the Skills

Imagine a spelling contest where one team’s coach slips the answer sheet into their “study notes”. The team scores 100%. Did the notes help them spell? Or did they just copy? You cannot tell, and the score means nothing.

A Skills benchmark has the same weak spot. If a Skill can hold the answer to one task, the test stops measuring skill and starts measuring copying. The paper treats construction as part of the result for this reason. A benchmark is only as credible as its filter.

Expertise, not answers

The rule is short: a Skill must give expertise for a class of problems, never the solution to one instance. The authors enforce it two ways.

From 400 submissions to 87 tasks

The tasks came from the community. The authors grew a community of 1,400 members and onboarded more than 200 task authors. In the end 142 contributors from academia and industry submitted 400 candidate tasks. Each one had to include all four parts from Chapter 2.

StageCountWhat happens
Public Skills pool2,014,000Counted to show how large the ecosystem is.
Candidate tasks400From 142 contributors, with a task, environment, oracle and verifier.
Public benchmark878 domains; 18 agent configurations evaluated; 9,396 result files selected.

Between the 400 and the 87 sit four automated gates and a human review. The paper keeps the per-gate rejection counts in its appendices. The gates themselves are clear.

The four automated gates

  1. Structural integrity. The required files exist and the folder layout is valid.
  2. Oracle execution. The reference solution must pass the verifier 100%. A task that cannot be solved is rejected.
  3. Instruction provenance. An AI-text detector and a human label check that the instruction was written by a person. The released set is 100% human-authored.
  4. Skill-to-solution leakage. A check rejects task-specific filenames, paths, magic numbers, verbatim oracle commands and expected outputs inside a Skill.

Try the last gate yourself. Each card below is one line from a Skill. Decide whether it is reusable expertise or an answer key for one task.

Be the leakage gate

Read the line. Press Expertise if it would help on any task of this kind, or Leak if it contains a task-specific filename, path, magic number, oracle command or expected output.

The six lines are invented for this lesson. The five things a leak may contain (task-specific filenames, paths, magic numbers, verbatim oracle commands, expected outputs) are the paper’s rule list (Section 3).

Human review

Passing the gates earns a human look. A maintainer spends at least 30 minutes on each task, and the review uses five criteria. Is the data real and complex enough, not toy or synthetic? Is the scenario a realistic professional workflow? Does the oracle solve the task the way an expert would? Are the Skills free of errors and useful beyond this one task? Can a shortcut, such as editing the input data or reading the answer out of the checker, win the task?

The authors also reject tasks where the conditions show no measurable separation, which they call low-signal. That keeps the benchmark sharp. It also means the 87 are a chosen set, not a random sample of all agent work. Read the headline gain as a measurement on this set. That is our reading of the filter, not a claim the paper makes.

What the 87 tasks look like

The authors group tasks by how long a human specialist needs without AI help. 6 tasks are Core (under 60 minutes), 53 are Extended (1 to 4 hours) and 28 are Extreme (over 4 hours). They fall into 8 domains, from 5 to 16 tasks each. Chapter 6 compares those domains.

How the tests are written

The checks matter as much as the tasks. The paper’s contributor rules ask for fewer than ten test cases unless a task justifies more. Each test should cover a distinct criterion, not repeat a similar check. Redundant tests can push pass rates down for no good reason. The oracle should be simple: an Excel-style formula or a short script is preferred over an over-engineered solution, because it shows how an expert would do the job.

Some tasks make files that a program cannot fully judge, such as audio, slides, video or PDF. For those, maintainers inspect the output by hand to check correctness beyond the code assertions. Authors who game the AI-text detector with deliberate grammar errors have their pull requests closed. Authors flagged more than once are closed automatically. These details show how much work the authors put into trust in the score.

Last, the tasks must be hard for the right reason. The paper rejects classroom-style exercises, made-up scenarios and instructions that are hard only because they are confusing. If an agent fails, the cause should be the problem itself, such as an odd file format or a domain trap. That is exactly the kind of failure a Skill can fix, so it is the kind the benchmark wants to test.

A Skill line says: “For this task, write the result to /app/answer.csv and set the cutoff to 0.4137.” Which gate catches it, and why?

Chapter 4

Scoring the Lift

Turn pass or fail into a pass rate, a gain, and an error bar, and learn what each number can and cannot say

Two students retake a test after using the same study guide. Maya goes from 20% to 40%. Leo goes from 80% to 90%. Maya gained 20 points and Leo gained 10. Who got more out of the guide?

Maya gained more points. But Leo had only 20 points left to win, and he won half of them. Maya had 80 points left and won a quarter. Points alone hide this. A fair score for a Skill must say how much of the possible gain it delivered.

Step 1: a score for one task

Each agent runs each task three times in each condition. The verifier gives every run a reward r between 0 and 1: the fraction of checks passed. For task t in condition c the paper averages the three runs.

st,c
The score of task t under condition c, such as no Skills or curated Skills.
⅓
One divided by three, because there are three trials.
∑i=13
Add up the three trials, numbered 1 to 3.
rt,c,i
The verifier’s reward for trial i, between 0 and 1.

Step 2: a score for the whole benchmark

Next, average the 87 task scores. This is the task-macro pass rate, the same choice Terminal-Bench makes. Macro means each task counts once, whatever its number of checks or runs. A task with 12 checks does not outweigh a task with 3.

passc = (1 / 87) × (s1,c + s2,c + … + s87,c)

Now the paired difference. Every condition runs the same task in the same container. So the paper subtracts at the level of (configuration, task) pairs, then averages. The absolute gain is Δ = passskills − passnone, in percentage points (pp). Pairing removes the gap between easy and hard tasks, because each task is compared with itself.

A tiny example shows why pairing helps. Suppose task 1 is easy and task 2 is very hard. An agent scores 0.9 and 0.1 with no Skills, and 0.95 and 0.2 with Skills. Compared as two pools, the means are 0.50 and 0.575, and the huge spread between the tasks hides the shift. Compared task by task, the differences are +0.05 and +0.10, and both point the same way. The paired view asks whether each exam improved, which is the real question.

Step 3: the fraction of headroom closed

For Maya and Leo, ask a better question. How much of the headroom, the distance from the baseline to a perfect score, did the guide close? Headroom is 1 minus the baseline. The paper uses the normalized gain of Hake (1998), borrowed from physics teaching research.

g
The normalized gain: the share of the remaining headroom that Skills closed.
passskill − passvanilla
The absolute gain Δ. “Vanilla” means the no-Skills baseline.
1 − passvanilla
The headroom. A baseline of 40% leaves 60% to win.

Check it on the students. Maya: (0.40 − 0.20) / (1 − 0.20) = 0.20 / 0.80 = 25%. Leo: (0.90 − 0.80) / (1 − 0.80) = 0.10 / 0.20 = 50%. Leo closed twice as much of his headroom.

Now use the paper’s numbers. OpenHands with GLM 5.1 goes from 32.7% to 58.4%. That is Δ = +25.7 pp and g = 25.7 / 67.3 = 38.2%. (The paper prints 38.1% because it works at full precision.) OpenHands with Gemini 3.5 Flash goes from 41.1% to 48.2%. That is +7.1 pp, and g = 7.1 / 58.9 = 12.1%. A strong baseline leaves little room.

Gain or headroom?

The bar is 0 to 100%. Blue is the baseline, warm is the lift, and the outline is the headroom left. Drag the two pass rates or press a preset.

32.7%
58.4%

The five presets are two toy students and three rows of the paper’s Table 2. The whisker is the 95% Wald interval, 1.96 × sqrt(p(1−p)/n), with n = 261 runs (87 tasks × 3 trials), the paper’s formula from Appendix G.

Why the mean row is not what you expect

The paper averages 18 agents and reports a gain of +16.6 pp, from 33.9% to 50.5%. Plug the means into the formula: 16.6 / (100 − 33.9) = 25.1%. Yet the paper prints 25.5%. The reason is that it computes g for each of the 18 agents first, and only then averages. An agent with a low baseline has a large headroom, so the two orders of averaging differ. Read the 25.5% as the typical agent’s gain, not as a gain computed from the average agent.

The error bar

Each pass rate carries a 95% interval from the binomial formula 1.96 × sqrt(p(1 − p)/n). Take OpenHands with GPT-5.5 at p = 0.673 and n = 261: the half-width is 1.96 × sqrt(0.673 × 0.327 / 261) = 5.7 pp. A small gap between two agents, a few points, sits inside that. Our reading: the formula treats the 261 runs as independent, but three runs share each task, so the true uncertainty is probably a little wider.

Agent X goes from 50% to 75%. Agent Y goes from 80% to 90%. Which statement is correct?

Chapter 5

The Main Result

Read the 18-row table: every agent gains, the gains differ a lot, and the harness matters

Now the exam results come in. The authors tested 18 pairs of a model and a harness. A configuration here means one such pair, such as Claude Code running Claude Opus 4.7. The harnesses were OpenHands, Claude Code, Codex CLI and Gemini CLI. All runs used temperature 0, and each task ran three times in each condition.

Table 2 of the paper is the heart of the work. The device below holds all 18 rows. Read it before the findings.

One more detail on how to read the pass rates. Each cell is a task-macro average, as Chapter 4 defined it, so a rate of 50% does not mean the agent solves exactly half the tasks. It means the average, over 87 tasks and three trials, of the fraction of checks passed. A task may be half solved in one trial and fully solved in the next. A number like 67.3% therefore blends tasks the agent always passes, tasks it never passes, and tasks it sometimes passes.

Also look at the error bars. Each pass rate in the paper’s Figure 1 carries a 95% interval of about five or six points. Two agents a point or two apart are not reliably different. The lifts, though, are large: even the 4.1-point lift of Gemini 3.1 Flash Lite is a paired difference on the same 87 tasks. So the claim that all 18 configurations improve is stronger than any single pairwise ranking of agents.

The 18-row table, drawn

Each row is one configuration. The blue dot is no Skills, the warm dot is curated Skills, and the line between them is the lift. Choose a sort, then tap a row for its numbers.

All 36 pass rates and the lifts are the paper’s Table 2. OH is OpenHands, CC is Claude Code, CX is Codex CLI and GC is Gemini CLI. The normalized gain g in the read-out is computed here from the two rates and may differ from the paper’s printed g by 0.1.

Finding 1: every configuration gains, by very different amounts

A note on the setup before the findings. The paper reports results at the level of the model and harness together, because the commercial harnesses tie model behavior, context building, tool use and execution control closely. It runs everything at temperature 0, so the randomness left is small, and it still repeats each cell three times to average it out.

All 18 lines slope up. The mean pass rate goes from 33.9% to 50.5%, a lift of 16.6 points. But the spread is wide, from +4.1 points to +25.7. Most configurations gain ten points or more. OpenHands with Gemini 3.1 Flash Lite gains only 4.1, almost nothing. So the effect of Skills is a property of a specific agent, not of Skills in general.

Finding 2: the strongest agents are not the biggest winners

The top with-Skills scores are OpenHands with GPT-5.5 (67.3%), Codex with GPT-5.5 (66.5%) and Claude Code with Opus 4.7 (61.2%). The biggest lifts belong to others. OpenHands with GLM 5.1 gains 25.7 points and closes 38.1% of its headroom. Gemini CLI with Gemini 3.1 Pro gains 24.8. OpenHands with DeepSeek V4 Pro gains 23.2.

The opposite case is OpenHands with Gemini 3.5 Flash. It starts high, at 41.1%, but gains only 7.1. High base skill does not mean high Skill benefit. Find its row in the device: the two dots sit close together.

Finding 3: the harness changes what a model gets from Skills

Three models ran in more than one harness. Same model, same Skills, different loop around it:

ModelHarnessNo SkillsWith SkillsLift
GPT-5.5OpenHands51.5%67.3%+15.8
GPT-5.5Codex CLI46.8%66.5%+19.7
Gemini 3.1 ProGemini CLI36.0%60.8%+24.8
Gemini 3.1 ProOpenHands33.8%52.8%+19.0
Claude Opus 4.7Claude Code43.0%61.2%+18.2
Claude Opus 4.7OpenHands42.1%53.1%+11.1

Gemini 3.1 Pro reaches 60.8% in its own CLI and 52.8% in OpenHands, an eight-point gap. Claude Opus 4.7 shows the same pattern: 61.2% against 53.1%. GPT-5.5 is nearly equal in both. The lesson: a Skill is not extra context alone. The harness decides how Skills are found, shown, loaded and run, and that changes the benefit. One caveat from the paper’s appendix: Claude models were trained with awareness of the Agent Skills format, which may help them read it.

Finding 4: finding the Skill is rarely the problem

Did the agents even open the Skills? The paper counts the Skill invocation rate: the share of curated-Skills trials where the agent read or used a Skill shipped with the task. Codex with GPT-5.5 did so in 259 of 261 trials, 99.2%. OpenHands with GPT-5.5 reached 92.0% and Gemini CLI 90.4%. Lower rates exist: 74.3% for OpenHands with Opus 4.7 and 69.3% for DeepSeek V4 Pro.

Now compare the pass rate among trials where the Skill was invoked with the overall pass rate. For Codex with GPT-5.5 they are 66.2% and 66.5%. Opening the Skill is not the bottleneck. The paper concludes that the remaining failures often happen after the agent already has the Skill in hand. A high invocation rate does not guarantee a high pass rate.

Gemini 3.1 Pro scores 60.8% with Skills in Gemini CLI and 52.8% in OpenHands. What does the paper conclude?

Chapter 6

Where Skills Help

Compare eight domains and find that Skills fill gaps in what the model already knows

A cook with a good recipe book gains little on a simple omelette and a lot on a soufflé she has never made. The book fills a gap in what she knows. If the gap is already small, the book adds little.

The paper asks if Skills behave the same way. Do they help most where the model knows least? To test it, the authors group their 87 tasks into 8 domains and compare no-Skills and curated-Skills pass rates inside each. Table 3 gives the answer.

Eight domains, eight different lifts

The numbers are averages over tasks and over all 18 configurations. Each domain has from 5 to 16 tasks, which matters for how much to trust a bar. Natural Science covers astronomy, seismology, hydrology, materials, physics and biomedical analysis. Media and Content Production is the smallest, with 5 tasks.

Which domains carry the average?

Each row is a domain: blue is no Skills, warm is curated Skills. Press a domain button to leave it out and see the pooled average of the rest, weighted by the number of tasks.

The eight rows (N, no Skills, with Skills) are the paper’s Table 3. The pooled rate is the task-weighted mean computed here; with all eight domains on it reproduces the paper’s 33.9% and 50.5%.

With all eight on, the pooled numbers are the headline: 33.9% to 50.5%. Switch off Natural Science and the lift shrinks, because that domain has 14 tasks and the biggest gain. Switch off everything except Software Engineering and you get +11.6 points. The headline is an average of unequal parts.

Do the pooling by hand for two domains. Natural Science has 14 tasks and Media has 5. Their pooled no-Skills rate is (14 × 42.0 + 5 × 23.3) / 19 = 37.1%. Their pooled with-Skills rate is (14 × 70.8 + 5 × 47.4) / 19 = 64.6%. The lift is +27.6 points, close to Natural Science alone, because it carries 14 of the 19 tasks. That is what weighting by N does.

Finding 5: Skills help most where the model knows least

The ranking by lift is Natural Science (+28.8 points), Media and Content Production (+24.1), Cybersecurity (+18.9), Industrial and Physical Systems (+15.7), Finance and Economics (+14.2), Office and White Collar (+12.5), Software Engineering (+11.6) and Mathematics and Operations Research (+9.7). Every domain gains.

The paper offers a reading. The top domains need specialized procedures that pretraining covers poorly: scientific signal processing, security analysis and multimedia conversion workflows. The bottom domains, software and math, are heavily covered by training data and by tools, so there is less to fill. Note this is the authors’ interpretation. The paper does not test it by controlling for how much pretraining data each domain has.

Look at a worked case. Natural Science: 42.0% to 70.8%, so Δ = 28.8 points and g = 28.8 / 58.0 = 49.7% of headroom. Math and OR: 45.7% to 55.4%, so Δ = 9.7 points and g = 9.7 / 54.3 = 17.9%. The same Skills idea closes half the headroom in one domain and a sixth in the other.

The best and the worst individual tasks

Domain averages hide large swings. The ten tasks with the biggest gains span prefix-cache replay for language-model serving, intrusion detection, SEC financial filings, wet-lab analysis, hydrology, geoscience, 3D parsing, optimization and dependency auditing. Their mean improvement is +67.0 points.

Two examples show the scale. The task llm-prefix-cache-replay goes from a 1.9% pass rate to 94.4% with Skills. The task dapt-intrusion-detection goes from 0% to 81.5%. Without the Skill, almost no agent could do these jobs. With it, almost every agent could. Chapter 7 returns to what those Skills contained.

At the other end, 13 of the 87 tasks show a negative lift. The worst is a drop of 7.4 points. Chapter 8 covers why.

Think of what this means for a team. If you buy the average, you buy a number that no single task shows. Some tasks jump by 80 points, some barely move, and a few drop. A fair pilot therefore picks the tasks that look like your own work, runs the pair of conditions on them, and reads the spread, not only the mean. The paper makes this point itself: the effect of a Skill is an empirical property of a specific agent and task, so measure it where you plan to use it.

Difficulty tiers

The paper also stratifies the 87 tasks by how long a human specialist would need without AI help: 6 Core tasks (under an hour), 53 Extended (1 to 4 hours) and 28 Extreme (over 4 hours). That is a design property of the benchmark. The main text reports lifts by domain and by task, not by tier, so do not infer a tier effect from this lesson.

One caution about small groups. Media and Content Production has 5 tasks, so one or two tasks moving a lot can swing its average by several points. Natural Science and Software Engineering, with 14 and 16 tasks, are steadier. When you read a domain bar, read its N too. Device 6 puts N in the weighting for exactly this reason.

Natural Science rises from 42.0% to 70.8% and Math and OR from 45.7% to 55.4%. What is the best reading?

Chapter 7

How to Write a Skill

Measure how many Skills and how much text help most, and why less beats more

You are packing a day bag for a hike. One map and one compass help. A map, a compass, a guidebook, three trail notes and a dictionary just slow you down. You carry them, you open them, and you stop trusting your own eyes.

Skill authors face the same choice. More content feels safer. The paper checks whether it is, with two ablations. An ablation removes or varies one ingredient to see what it contributes. Here the ingredients are the number of Skills and the length of the Skill text.

How many Skills?

The authors group the 87 tasks by how many Skills the task folder holds. Each group is scored with and without Skills, averaged over the 18 configurations.

How long should the text be?

They also bucket tasks by the total size of the SKILL.md text, using the 25th, 50th and 95th percentile as cut points. The four buckets are compact, standard, detailed and comprehensive. Flip between the three views below.

Fewer, shorter, sharper

Blue is no Skills, warm is with Skills. Choose a view. The read-out names the best bucket and the worst.

All values are the paper’s: Table 8 (Skill quantity), Table 9 (Skill complexity) and the scale comparison in Finding 6. The buckets hold different tasks with different baselines, so they are a correlation, not a controlled experiment.

Finding 6: focused beats exhaustive

On quantity, tasks with one Skill gain +18.0 points. Tasks with two or three gain +19.0. Tasks with four or more gain only +10.1. On length, compact and standard Skills gain +19.0 and +21.5. Detailed ones gain +14.5. Comprehensive documentation gains +0.7, which is flat.

Why would more help less? The paper suggests overhead and conflicting guidance: a longer text costs the agent attention and may contradict itself. Recall Chapter 0, where eight Skills cost nearly ten thousand tokens. Our reading adds a caution. Look at the standard bucket: its no-Skills baseline is 19.8%, while compact is 37.6% and detailed 39.3%. These are different tasks, so a comparison across buckets mixes Skill style with task difficulty. The direction is clear, but the exact sizes are not a clean causal result. The comprehensive bucket has only 5 tasks.

Here is a plain way to picture the mechanism. A one-page Skill that says “check the time units, use this band, write columns in this order” is something an agent can hold in mind while it works. A forty-page handbook asks the agent to decide which part matters. It may pick the wrong part, or follow a rule that does not fit. The shorter text leaves less room to go wrong and costs fewer tokens.

The same logic explains the fifth habit. A description such as “helps with data” matches almost every task, so the agent may open the Skill when it should not, or skip it when it should. A description such as “use when asked to find P and S arrivals in raw seismic waveform files” matches on the first scan. A sharp label is the cheapest part of the Skill to write and one of the most useful.

A small model with Skills can match a larger one without

The third view shows a scale effect. OpenHands with MiniMax M2.7 scores 18.1% with no Skills and 34.9% with them. That exceeds OpenHands with GLM 5.1 with no Skills (32.7%) and OpenHands with MiniMax M3 with no Skills (29.7%). So Skills can partly make up for model size on procedural tasks. It is not a free swap: the paper limits the claim to procedural work, and Chapter 8 shows where Skills fail.

Five habits of the best Skills

The authors audited paired runs on the ten tasks with the biggest lift (mean +67.0 points) and found five repeated patterns. Treat them as a checklist for writing a Skill.

  1. Ship a script with calibrated defaults. Do not only describe the algorithm. Provide the code, with sane settings.
  2. Name the canonical data source and its parsing quirk. Say where the true data lives and what is odd about reading it.
  3. State the file-format limit the verifier checks. If the output must have a given structure, say so.
  4. Surface the algorithmic invariant. Tell the agent what must stay true, such as a conserved quantity or a valid range.
  5. Write a task-specific description line. The agent should match it on the first scan, which is Chapter 1’s drawer label.

The paper sums it up: optimize for the verifier-facing detail that an agent cannot infer, not for completeness.

A proposed fix: the complexity contract

Chapter 8 shows that some Skills hurt by prescribing a heavy pipeline. The authors propose extending the frontmatter with a complexity contract: the expected tool and token cost, the boundaries where the Skill applies, and a required lightweight fallback. Here is a sketch of the idea. The field names are ours, not the paper’s.

SKILL.md# illustrative sketch of the paper's proposal
---
name: trajectory-optimization
description: Use for smooth control-path tasks with hard limits.
cost: about 8 tool calls, heavy solver
applies_when: the limits are non-linear and a plain interpolation fails the check
fallback: if a simple spline passes the limit test, stop there
---
A team plans to attach seven overlapping Skills to every task so the agent “has everything”. What does Table 8 suggest?

Chapter 8

When Skills Hurt

Study the three ways a Skill makes an agent worse, and why a Skill the agent writes itself does not work

A friend gives you a recipe for a weeknight pasta. It says: first, build a sous-vide rig. You only have a pan, and the pasta would have been fine in the pan. You follow the recipe, waste an hour, and the dinner is worse than if you had ignored it.

Skills can fail in this way. On 13 of the 87 tasks the paper measures a negative lift: the agent does worse with the Skill than without. The largest drops are 7.4 points on exam-block-sequencing and on suricata-custom-exfil, and 5.6 points on each of four more tasks. The authors audited those runs, comparing each with-Skills trajectory with its no-Skills twin.

An audit of this kind reads the agent’s step-by-step record, called a trajectory: every command it ran and every result it saw. Putting the with-Skills and no-Skills trajectories side by side shows where they split. At the split you can see whether the Skill caused the agent to take a longer road.

Three ways a Skill hurts

Three patterns repeat. Each is a symptom you can see in a trajectory, a measurement you can take, and a fix you can write into the Skill.

All three share one root cause, in the paper’s words: a single “correct” pipeline with no applicability boundaries and no lightweight fallback. The Skill is right in principle and too heavy or too brittle in practice. That is why Chapter 7 proposed a complexity contract.

Name the failure

Read the story. Pick the pattern it matches: A heavy pipeline, B displaced strategy, C undebuggable solver, or Fine if the Skill is written well.

The four stories are invented for this lesson to illustrate the paper’s three patterns (Appendix F.3). The paper’s task names are real, but none of these stories is quoted from a trajectory.

Skills the agent writes for itself

Chapter 2 defined arm C: a fresh agent session writes Skills with Anthropic’s skill-creator, and a second fresh session solves the task using only those. The idea is attractive. If agents could write their own Skills, nobody would need to curate them.

The measurement says no. On the three dedicated-harness configurations, self-written Skills land below the no-Skills baseline, while curated Skills add 18 to 25 points.

ConfigurationNo SkillsSelf-writtenCurated
Claude Code with Opus 4.743.0%34.9% (−8.1)61.2% (+18.2)
Codex CLI with GPT-5.546.8%35.5% (−11.3)66.5% (+19.7)
Gemini CLI with Gemini 3.1 Pro36.0%24.5% (−11.5)60.8% (+24.8)

The authors audited twelve solver trajectories and found four mechanisms.

  1. The packs go unused. In 10 of 12 audited Codex and Gemini CLI trajectories, the solver never listed, read or mentioned the generated Skills. A pack nobody opens is dead weight.
  2. Writing displaces working. In Claude Code, the writer and the solver share one trial. On threejs-to-obj the writing used up the trajectory before a solution was saved, although a correct answer had been built.
  3. Confident errors become load-bearing. On 3d-scan-calc a generated pack asserted the coordinates were millimetres and hard-coded a 1000 times conversion. Both runs trusted it and were off by three orders of magnitude. The curated Skill carried the opposite warning.
  4. The best win is leakage. On fix-visual-stability, the self-written pack scored 1.0 against 0.0 for the curated one. It worked because the writer ran inside the graded sandbox and named the exact components and test ids. That is an answer key, not reusable procedure.

Two caveats from the paper. Some zeros are measurement artifacts: the 3d-scan-calc verifier was later patched to accept the millimetre reading. And the Claude Code self-written runs used effort level max, while its baseline used high. The direction of the gap in the table holds regardless.

Limits to remember

The paper is plain about what it does not show. It tests terminal-based, containerized tasks, so GUI agents and long multi-agent workflows are not covered. A Skill adds context, so some gain may come from extra text rather than procedure. The authors call for length-matched controls, such as random or irrelevant text and retrieval-only documentation. They also note that containers do not give perfect determinism, and that training data may have leaked. Skills for the whole ecosystem, including low-quality ones, are future work.

A self-written Skill pack scores 1.0 on a task where the curated Skill scores 0.0. According to the paper’s audit, what is the most likely explanation?

Chapter 9

The Field Guide

Keep the numbers, the checklist, the core code and the links in one place

You can now rebuild SkillsBench from memory. A Skill is a folder of procedural know-how that a harness loads in stages. A fair test runs the same task, in the same container, under three arms: no Skills, curated Skills and self-written Skills. One fixed battery of deterministic checks scores every arm. The gain is reported two ways: in points, and as the share of headroom closed. The result is real but uneven. Skills help every agent, help most where the model has procedural gaps, help less when they are long or numerous, and sometimes hurt.

The numbers that matter

WhatNumberWhy it matters
Public Skills counted2,014,000The ecosystem is large and unmeasured.
Candidate tasks, contributors400, 142The community supplied tasks; gates and review kept 87.
Final tasks, domains87, 86 Core, 53 Extended, 28 Extreme.
Configurations, result files18, 9,396Four harnesses; three trials per task and condition.
Mean pass rate, no Skills to curated33.9% to 50.5%+16.6 points; mean g is 25.5%.
Range of lifts+4.1 to +25.7Skill efficacy belongs to one agent and harness.
Self-written Skills versus none−8.1 to −11.5Agents cannot yet write their own useful Skills.
Largest and smallest domain lift+28.8 and +9.7Natural Science and Mathematics and OR.
Tasks with a negative lift13 of 87Worst drop −7.4 points.
One Skill, 2 to 3, 4 or more+18.0, +19.0, +10.1Focused beats exhaustive.
Standard versus comprehensive text+21.5 and +0.7Verifier-facing detail beats completeness.
Top ten tasks, mean lift+67.0Skills can make a task go from near zero to solved.

Terms in one line each

TermMeaning
SkillA file-based package of procedural guidance, with a required SKILL.md.
HarnessThe program around the model that gives it tools, files and the loop.
Progressive disclosureShow labels first, open the manual only for a match.
ArmOne condition of the paired test: no Skills, curated or self-written.
Oracle, verifierThe hidden reference solution and the deterministic pytest checks.
Task-macro pass ratePer-task mean of three trials, then the mean over 87 tasks.
Normalized gain gThe lift divided by the headroom: (pskill − pnone) / (1 − pnone).
Skill invocation rateThe share of curated-Skills trials where the agent opened a task Skill.

The core as code

This is a sketch of the evaluation loop, written for this lesson. It is not the authors’ code; their harness is the open-source BenchFlow. Each function matches a chapter.

pythonimport math

def run_arm(agent, task, arm):                          # Ch 2: one fresh container per run
    box = new_container(task.env)                          # data + skills/ folder
    if arm == "none":  box.empty("skills/")
    if arm == "self":  box.replace("skills/", agent.write_skills(task.instruction))
    agent.solve(task.instruction, box)                     # never sees oracle/ or verifier/
    return task.verifier(box)                             # fraction of checks passed, in [0, 1]

def task_macro(agent, tasks, arm, trials=3):            # Ch 4: mean of means
    per_task = [sum(run_arm(agent, t, arm) for _ in range(trials)) / trials for t in tasks]
    return sum(per_task) / len(tasks)

def report(agent, tasks):
    p0 = task_macro(agent, tasks, "none")
    p1 = task_macro(agent, tasks, "curated")
    g  = (p1 - p0) / (1 - p0)                              # share of headroom closed
    n  = 87 * 3
    ci = 1.96 * math.sqrt(p1 * (1 - p1) / n)               # Wald 95% half-width (App. G)
    return dict(delta_pp=100 * (p1 - p0), g=g, ci_pp=100 * ci)

Checklist before you trust a Skill

Where this sits

SkillsBench belongs with the agent benchmarks that score a fixed agent on tasks, such as Terminal-Bench and SWE-bench. Its difference is the paired design: it measures the effect of an add-on, not the agent alone. The authors say the same recipe can test other add-ons, such as retrieval pipelines, memory stores or scaffolding. This paper is a reading of Lecture 5, Harness Engineering and Multi-Agent Systems, which asks how the loop around a model is built and improved.

Keep going

Credit: SkillsBench is by Xiangyi Li, Yimin Liu, Wenbo Chen, Bingran You, Dawn Song and their co-authors (BenchFlow, UC Berkeley, Stanford, CMU and others). Every number here is theirs unless marked illustrative. The explanations, devices and toy examples are ours.

The takeaway. A Skill is a measurable claim: this folder makes this agent better at this kind of task. SkillsBench shows how to test it fairly. Often the claim holds, by about 17 points on average. It holds less when the Skill is long, wrong or heavy, and it does not hold when the agent writes the Skill alone.

Now press Present or Teach and explain the paired design from memory: the three arms, the hidden verifier, the normalized gain, and one reason a Skill can hurt. Then go back to the grid at the top, pick the Gemini CLI, and explain why self-written Skills land 11.5 points below no Skills at all.

You want to know if your team’s new Skill helps your agent. Which plan follows SkillsBench?
SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks
Read the paper (arXiv 2602.12670) · MIT MAS.S62 course schedule · Back to Lecture 5