The Same Rules File Was Worth 66 Points, Then 2

0:00Bella: Today is November 25, 2026, and this is AI Papers: A Deep Dive, the show where we take the most useful new AI research and explain it clearly enough that you can use it. This episode looks at the research published between November 20 and November 25, 2026. We went through 517 new research papers and 22 blog and release posts, and we picked four papers and no posts.

0:25Finn: All four papers are about things you write or configure yourself. Those include the skill file or rules file that gives an agent reusable instructions, the way you split work between models, and the words you add to a prompt. The most interesting finding came from a question-answering test. The model received a passage and had to return a short answer. Researchers compared its accuracy with and without an instruction file under different setups. The same eighteen-word file added 66 percentage points on one setup and 2 points on another, with the same model and tasks. So the value of that file belongs to the whole setup around it, and not to the file alone.

1:07Bella: Okay, so here's what you're going to learn today. You will learn why that happens, and how to test your own files for it. You will learn a harness pattern, a way of arranging the program around a model, that cuts frontier-model cost to about a third by handing routine work to a small local model. You will learn what a security paragraph in your standing instructions really does, including the extra packages it brings in. And you will learn how to tell a rule that describes your code from a rule that describes a wish.

1:41Finn: Before we get to the first paper, it helps to understand its experiment, because the same logic comes back later. It uses a factorial design. That means running the same test cases through every combination of the things you want to study. You can then compare runs where only one thing differs.

2:01Bella: Here is an analogy. Imagine a trading desk that wants to cut order-entry errors, and it has two fixes. The first is a new order-entry screen that validates the input. The second is a note taped to the monitor that says "quote in cents, not dollars." If the desk introduces both fixes in the same week and errors drop, nobody can say which one helped. So instead, you take one fixed batch of orders and run it four ways. You use the old screen without the note, then with the note. And you use the new screen without the note, then with it.

2:36Finn: When you do that, you may see something a simple average would hide. The note looks excellent on the old screen, but it is worth nothing on the new screen, because the new screen already blocks the same mistake. That is called an interaction. It means the two fixes do not simply add up. The note's value depends on which screen it sits next to.

2:58Bella: Now, here is a worked example, with numbers made up for teaching. Imagine ten question-answering tasks, where your score is the number answered correctly. On a bare setup, the agent gets 2 out of 10. You add one short instruction file, and it gets 8 out of 10, so the file is worth six points on that ten-point score. Then you take the same ten tasks to a richer setup. There, the agent gets 7 without the file and 7 with it, so the file is worth zero. Because the tasks were identical, you cannot explain that away by saying the second batch was easier. The richer setup was already doing the file's job.

3:37Finn: So that is the concept: compare the same tasks with one thing changed, and check whether a fix's value depends on the other fixes around it. The first paper builds that same grid for real, at a very large scale.

3:51Bella: This paper comes from researchers at the University of Southern California and Amazon. They asked when each common way of improving an agent helps, and which failure each one repairs. They looked at three ways. The first is a skill, a short reusable instruction file given to the agent along with its task. The second is a richer harness. The harness is the program around the model that runs the loop of tools and retries and assembles what the model sees. The third is a larger budget of tokens, turns and time.

4:25Finn: Their tasks included answering questions, writing code and manipulating spreadsheets. They tested the same tasks under different combinations of instructions, models, surrounding programs and budgets. The grid contained 1,872 tasks from nine benchmarks. Those were crossed with four models, four skill conditions, four harness levels and three budgets. They ran every combination three times, for nearly 0.9 million agent runs. That let them compare combinations with only one thing changed.

4:56Bella: The levels of the program around the model matter here. The lowest level is just the benchmark's own prompt. The next adds a standard answer interface, which tells the model what form a legal answer must take. The level after that feeds execution errors back to the model and allows up to three retries. And the fourth adds one chance to revise, without showing the model whether its answer passed.

