Leantoken — Development skill for Claude Code
Code intelligence for agents: find the code that matters and keep your context window and tokens lean.
How to install Leantoken
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open morluto/leantoken and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Leantoken does
Code intelligence for agents: find the code that matters and keep your context window and tokens lean.
Alternatives in Development
- Notion Meeting Intelligence — Prep meetings by pulling Notion context and tailoring agendas 14.6k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Openwolf — Sharper context 699 ★
README
LeanToken
**Code intelligence for agents: find the code that matters and keep your context window and tokens lean.**
**Language:** English · [简体中文](docs/i18n/zh-CN/README.md) · [日本語](docs/i18n/ja-JP/README.md) · [한국어](docs/i18n/ko-KR/README.md)
- MCP Registry name:
mcp-name: io.github.morluto/leantoken
[](https://www.npmjs.com/package/leantoken) [](https://www.npmjs.com/package/leantoken) [](https://www.rust-lang.org/) [](#license)
[Install](#quick-start) · [Why LeanToken](#why-leantoken) · [Tools](#available-tools) · [CLI](#cli-usage) · [How it works](#how-it-works) · [Docs](#documentation)
**Measured token savings:** In a controlled 60-run study, LeanToken used 20.1% fewer model input tokens than the agent's built-in tools with limited repository exploration, and 37.6% fewer than those tools with broad exploration. See exactly how it was measured in the [measurement methodology](https://github.com/morluto/leantoken/blob/main/docs/measurement.md).
Quick start
Add LeanToken to Claude Code, Cursor, OpenCode, Codex, Gemini CLI, or Antigravity:
npx leantoken setup
Setup behavior and safety
Current releases stop setup before writing when `npx` resolves a stale project-local or ancestor install, and point to `npx leantoken@latest setup`. Older releases that predate this check can be bootstrapped directly with that versioned command.
The interactive setup wizard preselects supported clients it detects
Related Skills
Context Budget
Analyze context window usage across agents, skills, MCP servers, and rules to find optimization opportunities.
LeanKG
LeanKG: Stop Burning Tokens. Start Coding Lean.
Buzz
Profile Lean declarations, find the slow ones, trace-diagnose the root cause, and fix them until each elaborat
Claude Code Intelligence
Local-first usage intelligence for Claude Code: an OTLP receiver, transcript parsing and quota tracking that a
MCP Base
tilth — code intelligence MCP server. Replaces grep, cat, find, ls with AST-aware equivalents.
Stoke
stoke is a local proxy that sits between Claude Code (or any Anthropic API client) and api.anthropic.com. Whil
Related Agents
Design Systems Lead
Design systems specialist. Builds and maintains component libraries, design tokens, documentation, and system
Collective Intelligence Coordinator
Use for hive-mind style collaboration where collective reasoning matters most.
Sweep
Cheap mechanical sweeps - find every place something is used across the repos, run test suites or linters and