Lean Max — Development skill for Claude Code
A Claude Code skill that cuts coding token usage up to 94% without cutting quality.
How to install Lean Max
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Sarveshmehta1504/lean-max and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lean Max does
A Claude Code skill that cuts coding token usage up to 94% without cutting quality. Measured, reproducible benchmark included.
Alternatives in Development
- Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
- Caveman Claude Skill — Ultra-compressed communication mode for Claude 396 ★
- Caveman Micro — 6-line caveman micro prompt (85 tokens) that outperformed the original 552-token skill 162 ★
README
lean-max
**A Claude Code skill that cuts token usage on coding work — without cutting quality.**
Most token waste in AI coding isn't the thinking. It's reading a 967-line file to change three lines, pasting code back into chat that's already on disk, narrating work the diff already shows, and dragging a 200 MB conversation behind you all day. lean-max removes that and spends the savings where it counts: **actually verifying the change works.**
[](https://github.com/Sarveshmehta1504/lean-max/actions/workflows/validate.yml) [](docs/BENCHMARK.md) [](examples/benchmark) [](https://docs.claude.com/en/docs/claude-code/skills) [](#structure) [](LICENSE) [](https://github.com/Sarveshmehta1504/lean-max/stargazers) [](docs/CONTRIBUTING.md)
The measured result
Reproducible in this repo ([`examples/benchmark`](examples/benchmark)) — a 967-line Python module with a subtle pricing bug that passes 6 of 7 tests and survives casual review.
| Approach | Tokens | Outcome |
|---|---|---|
| Naive — read the files whole | 15,335 | bug fixed |
| lean-max — grep, then read 60 of 967 lines | 994 | bug fixed, + 6 edge cases verified |
| ↓ 94% |
The lean run read **6.2% of the file** and produced the *better* result, because the tokens saved on narration went into an executed test run.
Savings scale with file size: ~90%+
Related Skills
Agent Codesearch Bench
Neutral, reproducible benchmark of code-search tools for coding agents (semble, graphify, BM25, grep): files a
Vibeskills Benchmark
Native vs. Lean Vibe on SkillsBench: paired reward results for 82 tasks and token/tool-call analysis for 81 ta
UpliftBench
The placebo-corrected benchmark for Agent Skills. Three arms: no skill / token-matched placebo / real skill, s
Plumbward Lite
Plumbward Lite: two free Claude Code skills. dry-run shows the full list before anything is deleted, moved or
Benchmark Claude Pdfs
Benchmarks for Claude Code with and without the LiteParse skill, to improve skill usage and efficiency
Video Sharingan
The eye that copies any camera move: reverse-engineer a reference video's camera language, cuts, focus and aud
Related Agents
Lean Collector
Collector stage with a shell for read CLIs. Runs without CLAUDE.md (omitClaudeMd, the same omission lean-reade
Dm Optimizer
Makes measured improvements to performance, token and context usage, redundant work and workflows. Use only af
Lean Coder
Token-efficient coding agent for any project. Use for edits, refactors and bug fixes (multi-file or unfamiliar