What is Thinker?
Thinker is a free, open-source tool for people working with coding agents, including Claude Code, Codex, Cursor and Gemini CLI. It connects through agent settings and works in the background to reduce repeated context, build repository-specific memory from sessions, and help inspect the instructions and tools loaded into an agent. Thinker also shows where agent setup consumes tokens, while keeping code and prompt text on the user's machine.
Thinker Features:
Context Compression: Thinker replaces older tool results in an agent's carried context with placeholders, retaining the newest results and the turn in progress; availability depends on the agent.
Compression Threshold: It applies a context cut only when the input-token savings are expected to repay the cache rewrite within 25 calls.
Repository Memory: A memory profile distills reusable information from sessions, including workstream context, past pitfalls and habits such as verification steps.
Setup Audit: Thinker helps inspect instruction files and available tools so users can trim, remove or alias setup context that need not be loaded each time.
Tool Review: It indexes tools for agent use, builds local context about their effectiveness in a codebase, and offers top suggestions with estimated savings.
Local Installation: Thinker installs with npx thinkersh, and its anonymous telemetry covers size and count metrics rather than prompt text, code, file paths or repository names.
Thinker Benefits:
More Budget: Reducing repeated context reads can leave more of an agent's token budget available for new work, though rewrites and learning also consume tokens.
Less Repetition: Repository-specific notes can spare developers from re-explaining preferences, corrections and known pitfalls in later sessions.
Focused Cleanup: Seeing instruction and tool overhead makes it easier to focus cleanup on setup material that consumes context without helping the workflow.
Informed Tool Choices: Tool effectiveness notes and estimated savings can help users decide which tools deserve space in an agent's setup.
Local Privacy: Keeping code and prompts on the machine limits the information sent outside it to anonymous size and count metrics.
Use Cases:
Long Agent Sessions: Use Thinker during coding sessions where earlier tool output keeps being carried into later model calls.
Returning to Repositories: Use the memory profile when resuming repository work and wanting an agent to retain reusable lessons from previous sessions.
Instruction Cleanup: Review a bloated agent instruction file to find material that can be trimmed, removed or aliased.
Tool Audits: Check an agent's available tools for unused entries or options with little value in a particular codebase.
Cost Investigation: Inspect Claude Code costs and token use when trying to understand which parts of an agent workflow add overhead.

