Thinker
Thinker is a proxy that wires in between a coding agent harness and the model to cut out old context no longer needed for the current task, timing the cuts per provider so the cache re-write cost gets paid off by subsequent calls. It also analyzes sessions to suggest cutting or compressing unused sections of instruction files (kicking off a subagent that opens a PR for review) and distills sessions into knowledge notes (using a cheap model such as Haiku or Luna) that are served at prompt time via an on-machine cross-encoder deciding note relevance.
What it addresses
Hitting coding agent usage limits because large context windows carry stale tool outputs from long-finished subtasks and oversized CLAUDE.md/AGENTS.md files whose tokens are paid for in every session.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Thinker
Thinker is a proxy that wires in between a coding agent harness and the model to cut out old context no longer needed for the current task, timing the cuts per provider so the cache re-write cost gets paid off by subsequent calls. It also analyzes sessions to suggest cutting or compressing unused sections of instruction files (kicking off a subagent that opens a PR for review) and distills sessions into knowledge notes (using a cheap model such as Haiku or Luna) that are served at prompt time via an on-machine cross-encoder deciding note relevance.
Problem: Hitting coding agent usage limits because large context windows carry stale tool outputs from long-finished subtasks and oversized CLAUDE.md/AGENTS.md files whose tokens are paid for in every session.
Posted by @yoavshmariahu · Original source ↗
Story title · @yoavshmariahu · · Source ↗
Show HN: Thinker – Trim context and cache knowledge to extend agent usage limits
Submitted URL · @yoavshmariahu · · Source ↗
https://thinker.sh/how-it-works
Source text · @yoavshmariahu · · Source ↗
https://thinker.sh/see-the-data
Source text · @yoavshmariahu · · Source ↗
https://github.com/yoavshmariahu/thinker
Source text · @yoavshmariahu · · Source ↗
I finally built Thinker to save me some tokens and help me get a bit more out of my coding agent subscriptions.
Source text · @yoavshmariahu · · Source ↗
We have a proxy that wires in between your harness and model to cut out old context that we determine is no longer needed for your current task.
Source text · @yoavshmariahu · · Source ↗
Based on the provider you’re using, we determine the right time to batch enough context to cut that justifies the cache re-write cost, which gets paid off after X subsequent calls.
Source text · @yoavshmariahu · · Source ↗
and send you suggestions to cut or compress those sections. Thinker will kick off a subagent to do that work for you and open a PR you can review.
Source text · @yoavshmariahu · · Source ↗
Finally, we use your sessions to record knowledge notes by distilling your sessions with a cheap model (Haiku, Luna).
Source text · @yoavshmariahu · · Source ↗
These notes are then served at prompt time via a cross-encoder, also on your machine, that decides whether a note is relevant to the user’s prompt.
Source text · @yoavshmariahu · · Source ↗
By far, it was large context windows.
Source text · @yoavshmariahu · · Source ↗
Tool outputs from subtasks that are long finished.
Source text · @yoavshmariahu · · Source ↗
CLAUDE.md / AGENTS.md getting way too big.
Source text · @yoavshmariahu · · Source ↗
Every token here counts, because it will be paid for in every session, and its cost scales linearly with the duration of your session.
Source text · @yoavshmariahu · · Source ↗
I’ve been doing a lot of solo development lately and found myself hitting Claude token limits halfway through the week constantly. Even with a Max plan, I’d have to switch over to Codex or Cursor, and it would be a bit difficult to get used to the nuances of each harness.