mdalexandre/claude-code-lean-agents
21 stars · Last commit 2026-11-02
Two Claude Code subagents that start at about 7.5k tokens instead of 131k: no CLAUDE.md, no skills list, no MCP tools.
README preview
<p align="center"> <img src="assets/logo.png" alt="lean agents logo" width="180"> </p> <h1 align="center">Lean agents for Claude Code</h1> <p align="center"> Two drop-in subagents that start at about <b>7.5k tokens</b> instead of the <b>131k</b> a general-purpose subagent carried on my setup. </p> <p align="center"><a href="https://github.com/mdalexandre/claude-code-lean-agents/actions/workflows/tests.yml"><img src="https://github.com/mdalexandre/claude-code-lean-agents/actions/workflows/tests.yml/badge.svg" alt="tests"></a></p> <p align="center"><sub>Requires Claude Code 2.1.271 or later (2.1.296 or later for the <code>autoCompactWindow</code> line).</sub></p> --- ## Why your subagents are expensive When Claude Code hands work to the built-in **general-purpose** subagent, that agent does not start empty. Before it reads a single word of its brief it loads: