Sarveshmehta1504

Lean Max — Development skill for Claude Code

Development community

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.**

[![validate](https://github.com/Sarveshmehta1504/lean-max/actions/workflows/validate.yml/badge.svg)](https://github.com/Sarveshmehta1504/lean-max/actions/workflows/validate.yml) [![token reduction](https://img.shields.io/badge/tokens-94%25%20reduction-brightgreen)](docs/BENCHMARK.md) [![benchmark](https://img.shields.io/badge/benchmark-reproducible-success)](examples/benchmark) [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-D97757)](https://docs.claude.com/en/docs/claude-code/skills) [![resident cost](https://img.shields.io/badge/resident%20cost-~1.8k%20tokens-informational)](#structure) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![stars](https://img.shields.io/github/stars/Sarveshmehta1504/lean-max?style=flat&color=yellow)](https://github.com/Sarveshmehta1504/lean-max/stargazers) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](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%+