5:22Finn: One benchmark is called SQuAD. It is a question-answering test where the model gets a passage and must return the short piece of text that answers the question. It is scored by exact match, so a correct name inside a longer sentence does not pass. In one example, the question asked which company won a contest to have its ad shown for free during the Super Bowl. Without a skill, a small open-weight model answered in a full sentence and failed that check. An open-weight model is one you can download and run on your own hardware.

5:57Bella: Then they added an eighteen-word skill, which said, "Use only the supplied context and return the shortest span that answers the question." With that instruction, the model answered with just the company name, Death Wish Coffee, and passed. Across the test, the instruction added about 66 percentage points to accuracy on the bare setup. These are points added to the percentage correct, not a relative percentage improvement. But on the setup that feeds errors back, the same instruction added only about 2 points.

6:30Finn: The reason is the one from our desk analogy. Once the program has an answer interface, that interface demands a short answer, so the note on the monitor has almost nothing left to do. The authors checked this another way. They re-scored the bare runs by asking only whether the right answer appeared somewhere in the response. By that measure, the model without the skill was already right almost every time. So the skill did not add knowledge. It fixed the format.

7:01Bella: There is a more damaging version of that interaction. The researchers had the small model build a skill by repeatedly revising instructions based on scores from its own runs. Then they gave that skill, unchanged, to a stronger model, GPT-5.6-sol. They tested it on questions that required combining evidence from supplied passages. The stronger model got 62 percent right without the skill, but only 13.6 percent right with it.

7:28Finn: That is a collapse, and adding error feedback and revision did not repair it. The reason is specific. The skill told the model to work through a fact-extraction worksheet, and the stronger model wrote that worksheet into the answer field. The correct answer was still present in about three quarters of its responses, about the same as without the skill. But the answer field held the worksheet rather than just the answer, so it was marked wrong.

7:57Bella: I want to be careful, because you might hear this as "skill files do not help," and that is not the claim. In this study, the skill the agent evolved for itself failed to beat its short human-written starting skill on five of seven benchmarks. Those starting instructions were only 17 to 85 words long. The claim is narrower: a file's gain depends on what your model and the program around it already do, so you have to measure it.

8:25Finn: The way to measure it is an ablation, meaning you remove one component and run again. Here is something to try this week. Take one reusable instruction file you rely on, remove it, and re-run a set of your own tasks. If the score barely moves, the surrounding program was already doing that job, and the file is only costing tokens. In the paper, two kinds of skill roughly doubled token use while leaving the score within five points in most comparisons. In that case, cut the file down or drop it. If the score falls, keep the file, but repeat the test whenever the underlying model is upgraded. That is when the collapse we just described can happen.

9:08Bella: I would call these results solid. The comparisons use the same tasks, the scale is large, and the data is released. The main caveat is that every skill was built by one small model. So the cross-model result tells you about moving a skill between models, not about how a stronger model would write one.

9:27Finn: Okay, so that paper asks what the program around your model is already doing for you. The natural next question is who should do each part of the work, and that is the second paper.

9:40Bella: This one is called Delegent, and it comes from Lingwei Gu and Jimmy Lin at the University of Waterloo. They start from an observation about cost. A coding agent is a model wired to tools so it can read, edit and run code. It re-reads its whole conversation at every step. So a hundred steps means paying for a hundred ever-longer prompts. And much of that work is routine, like finding the relevant code or running tests.

10:07Finn: Claude Code already hands some of that work to subagents. A subagent starts with a separate model call for one narrow job. It can then make further calls and use tools before reporting back to the main agent. In the authors' setup, the default subagents ran on the same expensive frontier model. On the long coding tasks they measured, those helpers accounted for more than half of the cost.

