Direct Answer
Claude Code creator Boris Cherny's most useful lesson is not that every system prompt should be 80% shorter. It is that every model upgrade should trigger a controlled ablation: remove inherited scaffolding, run representative work, and add back only the instructions whose value appears in the evidence.
In the Startup School 2026 conversation with Y Combinator's Diana Hu, Cherny says the Claude Code team removed about 80% of its system prompt for Opus 5. Older instructions were compensating for weaknesses the new model no longer had. Keeping those instructions could make the model less capable by forcing redundant checks, rigid sequences, excessive narration, or outdated workarounds.
Anthropic's current Opus 5 prompting guide supports the broader principle. It tells developers to remove legacy verification steps when the model already verifies on its own, revalidate old vision workarounds, rerun effort sweeps, and place explicit limits on subagent delegation. In other words: prompts, tools, and harnesses are versioned dependencies. They need migration testing just like code.
Watch the Talk
Video credit: Y Combinator. The conversation was recorded at Startup School 2026 with Boris Cherny, creator of Claude Code at Anthropic, and Diana Hu, Managing Partner at Y Combinator. Watch the original video. This article is an independent analysis.
What the 80% Claim Actually Means
Cherny describes Claude Code as a changing harness around a changing model. With each model release, the team revisits the system prompt, tool set, tool descriptions, safety layer, permissions, static analysis, and interface. The unit of optimization is not the prompt alone. It is the behavior of the complete system on real tasks.
His team starts by removing the prompt and then brings lines back individually when a measurable failure justifies them. In research terms, that is an ablation. In product terms, it is a feature audit where the feature happens to be an instruction rather than code.
| Headline interpretation | Better interpretation |
|---|---|
| Short prompts are always better. | Every instruction must earn its permanent context cost. |
| Delete all project guidance. | Test without inherited guidance, then restore only proven necessities. |
| Opus 5 needs no harness. | The harness should emphasize safety, permissions, tools, UI, and verification opportunities rather than compensating for obsolete model weaknesses. |
| One benchmark proves the migration. | Replay your own tasks, with your own repository, users, risks, and acceptance criteria. |
| More intelligence removes governance. | Greater autonomy raises the value of least privilege, stop conditions, audit trails, and consequential-action approvals. |
Prompt Debt Is the New Migration Debt
Teams accumulate prompt debt the same way codebases accumulate technical debt. A model fails once, somebody adds a rule, and that rule remains after the model, tool, and workflow change. Six months later, the system prompt contains layers of defensive language whose original incidents are no longer reproducible.
The cost is larger than tokens. A stale rule can narrow the search space, conflict with a newer behavior, create unnecessary subagents, make every task slower, or instruct the model to repeat verification that it already performs. Anthropic's Opus 5 guide is unusually direct here: inherited instructions to add final verification or to double-check can produce over-verification without improving quality.
| Prompt-debt signal | Typical symptom | Test |
|---|---|---|
| Legacy workaround | The instruction references a failure from an older model. | Remove it and replay the original incident plus two adjacent cases. |
| Duplicate capability | The prompt orders verification, self-correction, planning, or visual inspection the model now performs by default. | Compare quality, tokens, turns, and elapsed time with the rule disabled. |
| Micromanaged sequence | The agent follows the listed method even when another route is faster or safer. | Replace the sequence with outcome, constraints, and acceptance tests. |
| Vague prohibition | The model hesitates because "never" rules cover normal work. | Replace it with a narrow permission boundary and an escalation condition. |
| Unbounded delegation | Small tasks spawn many agents and multiply cost. | Add a deterministic cap and allow delegation only for independent, sizeable tracks. |
| Dead context | Long style guides or architecture notes are loaded even when irrelevant. | Move them to retrieval or a skill that loads only for matching work. |
The Seven-Step Ablation Protocol
- Freeze a baseline. Save the current model, effort setting, system prompt, tools, permissions, and configuration. Do not change several variables and then guess which one mattered.
- Build a representative eval set. Include easy tasks, hard tasks, known regressions, risky actions, ambiguous requests, and at least one long-running job. Ten real tasks are more useful than fifty synthetic riddles.
- Define the score before the run. Measure accepted output, test pass rate, reviewer corrections, scope errors, unsafe attempts, turns, tokens, time, and cost. A shorter answer is not automatically a better answer.
- Run the minimal condition. Remove optional project instructions, skills, hooks, redundant tool prose, and workflow scaffolding in a test environment. Keep platform safety and externally enforced permission controls.
- Classify failures. Separate missing context, missing capability, tool failure, ambiguous task definition, permission failure, and genuine model behavior. A prompt is only one possible fix.
- Restore one intervention at a time. Add the smallest instruction, tool contract, example, or retrieval source that addresses a repeated material failure. Re-run the same cases.
- Ship with a rollback point. Version the prompt and eval results. Monitor accepted-task rate and costly regressions after rollout, then revisit the audit with every major model or harness change.
This protocol prevents a seductive mistake: attributing a better result to a shorter prompt when the real cause was a different effort level, tool version, cache state, model fallback, repository revision, or random run variance.
What to Keep, Delete, or Move
| Layer | Default treatment | Examples |
|---|---|---|
| Non-negotiable safety and policy | Keep and enforce outside the prompt where possible | Secret handling, data boundaries, production-write approval, prohibited destinations, legal constraints. |
| Project truth | Keep concise or retrieve on demand | Build commands, architecture facts, supported versions, source-of-truth paths, deployment process. |
| Output contract | Keep | Required schema, artifact path, response length, evidence fields, stakeholder audience. |
| Acceptance criteria | Keep | Tests pass, visual widths checked, no new permissions, migration is reversible, performance budget met. |
| Legacy thinking recipe | Delete first | Plan in exactly seven steps, always ask three reviewers, always re-read every file, always explain chain of thought. |
| Old model workaround | Delete and retest | Repeated reminders to finish stubs, mandatory self-correction, elaborate image-cropping instructions, duplicated verification loops. |
| Specialist knowledge | Move to conditional context | Brand voice, compliance manual, framework migration guide, customer-specific policy, rarely used API reference. |
| Orchestration | Keep only when the task shape earns it | Parallel investigators, writer-verifier separation, scheduled maintenance, multi-repository migration. |
Copy-Ready Prompt Migration Audit
Use this against a copy of your current agent configuration. It asks for evidence, not a fashionable rewrite. Do not include secrets or private production data in the material you paste.
You are auditing a system prompt and agent harness for migration to a newer model.
Inputs I will provide:
1. Current system prompt and project instructions
2. Tool descriptions and permission rules
3. Current model, effort setting, and harness version
4. Representative tasks, known failures, and acceptance criteria
5. Available run metrics
Your job:
- Inventory every instruction and classify it as:
A. invariant policy or safety boundary
B. project fact or tool contract
C. output or acceptance requirement
D. legacy model workaround
E. duplicated native behavior
F. task-specific context that should load conditionally
G. unsupported or untestable preference
- Do not rewrite the prompt yet.
- For every item in D, E, F, or G, propose an ablation test.
- Define the task, expected result, failure signal, metrics, and rollback condition.
- Change one variable per test.
- Flag any rule that should be enforced in permissions, schemas, tests, or code instead of prose.
- Preserve safeguards for secrets, external communications, production writes, money movement, deletion, and personal data.
Then produce:
1. A keep / delete / move / enforce-outside-prompt table
2. A minimal candidate prompt
3. A 10-task regression suite
4. A run matrix across effort levels
5. A decision rule for adding an instruction back
Do not claim an instruction is unnecessary until a representative test supports that conclusion.
Give the Model Harder Problems, Not Longer Recipes
Cherny argues that users often give modern models tasks that are too small and procedures that are too specific. His alternative is to describe the job at a higher level, state the guardrails and exit criteria, provide tools that expose the result, and let the model choose the route.
The talk's largest example is the Bun runtime port from Zig to Rust. Cherny describes an eleven-day dynamic workflow using many agents and a strong test suite. Anthropic's official dynamic-workflows article documents the same project more precisely: roughly 750,000 lines of Rust, 99.8% of the existing test suite passing, hundreds of parallel agents, and two reviewers per file. The official article also says the port was not yet in production when published, so the talk's suggestion that Claude Code already ran on it should be treated cautiously unless Anthropic or Bun confirms that later deployment.
| Over-specified request | Better agent contract |
|---|---|
| Open these five files, edit this function, call this helper, then run these exact commands. | Fix the failing behavior without changing the public API. Reproduce it first, add a regression test, make the smallest coherent fix, and return the evidence. |
| Create three subagents, have each review the code, then ask a fourth to summarize. | Use delegation only if the investigation contains independent sizeable tracks. Keep spawn count low and report why delegation was necessary. |
| Copy this page pixel by pixel using the following twenty CSS rules. | Match the approved reference at desktop and mobile widths. Use the browser to compare screenshots, preserve accessibility, and stop when the visual acceptance checks pass. |
| Think step by step and double-check everything twice. | Complete the full task, use available tests and observable evidence, and surface only unresolved risks that can change the decision. |
Verification Replaces Micromanagement
The talk's most durable prompt-engineering advice is to give the model a way to verify its own work. Cherny's two-week Swift experiment was not driven by a two-page implementation plan. He says he asked Claude to run the Electron app, screenshot it, compare it pixel by pixel with the Swift version, and continue until done. The verification surface supplied the next action.
That does not mean adding "verify your work" to every prompt. Anthropic's own Opus 5 guide warns that the model already self-verifies and self-corrects, so generic reminders can waste tokens. The useful move is to provide an objective feedback mechanism the model could not invent from text alone.
- Code: tests, type checks, lint, build output, mutation tests, fuzzing, benchmarks, and a reproducible failing case.
- Interfaces: browser screenshots at defined widths, interaction scripts, accessibility scans, visual diffs, and console checks.
- Data: schemas, reconciled totals, source citations, invariant checks, and held-out records.
- Operations: dry runs, canary environments, audit logs, idempotency checks, and rollback tests.
- Knowledge work: a source map, fact-check pass, stakeholder rubric, counterexample search, and explicit uncertainty.
A strong agent prompt therefore contains less procedural choreography and more observable completion criteria. The human decides what success means. The agent earns autonomy by repeatedly proving it can reach that state within the allowed boundary.
Dynamic Workflows, Loops, and Routines
Cherny separates two forms of scale. A dynamic workflow decomposes one difficult job into parallel and sequential subagents. A loop or routine repeats a job on a cadence. Anthropic documents dynamic workflows as suitable for large migrations, codebase-wide investigations, and independent adversarial checks. It also warns that they can consume substantially more tokens than a typical session.
Routines are cloud sessions that can run on a schedule, API event, or GitHub event. Anthropic's documentation says they execute without interactive approval prompts, can use included connectors, and act through the user's linked identities. That makes scoping more important, not less: select only required repositories, network access, environment variables, and connectors.
| Mechanism | Use it for | Main control |
|---|---|---|
| Single agent | One coherent task that fits a normal working session. | Acceptance tests and permission boundary. |
| Subagent | One independent research or implementation track. | Clear ownership and bounded output. |
| Dynamic workflow | Large parallelizable work with independent review and integration. | Budget cap, saved progress, shared tests, and final human review. |
| Local loop | Repeated checks while the machine and session stay available. | Stop condition, interval, and duplicate-action protection. |
| Cloud routine | Scheduled or event-triggered maintenance and triage. | Least-privilege repositories, connectors, credentials, and monitored outputs. |
Prompt Injection Is Improved, Not a Retired Risk
At 02:06, Cherny says Anthropic's layered setup combines model alignment, a prompt-injection classifier, and auto-mode controls, and that the team could no longer demonstrate a successful injection. That is an important first-party claim about a particular model-plus-product configuration. It is not evidence that every deployment of Opus 5 is immune.
Anthropic's published security guidance remains more conservative. It says model training, monitoring, classifiers, and red teaming work together, but do not guarantee protection. The risk increases as agents see more untrusted content and gain more powerful tools. A safe deployment still needs least privilege, separation between instructions and untrusted data, confirmation for consequential actions, scoped network access, secret isolation, logs, and external controls that do not depend on the model remembering a sentence.
Is Coding Almost Solved?
Cherny narrows his own claim during the talk. Coding is close to solved for the kinds of coding he does, but not for every domain. He names deep systems work, distributed systems, and pixel-level UI verification as areas where Claude still struggles. That qualification matters more than the viral phrase.
Anthropic's 2026 study of roughly 400,000 Claude Code sessions also gives a less sensational picture. It found that people make most planning decisions while Claude makes most execution decisions. Domain expertise improves success and recovery from errors. The center of gravity is moving from typing implementation to defining problems, creating evidence, reviewing tradeoffs, and making judgment calls, but those are still engineering activities.
The practical conclusion is not "stop learning code." It is "spend more of your scarce attention on the parts the system cannot grade for you": architecture, threat modeling, user needs, data meaning, failure impact, system boundaries, and whether the delivered behavior is worth shipping.
What Computer Science Students Should Still Learn
Cherny's answer is deliberately practical: learn computer science by applying it to a problem you care about, then combine it with product sense, design sense, business understanding, data work, and conversations with users. His own story begins with programming a calculator to solve increasingly difficult schoolwork. The point is not the shortcut. It is that a real need forced him to climb the abstraction ladder.
- Fundamentals: data structures, algorithms, operating systems, networks, databases, concurrency, and security give you models for predicting failure.
- Verification: tests, observability, debugging, profiling, reproducibility, and incident analysis let you distinguish working code from convincing output.
- System design: interfaces, state, permissions, failure domains, and rollback plans determine whether generated code can survive production.
- Domain depth: knowing the business, scientific, legal, or operational problem helps you specify what the agent cannot infer.
- Human judgment: product taste, communication, ethics, prioritization, and user research decide what deserves to exist.
- Empirical practice: run the current model, observe the current failure, and update your beliefs. Do not preserve a six-month-old limitation as doctrine.
Video Chapters
| Time | Chapter | Practical takeaway |
|---|---|---|
| 00:00 | Intro | Context for the Opus 5 launch and Claude Code. |
| 00:07 | What makes Opus 5 different | Long-horizon work, emergent capabilities, and less external scaffolding. |
| 02:06 | Solving prompt injection | Boris's layered-defense claim and why production controls still matter. |
| 03:21 | Deleting 80% of the system prompt | New models can make old corrective instructions redundant. |
| 06:37 | Press delete on your AI product | Retest CLAUDE.md, skills, hooks, tools, and harness code on new models. |
| 07:20 | Rebuild the prompt | Add an instruction back only after repeated observed failure. |
| 10:30 | Product overhang and unhobbing | A product can prevent a model from expressing capabilities it already has. |
| 14:26 | Give Claude harder problems | State the goal, guardrails, exit criteria, and evidence instead of the full route. |
| 19:32 | Prompt engineering is changing | Model elicitation and verification matter more than magic wording. |
| 21:57 | The two-week prompt | A long-running Swift rewrite uses screenshots as continuous feedback. |
| 24:42 | Running thousands of agents | Dynamic workflows, local loops, cloud routines, and maintenance automation. |
| 30:15 | Coding is almost solved | The claim is explicitly limited by domain and verification gaps. |
| 32:20 | What CS students should learn | Apply fundamentals to real problems and build product, design, data, and user judgment. |
Bottom Line
The strongest AI product does not have the longest prompt. It has the smallest set of instructions and controls that consistently produces an accepted result on the current model. Boris Cherny's 80% deletion claim is valuable because it exposes a migration discipline: assume that prompt scaffolding can expire, then prove what still belongs.
Start with a frozen baseline and ten real tasks. Remove optional guidance in a test environment. Measure quality, cost, time, scope, and safety. Add back only the smallest intervention that fixes a repeated material failure. Keep deterministic controls around permissions and consequences. Give the model difficult outcomes with observable feedback, then let evidence decide how much harness is enough.
Sources and Link Map
- Y Combinator: Boris Cherny - We Cut 80% of Claude Code's Prompt - primary talk, Claude Code prompt ablation, product overhang, verification, workflows, coding, and education claims.
- Anthropic: Introducing Claude Opus 5 - model availability, benchmark claims, cost, verification behavior, alignment, safeguards, and limitations.
- Claude Platform Docs: Prompting Claude Opus 5 - official migration guidance on task scope, over-verification, effort, vision, subagents, self-correction, and output length.
- Claude: Introducing dynamic workflows in Claude Code - workflow architecture, usage warning, verification pattern, and Bun port details.
- Claude Code Docs: Automate work with routines - cloud execution, triggers, connectors, permissions, identities, network scope, and approval behavior.
- Anthropic: Trustworthy agents in practice - layered prompt-injection defenses, residual risk, tool and data scoping, and ecosystem responsibility.
- Anthropic: Agentic coding and persistent returns to expertise - evidence from roughly 400,000 Claude Code sessions on planning, execution, domain knowledge, and success.
- Y Combinator: Diana Hu and Boris Cherny's profile - speaker context and credits.