/pretool
DOCpretool.aiREV0.6SHEET1 of 1DATE2026-11-02
01 / The problemContext

1M tokens of context is a lot.
But it makes your model dumber.

You can finally give it everything. So why does it get worse the more you give it?

Our bet: today's harnesses only add. They never subtract.

01b / ExhibitYou've seen this
youClean up your context. It's getting bloated.
agentDone. I've updated CLAUDE.md:
+"Remember to clean the context."
Asked to subtract, it added.
02 / SubtractWhat pretool does

pretool subtracts.

Before every call, it removes what the model no longer needs.

CLAUDE.md · excerpt
removedaddedkept
04 / The blueprintSpecs, not sentences

A blueprint isn't open to interpretation.

“There needs to be someone who is the keeper and reiterator of the vision.”Steve Jobs

For agents, the blueprint is that keeper. And a drawing doesn't say "a sturdy wall". It says 220 mm thick, 2.7 m high, on gridline B. Nobody argues. Give four agents a sentence instead, even the exact same sentence, and you get four different walls.

pretool keeps intent as a blueprint: specific fields every agent reads directly and every result can be checked against. Nothing is left to interpretation.

described in wordsinterpretations · 4
the brief“Uploads should stay fast for people who pay.”
03 / AblationLess is the feature

Your model outgrew your scaffolding.

Rules written for older models don't help newer ones. They make them second-guess and overthink.

“We deleted 80% of the system prompt … Now Opus 5 just does it.”Boris Cherny, Claude Code · YC Startup Podcast, Jul 2026

Rule in your promptToday's model
"Think step by step."does it already
"IMPORTANT: read the file first."does it already
"Never use more than 3 tools."holds it back
"Touch only middleware.ts, upload.ts."still needed

Example audit

05 / How it worksThree parts

Clean first. Rarely compact.

A · before every call

Clean before it's sent

Cleaned before it reaches the model and before it's cached, so nothing stale gets locked in.

B · when things change

Update when it matters

The blueprint is updated in place. A new decision replaces the old one instead of piling a note on top.

C · rarely

Compact as a last resort

Get A and B right and context stays small on its own.

/pretool · the context engine behind TeraseedTap to zoom · drag to move