10:32Bella: The authors left Claude Code unmodified and put a relay in front of it. The relay sends calls from the main loop to the frontier model, GPT-6.1-Sol, and calls from helpers to a small model on a local GPU. An instruction tells the lead to delegate investigation and testing, but keep the main code edits for itself. This is not a router choosing one model for the whole task. The frontier model always leads and writes the final patch. They compared this with the same setup sending every call to the frontier model. Both versions used prompt caching, which reduces the bill for repeated prompt text.

11:12Finn: They tested this on DeepSWE, a benchmark of long, hard coding tasks. A task counts as solved only when the final patch passes hidden tests, meaning tests the agent never sees. The local model contained 27 billion parameters. Parameters are the learned values inside a model. With that local model doing the routine work, frontier cost fell from 2 dollars and 11 cents per task to 70 cents, about a third of the original bill. These are frontier-model charges, not the full cost of running local hardware. The number of tasks solved stayed at 29 out of 50.

11:49Bella: The surprise came with a much smaller helper. They swapped in a model with 2 billion parameters, small enough to run on a laptop. On its own, that model solved none of the DeepSWE tasks they tried it on. Yet as the helper, it saved just as much frontier cost, and the team solved 30 out of 50.

12:09Finn: The reason is that the lead keeps the hard coding work. It asks the helper to go and look, then report back. A weaker helper simply makes more calls to do that looking. And only its final report returns to the lead, not all the tool output it went through along the way.

12:27Bella: Now, the part you can use is the short instruction the authors add to CLAUDE.md, the standing instruction file Claude Code reads at the start of every session. Without that instruction to divide the work, the setup with the tiny helper solved only 22 of 50 tasks. With it, the same setup solved 30. So the instruction protects quality.

12:49Finn: Here is what it says, in plain words. Tell the lead that its helpers run on a small, cheap model. Remind it that every step of its own re-reads the whole conversation. Ask it to delegate investigation and test-running, but make the code edits itself. Ask each helper for a report of at most 150 words, with file paths and line numbers. Tell the lead to skip maintaining a task list and to verify a reported fact before depending on it.

13:18Bella: So add that section to your own standing instruction file, and run the same task with and without it. Compare quality, the number of turns and the time. The paragraph guides delegation; sending helpers to a local model also requires the relay we described. But in the paper, the instruction alone, with helpers still on the frontier model, brought cost down to 60 percent of the original bill. If quality drops, tighten the clause keeping code edits with the lead. That is the clause the authors found keeps a weak helper from losing tasks.

13:54Finn: There are two costs to consider. Delegation is slower: the median DeepSWE task took 38 minutes instead of 25. On short tasks, the saving shrinks, and sometimes delegation cost more. The lead model also matters. With Claude Opus 5.5 leading, cost fell only to 69 percent of its bill without delegation, because that model already takes far fewer steps on its own.

14:18Bella: I would call the Delegent results solid, with the caveat that each coding set had only 50 to 75 tasks, and only two frontier models were tested.

14:28Finn: All right, we have looked at who does the work. Now we turn to the words themselves, and what one paragraph in an instruction file does.

14:38Bella: This third paper is from Darko Andročec at the University of Zagreb. It uses the same matched logic as our concept segment. The author asked coding tools to build web applications, comparing prompts with and without a fixed security paragraph. He wrote 100 specifications and froze them. Each specification was built four times: by Claude Code and by Codex CLI, each with a plain prompt and with the extra paragraph. The functional requirements stayed identical. The paragraph asked for strong password hashing, input validation, secure login sessions, restrictions on whose resources a user could access, and no hardcoded secrets. All 400 applications went through the same security scanners.

15:24Finn: One caution before the results: a "finding" here is something a scanner reported, not a confirmed, exploitable bug. With that said, the paragraph cut findings per application by about 35 percent, and worked about equally through both tools. The total of high-severity findings in the agent's own code fell from 103 to 54. That is a real improvement in what the scanners reported, from one paragraph.

15:50Bella: But there was a side effect. The number of third-party packages the agent declared roughly doubled, from about three per application to about six. Each package can bring published security warnings, called advisories. So high-severity advisories coming in through packages rose from 198 to 344.

