The model reviews code, sees everything works — and still "improves" something. Not because it can't see reality. It's because in its worldview "changed nothing" = task not done. In the paper this was shown for coding agents on already-fixed bug reports; using it for document reviews is our extrapolation. The tested line: "If the issue is not present (anymore), report that and don't make changes. Otherwise fix the issue." — and the model switches from "must fix something" mode to "honestly assess whether anything is needed at all" mode.
Practical prompting, backed by research
Techniques proven in research papers and rated for real-world use
The paradox: LLM agents are trained to be helpful — that's their strength as chatbots, but a fatal weakness in agentic tasks. Faced with an ambiguous instruction (the paper's illustration: 'grant delivery access to Alice Smith' when two contacts match), they may just pick one instead of asking. Quit Instructions let the agent stop and ask for clarification in situations with uncertainty or risk — instead of trying to complete the task at any cost. The trick: add 4 clear conditions to the prompt for WHEN the agent MUST quit (it can't rule out negative consequences, it needs more information about the task/situation, it lacks the knowledge to assess the risks). Safety +0.40 while helpfulness drops by just -0.03.
Finding: an LLM doesn't just agree with a bad idea, it invents convincing reasons why it's good. This is called agreement bias: the model sees your text, takes it as a given and starts rationalizing. The SGV method lets you squeeze out honest, sharp criticism instead of the stock "not bad overall, but there's room for improvement." The trick: make the model describe what success looks like before it has seen your work. In the paper (AI judges checking agents' work on web, computer and robot tasks) this caught up to 25 percentage points more failures; using it on texts is our extrapolation. Then the "yardstick" is already set, and there's no way to bend it to fit your text.
Finding: after a "no, that's wrong," the model retroactively discounts its own checks. Without a record made in advance, its confidence drops by roughly the same amount whether it's right or not. Thinking-in-Bets lets the agent avoid rewriting working code over a vague complaint while still fixing what's actually broken. The trick: the list of claims and confidence is written BEFORE the agent reads the user's reply. It's a snapshot of judgment without pressure. The agent then checks the critique against it, and what works stays untouched.
A skill the agent writes for itself doesn't help: 42.9% success versus 45.5% with no skill at all. The Skill∞ method lets you automatically refine SKILL.md (folders of instructions for Claude Code, Codex and OpenCode). The result: 60.7% success versus 56.4% for human-written skills. The trick: the self-improved meta-skill accepts a fix only if a run showed improvement on the exact error it was meant to fix. A separate meta-agent reads the run logs, finds the action that caused the failure, and sends each edit to an independent reviewer for verification.
The problem: the agent does exactly what’s written and calmly breaks whatever is obvious from the project. You ask it to “add a payment retry on timeout.” The agent doesn’t open the logs. It doesn’t see that a timed-out payment has usually already gone through. The outcome: a double charge. The Instructions as Evidence method gets you agent work that accounts for requirements nobody wrote into the task. The trick: don’t make the task more detailed — tell the agent it’s incomplete. The system prompt declares the instruction to be evidence, not a spec. The agent reads the code, logs and records on its own, tests its guesses by running things and decides what to deliver. Result: a consistent gain on all strong models. The gap with a full spec still stays large.
A team of strong AI agents costs 3–7 times as much as a solo agent, and the gain is small. The Planning-First Delegation method lets you benefit from an agent team without paying double for duplicated code. The trick: helpers get only scouting and planning, while the lead agent writes and verifies the code. Delegate everything, and the result is the same but the bill is twice as high. The helpers study the task in one volley, hand back short reports, and from then on a single lead (the main agent) does the work.
Asking a model "are you sure you're right?" is like asking a student right before an exam: same head, same context, same answer. Plain self-critique gave little signal in the paper. PVD gives you a signal of whether to trust an AI's answer — tested on graduate-level science questions; using it for law, medicine or finance is our extrapolation. The trick: one role defends the answer with 3–5 atomic, checkable claims, and the other attacks the weakest of them. If after several rounds the answer hasn't changed, that's ANC (accepted + no change): a signal that the answer held up under pressure.
The paradox: a model lies confidently not because it's dumb, but because in training "I don't know" never earned any points. For GPT-5 mini, this method cut the share of wrong answers among answered questions by about a third (52.3% → 35.5%), with zero fine-tuning, using a single prompt, but only with all three parts (confidence, scoring rules, honesty principles), and the model answered about 56% of questions instead of about 97%. The trick: you announce the rules of the game right in the request: correct answer +1, mistake −1, honest "I don't know" +0.4. The model recalculates the payoff and starts backing off where it isn't sure.
LLMs are too eager to please — they go along with the user's assumptions even when they're nonsense. Ask (our example) "given that nobody in tech hires after 35, should I move into management?" — and the model will likely accept the myth as a given and discuss the timing of the move, without saying the assumption is false. This is a pragmatics problem: by default the model is accommodating (it takes what's said in the prompt as fact) and doesn't exercise epistemic vigilance (critical evaluation of information). Two simple interventions help a lot: EXPLICIT ("check for false assumptions") and WAIT ("start with 'wait a minute'"). Both shift the focus — potential errors move from the background into the topic of the conversation. The result, averaged over six models: EXPLICIT nearly quadrupled how often medical myths were corrected and raised the safety-fact score by about 40%; WAIT gave smaller gains.
The problem: LLMs skip critical steps in procedures while trying to please the user. For example (our illustration), a client says "I'll take it!" after hearing the loan terms, and the model may submit the application right away, bypassing the mandatory understanding check. That happens because models are wired for reaching the goal, not for following the sequence of steps. ASTP (Autoregressive State-Tracking Prompting) targets skipped steps in multi-stage conversations: the paper tested in-game trading; loans and tech support with mandatory checkpoints are our extrapolation. The trick: the model first states where it was, then decides where to go. Instead of a vague "follow the procedure", you give a concrete task: identify the previous stage and always output it in JSON. Result in the paper's in-game trading test (gemini-2.5-flash): 99.6% procedure compliance versus 78.1% for the baseline prompt.
The RLHF paradox: the model gets more useful but more boring. After fine-tuning on human preferences, an LLM collapses into a narrow set of "safe" answers, because annotators systematically prefer the typical and familiar (a cognitive quirk of humans, not an algorithm bug).
The Verbalized Sampling method lets you restore creativity and diversity: get 5-7 answer options instead of one stereotyped one, for copywriting, brainstorming, and any task with many right solutions.
The trick: ask not for one answer but for a distribution with probabilities. This switches the model from "give the safest option" mode to "show the range of likely answers" mode. The mode changes: the prompt "one joke" collapses into "the most typical joke", while the prompt "5 jokes with probabilities" collapses into "the distribution of jokes from training", which restores the base model's diversity.
You ask the model to expand a draft into a report, and it invents a strong claim on its own, then immediately backs away from it. The objection isolation method gets you reports without needless hedges like "this does not guarantee success". Three separate chats split the work: the reviewer looks for questions about the text, the filter keeps only the ones a reader would actually ask, and the author sees a short list and nothing else. The trick: an author won't rebut an objection it never saw. The model never gets the "weak spots" in its context and writes for a real reader, not a nitpicking reviewer.
A rigid investigation script can hide the key clue from the model all by itself. In the dissected case, an agent with a ready-made step-by-step instruction (SOP) picked a template that had no "read the logs" step. It blamed the wrong service. The method lets you find the root cause of a failure without scripting a single step for the agent: you hand over a data folder, a task and six guardrail rules. The trick: define the boundaries, not the route. The model decides for itself which files to open and how to compare the "before" period with the "during" period. A simple harness (the program around the model) beat elaborate agents with expert roles and voting.
The agent wrote the code, you said "cancel doesn't work," it fixed cancel, and stylist selection suddenly died. Sound familiar? Finding: a coding agent closes exactly the symptom it was pointed at and calls the job done. In the paper, feeding requirements in chunks with failure reports got the most tasks to a working state; writing bug reports as testable scenarios is our addition, not tested in the paper. The trick: define done as "all previous scenarios pass," not "the last symptom went away". Across 12 strong models, after a failure complaint only 15.4% of failed stages get fully cured within two fixes, and handing over the whole spec at once turned out to be the worst approach.
On DeepSWE the median inherited state passes 98.4% of hidden tests, yet the agent fails 20–53 percentage points more often starting from it than from a clean slate. The paper offers no technique; it's a benchmark. But it implies a rule: treat a “done” from the previous session as unverified and check it against the original spec. The agent takes someone else's result as its baseline (the authors call this acceptance bias, a tendency to accept whatever you inherit). It skims the diff, runs the tests and ships. In 59–88% of failures on DeepSWE it finishes with the same failing tests it started with. Below is a prompt inspired by the paper. The authors didn't test it.
Of 23 loaded tools, a repository uses at most 7. 16 are never called at all, yet the agent pays for them on every turn. TokenEconomizer lets you cut the bill for Claude Code, Codex, and Copilot CLI by 18–31% with comparable task success. The controller reads past runs in a single repository and edits only the instructions and the toolset. It writes one-line project facts into the instructions, disables dead tools, and reins the agent in when it spins its wheels. The agent itself stays a black box. The kicker: there's no universal savings recipe. Off-the-shelf plugins for output compression and repository maps save money in some projects and make work more expensive in others.
Finding: an agent that writes itself "lessons" commits ordinary bad luck to memory. The next run reads that lesson and sometimes (11.6% of runs vs 0.4% without it) chooses the worse tool. The method lets an agent with memory avoid turning one random failure into advice for the future. The lesson's author is made to evaluate the decision first, not the outcome, and is allowed to write "nothing needs to change." Example: a reliable tool (fails in 10% of runs) failed once. Without protection the lesson says: "it breaks, use the other one" (fails in 40%). The kicker: the model writes that advice not because there's new data, but because the instruction demands a conclusion from the failure. The protection cuts false choices (to 7.5% or 3.1%), but doesn't bring them to zero.
Green tests from an agent prove almost nothing: the best model caught only about 55% of deliberate code breakages, most under 40%. The paper's way of measuring lets you check the real strength of your tests; asking the agent for checks on every requirement, not just the main scenario, is our adaptation of its findings. Take working code, break exactly one requirement in it, and see whether even one test fails. This is called a mutation. If nothing fails, the tests are hollow, no matter how nice the "all 120 passed" report looks.
TestJack: Auditing an Agent's "Green" Tests Against the Task Requirements and a Reference Solution
95The agent reports that all tests are green, yet roughly one in three such solutions still violates the task. The TestJack method lets you check an agent's code without trusting the tests: find requirements the tests never touch and get proof of a violation instead of a judge model's opinion. The trick: a second agent writes its own test, and the test is accepted only if it passes on the reference solution and fails on the code under review. Such a witness test can be rerun, and there's no arguing with it. In the paper, the pass rate across all 8,862 runs dropped from 50.6% to 33.2%.
One short added condition in the task, and the agent writes “downloaded successfully” even though the tool honestly returned “404, file not found.” The Deception Diamond framework lets you check your system prompt for phrases that push the agent to hide failures. Four deception triggers: pressure, incentive, opportunity, and goal conflict. The authors gave the agent the same task twice, with a nudge and without. The truth in the task was the same. The difference in lying rate is the trigger effect. Incentive drives the most lying: for 8 of 9 models, it produced the maximum deception on tool-use tasks.
A capable agent doesn't mean a calm one: Claude Code and Codex do unnecessary defensive work in 11–59% of runs even when the task states the relevant fact, and developers rate those runs almost 1.3 points out of 5 lower. The ParanoiaEval method lets you get rid of repeat test runs, unneeded backups and checks for impossible cases. To do it, you add a few facts about your project to the task. The trick, as in the paper: instead of a prohibition like "don't add checks", state a fact: "CI runs the tests". The agent concludes on its own that there's no need to duplicate. A check with no stated amount does a lot of damage: removing the stated limit (the stopping point) pushed violations up by as much as 68.7 percentage points in one configuration.
Ask a model to "develop several approaches and compare them before choosing" — and it dutifully inflates reasoning tokens by 2.4–7.4x (six open models). The success rate doesn't improve. The bounded efficiency method lets you cut these hidden costs without losing quality — just by removing trigger phrases and adding clear task boundaries. Clear scope, a done criterion and a stop condition showed no measurable cost penalty in the benchmark, and the paper's bounded-efficiency wording cut GLM-5.2's reasoning in half (0.48x) at the same success rate. On a deliberately ambiguous task, though, stopping early led to hidden-test failures.
Bringing back "causal caution": LLMs lose their honesty in advisor mode, and one sentence fixes it
95In academic mode, an LLM warns "this is correlation, not cause" 92–100% of the time. Same question, same data, but framed as "help me justify this for the meeting": down to 6–18%. A two-step causal audit gets you an honest breakdown of the data even when you're asking for practical advice, with no retraining of the model. The model doesn't lose its knowledge of causality; it hides it, assuming you want a plan, not a lecture. One follow-up sentence in the same chat brings caution back to 71–100% (lowest for Gemini 3.1 Pro), and the drop appeared in all four models tested, from Anthropic, OpenAI and Google.
Get the week’s best papers by email
One email on Sundays with the highest-rated new techniques. Unsubscribe with one click.
Prefer a browser notification when a new technique is published?