- The Effect of Security-Focused Prompts on Reported Findings: A Controlled Experiment on 400 AI-Generated Web Applications: https://arxiv.org/abs/2611.28408
- Does the Agent's Map Match the Territory? Architectural Claims in AI Agent Context Files and Their Fit with the Code: https://arxiv.org/abs/2611.29916
This episode was AI-generated on November 25, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs.
An eighteen-word instruction file lifted one agent's score by 66 points - and on a slightly richer harness, the identical file was worth 2. Four new papers pull apart the things you actually write and configure yourself: skill files, subagent delegation, security paragraphs, and the architecture rules in your CLAUDE.md that turn out not to be true. You'll leave with four concrete tests you can run on your own setup this week.
Key Takeaways:
- Why an eighteen-word skill file was worth about 66 points on a bare harness and about 2 points once the harness fed errors back - and how to run the same ablation on your own files
- The case where a self-optimized skill handed to a stronger model dropped it from 62 percent to 13.6 percent, with the right answer still present most of the time
- A relay pattern that cut frontier model cost from $2.11 to 70 cents per task while solving 29 of 50 tasks either way - plus the CLAUDE.md paragraph that took a tiny helper from 22 to 30 solved
- How one security paragraph cut high-severity findings from 103 to 54 while roughly doubling installed packages and pushing package advisories from 198 to 344
- Why 18 percent of checkable 'never import' rules were already broken the day they were written - one with 107 violations that never moved
- The honest limits: skills built by a single small model, 50-75 task coding sets, scanner findings that aren't confirmed bugs, and delegation that's slower (38 minutes vs 25)
00:00 - 517 papers, four about what you write: Bella and Finn frame the week's four picks around the things you configure yourself - skill files, delegation, and prompt wording - and preview the 66-points-versus-2 finding.
01:41 - Why the note on the monitor stopped working: A trading-desk analogy explains factorial design and interactions: why a fix can be worth everything next to one setup and nothing next to another.
03:51 - Eighteen words, worth 66 points - or 2: A USC and Amazon grid of 1,872 tasks and nearly 0.9 million runs shows the same short SQuAD skill delivering 66 points on a bare harness and 2 points once the harness supplies an answer interface.
07:00 - When a skill file breaks a better model: A skill auto-optimized by a small model, handed unchanged to a stronger one, drops it from 62 percent to 13.6 percent - and the ablation habit that catches this before you ship it.
09:27 - Who should actually be doing the legwork?: Waterloo's Delegent puts a relay in front of an unmodified Claude Code so the frontier model leads while a local model handles investigation, cutting cost to about a third with no loss in tasks solved.
11:48 - A helper that solves nothing, saves everything: A 2-billion-parameter model that solved none of the tasks on its own works fine as a helper - and the CLAUDE.md paragraph that is doing the real quality protection.
14:28 - The security paragraph that installs more risk: 400 generated applications show one security paragraph cutting findings by about 35 percent while doubling third-party packages and tripling high-severity advisories through three specific libraries.
18:08 - Is your CLAUDE.md even true?: Checking context files from 3,346 projects against real code: path claims held at 98 percent, but 18 percent of dependency rules were already broken the day they were written - and stayed broken.
Recommended Reading:
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering: The clearest demonstration of the episode's central claim that the harness - not the model or the instruction file - often does the heavy lifting, showing how interface design alone swings agent task success. (https://arxiv.org/abs/2405.15793)
- Are Emergent Abilities of Large Language Models a Mirage?: Background for the SQuAD result where the right answer was present but exact-match scoring marked it wrong: a careful argument that discontinuous metrics, not capability, can manufacture dramatic score jumps. (https://arxiv.org/abs/2304.15004)
- FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance: The precursor to Delegent's economics - cascading cheap models in front of expensive ones to cut cost at equal accuracy, here as model routing rather than subagent delegation. (https://arxiv.org/abs/2305.05176)
- Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions: The baseline study for the episode's security-paragraph experiment, quantifying how often LLM-generated code ships vulnerabilities before anyone adds a rules file to try to fix it. (https://arxiv.org/abs/2108.09293)
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
BellaToday 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.
FinnAll 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.
BellaOkay, 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.
FinnBefore 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.
BellaHere 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.
FinnWhen 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.
BellaNow, 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.
FinnSo 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.
BellaThis 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.
FinnTheir 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.
BellaThe 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.
FinnOne 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.
BellaThen 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.
FinnThe 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.
BellaThere 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.
FinnThat 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.
BellaI 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.
FinnThe 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.
BellaI 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.
FinnOkay, 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.
BellaThis 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.
FinnClaude 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.
BellaThe 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.
FinnThey 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.
BellaThe 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.
FinnThe 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.
BellaNow, 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.
FinnHere 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.
BellaSo 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.
FinnThere 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.
BellaI 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.
FinnAll 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.
BellaThis 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.
FinnOne 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.
BellaBut 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.
FinnThe 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.
BellaEvery 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.
FinnSo 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.
BellaI 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.
FinnSo we have asked what an instruction file is worth and what its words do. The last question is whether the file is even true.
BellaTwo 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."
FinnThe 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.
BellaIn 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.
FinnHere 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.
BellaI 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.
FinnOkay, Bella, would you give us the highlights worth keeping?
BellaYes, 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.
FinnThe 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.
BellaQuick 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.
Agents Can Rank Their Own Work But Can't Tell How Good It Is Sources covered: - OWE-Bench: A long-horizon benchmark for measuring real-world engineering: https://arxiv.org/abs/2611.30017 - Fixed or Deleted? External...
When Prompt Rules Backfire: Four Papers on Instructions That Don't Enforce Sources covered: - Markdown Is Not a Firewall: four coding agents, one rules file, four boundaries: https://arxiv.org/abs/2611.27112 - Silent...
Why a Model Trained by an AI Judge Stopped Saying Rome Source: https://arxiv.org/abs/2611.25191 Paper was published on November 18, 2026 This episode was AI-generated on November 20, 2026. The script was written by an...
When an AI Agent Names the Hazard, Then Clicks Confirm Anyway Source: https://arxiv.org/abs/2611.22971 Paper was published on November 17, 2026 This episode was AI-generated on November 18, 2026. The script was written...