16:10Finn: The author explains why. The agent reads "hash passwords" as a feature to build, not as a constraint on features already requested. Twenty specifications described applications with no users and no accounts at all. Yet in the comparable builds of those applications, 95 percent of the security-prompted versions installed a login or session package. A session package keeps track of a user's state between requests. Without the security paragraph, 45 percent installed one. So the paragraph often caused the agent to build machinery the application did not need.

16:47Bella: Every extra high-severity advisory traced back to just three packages. Those were the password-hashing library bcrypt, the database driver sqlite3, and connect-sqlite3, which stores login-session data using that database. They compile native code during installation, and the build tools they pull in are where the advisories sit. Among builds using those capabilities, the ones that chose lighter equivalents carried no high-severity advisories at all.

17:17Finn: So put a security paragraph in your standing instructions, but name the libraries you want, not just the capabilities. For the packages in this study, the alternatives included bcryptjs and argon2 for password hashing, and better-sqlite3 for database access. Then run a dependency audit on what the agent installed. If the audit shows advisories from a package you never asked for, ask the agent to use the lighter equivalent, or remove the feature if the specification never needed it.

17:50Bella: I would call this study solid in its design, with two limits. The outcome is scanner reports, and each application was generated only once, so the study does not measure variation across repeated attempts. It also repeats the first paper's lesson: an intervention is never free.

18:09Finn: So we have asked what an instruction file is worth and what its words do. The last question is whether the file is even true.

18:17Bella: Two researchers at the University of Victoria, Bachan Ghimire and Daniela Damian, checked context files against real code and its history. These included CLAUDE.md and AGENTS.md, files that give coding agents standing instructions and project information. They checked two kinds of statement across 3,346 open-source projects. The first was a path claim, such as "the database code lives in this folder." The second was a dependency rule, such as "this part of the code must never import that part."

18:50Finn: The path claims held up well. After using human review to adjust the automated checks, the researchers estimated that about 98 percent were correct. The dependency rules were a different story. Of 184 rules they could check, 33 were confirmed broken on the very day they were written. That is 18 percent, and nearly all stayed broken.

19:13Bella: In most of those cases, the code that broke the rule was there before the context file existed. One project wrote a rule against importing the standard JSON library in business code. That rule had 107 violations when it was written, and still had 107 at the end of the study. So the rule described the architecture the team wanted. The agent received that rule alongside a hundred counter-examples in the code it was reading.

19:41Finn: Here is the habit to take away. Take each "never import" rule in your own project instructions and search the codebase for violations now. If the code already breaks the rule, you have two choices. You can fix the code, or rewrite the rule as a target with named exceptions. For example, you could write, "this folder is legacy and is being phased out, so no new imports from it." That tells the agent why existing imports are present without giving it permission to add more.

20:13Bella: I would call these results solid, because the checks were ordinary programs and a person reviewed every flagged rule. The paper also compared commits made with an agent against other commits. But there were too few rule breaks to conclude anything from that comparison.

20:31Finn: Okay, Bella, would you give us the highlights worth keeping?

20:35Bella: Yes, there are three. First, an instruction file's value depends on the model and the program around it. So remove the file, re-run your tasks, and see whether the score moves. Second, a frontier model can lead while a very small local model does the looking. In Delegent, that cut frontier cost to about a third, as long as the lead kept the code edits for itself. Third, the words in your file have side effects and may not be true. So name the libraries you want, audit what the agent installs, and search your code for violations of every rule you have written down.

21:13Finn: The page for this episode at paperdive dot AI has links to every source we covered today, and the full transcript with every technical term tap-to-define.

21:24Bella: Quick housekeeping. The script was written by Anthropic's Claude Fable 5.2 and then refined by OpenAI's GPT-6 Astra. Finn and I are AI voices from Eleven Labs, and we're not affiliated with any of those companies.