I cut what my AI reads, and it kept working
Capable AI needs fewer instructions, not more. We cut what ours reads every time by almost half, moved procedures into skills and scripts, and gave its scheduled jobs a notebook of their own.
Earlier this month, Anthropic shared an article on social media that stopped me mid-scroll. It first ran in July on its developer blog, as The new rules of context engineering for Claude 5 generation models, and one line jumped out: “We removed over 80% of Claude Code’s system prompt for models like Claude Opus 5 and Claude Fable 5 with no measurable loss on our coding evaluations.”
Instructions written to guard earlier models against the worst case were now holding better ones back. In the article’s words: “we were overconstraining Claude Code, both through our system prompt and in our CLAUDE.md files and skills.”
I pasted it into a new thread in our Claude Project and asked Claude one thing: “See if we can improve our internal project structure here based on these recommendations.”
Context creeps back
In my last article I mentioned that in October we cut the handbook every session reads by about half. Every new Claude session in our project starts by reading a short set of files about how the store works, plus an index of the project’s shared memory. In October that went from about 45 KB plus an 11 KB memory index down to about 21 KB plus 4 KB.
Three weeks later, it had quietly grown back. Every session was loading 21.5 KB of handbook and a 12.5 KB memory index. The same Linear workflow was written out three times: in the project instructions, in memory and in the handbook. Nobody added anything careless. Each line was a good idea on the day it was written.
The scheduled jobs were worse. Our routines (the bug fixer, the nightly summary, the firewall check and others) carried about 150 KB of instructions between them. The firewall routine’s alone was 65 KB, because its instructions had become its diary: every rule change, every address to watch and every lesson learned was appended to the prompt, and the routine kept rewriting its own instructions.
Six shifts, one evening
The article lists six shifts. Claude and I went through them one by one and asked where each applied to us.
Let the model use judgement. Our main handbook now tells Claude to read the surrounding code and follow its conventions. It keeps only what the code can’t show: the traps, the history, the reasons.
Load instructions only when needed. Procedures that matter for one kind of task, like fixing a reported bug or testing the site in a browser, became skills that Claude opens only when that task comes up. Styling and caching details moved into topic files that are read on demand.
Say it once. The Linear workflow now lives in one place, the code repository. My project instructions went from several paragraphs to a single sentence pointing there.
Let memory remember. The memory index went from 12.5 KB to 3.2 KB, and four memory notes were deleted. Memory now keeps only what the code can’t: how I like to work, and what is still in flight.
Design interfaces, not examples. The routines used to rebuild the same database queries and API calls from paragraphs of prose every night. Those became small, tested scripts that take a parameter (”the day”, “the month”) and return a short summary. What stays in the instructions is the judgement: what counts as a highlight, and which change needs me.
Show, don’t describe. Instead of a page explaining what a report should look like, each routine now copies the format of its own latest real report.
The skills alone hold about 21 KB of instructions, more than the whole handbook every session now reads, yet a session opens them only when its task needs them. The scripts cut the steps too. The nightly summary now loads the day’s Stripe and PayPal totals in one call each, and Google Analytics and Search Console together in a single script, instead of piecing them together call by call.
Then I pushed it one step further. Claude suggested the firewall routine could store a one-line pointer to its instructions in the repository instead of a full copy. My first thought was: my gosh, if I can just write “read and follow ...” in a routine, I should do that for every routine. Until then, each change to a routine’s instructions meant copying and pasting the new version in by hand, because a thread in our Claude Project can’t edit a routine directly. The pointer was a fantastic workaround. Every routine now holds two lines that point at its instructions in the repository, so a reviewed change is live from the next run, with nothing to copy and paste.
Five threads worked on this in parallel. I asked for one job per pull request (”Don’t lump the update for the other routines to the same PR”), so it went in as eight small changes, all merged within about 15 hours of reading the article.
A notebook instead of a diary
The firewall routine needed more than trimming. Each run now starts as a fresh session, so I asked the obvious question: “If it’s a fresh session thread each time, how does the routine remember what it did before and improve on itself? Where is this memory stored?”
The answer was to separate the rules from the memory. My standing rules stay in its instructions, and change only when I decide. Everything the routine learns goes into a notebook of its own, kept in the repository on a separate branch that never reaches the live site. It reads about 22 KB of notes at the start of each run, writes back what it learned at the end, and asks me when it thinks a rule should change.
That one distinction, rules I own and notes it owns, is the idea from this whole exercise I’d keep if I could keep only one.
Less to read, not less control
Cutting instructions sounds risky, so here is what did not change.
The handbook and every routine’s instructions still change only through pull requests that I read and merge. The pointer change makes that stricter, not looser: what runs is exactly what I merged, with no hand-copied version in between that could drift.
The firewall’s rules and thresholds stayed exactly as they were; only the way they are written changed. While we reworked it, the firewall stayed read-only, and the scripts that change rules only ran as dry runs. The new script that applies a rule change does a dry run first, refuses anything outside my rules, reads the result back, and keeps a rollback ready.
And the routine’s notebook sits on a branch that is never merged, so nothing it writes can reach the store.
What the cut changed
What every session reads went from 21.5 KB to 12.2 KB. The routines’ instructions went from about 150 KB to about 51 KB in total, and the firewall’s from 68.6 KB to 13.7 KB.
The work didn’t suffer. The new scripts behind the nightly summary rebuilt the previous day’s report line for line before they went live. The first fresh firewall run took about 11 minutes, its numbers matched the day before, and a block it had added earlier held.
Two bumps taught me as much as the wins:
The interface lesson, twice. On its first fresh run, the firewall routine had to retype a block of numbers from one script into another. It shortened them, and the second script crashed after saving. The fix wasn’t a stricter instruction. The first script now hands back one line to copy exactly, and the second refuses bad input before it writes anything.
A smaller prompt isn’t a lighter run. The nightly summary’s instructions shrank by two thirds, yet its first night read about a third more than before. The weight wasn’t in what we wrote. It was in what the run fetched: long lists from GitHub that stayed in its context until the end. Reading the same history from the local copy of the code cut each one to under a third. Watch what a run reads, not only what you write.
The catch
Six days after we cut the memory index to 3.2 KB, it was back at 8.9 KB. Nobody had been careless: good work leaves notes behind. But notes don’t only pile up. They go out of date, and a session that reads them can’t tell which ones.
Around the same time, I came across an article from Anthropic on how an AI can “dream”: look back over what happened and fix its own notes. Ours now does, every Sunday. That’s my next article.
One thing to copy
Read what your AI loads every time, line by line, and ask of each one: is this a rule I decide, or a note the AI keeps? Rules stay short and change only when you say so. Notes get dated, checked and thrown away when they’re done. Anything only one kind of task needs goes into a file the AI opens when that task comes up, and fixed steps become a template or a small script.
It works the same with ChatGPT’s custom instructions and project files, Claude Projects, Gemini Gems, Cursor rules, or a CLAUDE.md or AGENTS.md file in a code folder. And if a scheduled job keeps adding to its own instructions, give it a notebook instead.
This prompt sorts what your AI reads. Paste it into a chat inside your Claude or ChatGPT project, or into Claude Code, Codex or Cursor in your code folder. For a Gemini Gem, paste it into a regular Gemini chat with a copy of the Gem’s instructions. You get back each line sorted, with anything stale flagged, and a proposed new layout.
I want what you read at the start of every conversation to be shorter and more accurate. Go through my instructions and saved memory line by line, including any rules file such as CLAUDE.md, AGENTS.md or Cursor rules.
Sort each line into one group:
- Rule: a decision of mine that most tasks need. I own these.
- Note: a fact you learned along the way. Add when it was true, if you know.
- Move: only one kind of task needs it. Suggest a topic file to open when that task comes up.
- Template: fixed steps that a template, an example or a small script would do better.
- Delete: finished, repeated, or already said by the tool, my files or my code.
- Check: it may be out of date, or it contradicts another line. Say why.
Then propose a new layout: rules first, under [300] words, then notes, then a one-line index of topic files and when to open each.
If a line's purpose is unclear, ask me. Don't change, move or delete anything until I say yes.Your AI will read less, and you’ll know why it reads every line.
Michael Kuan runs iStyles.com, which makes Skins for phones, laptops, consoles and drones in over a thousand designs.


Discussion about this post