From lean-claude
Cut token and context spend in Claude Code without losing quality. Use when the user says "token efficient", "save tokens", "be brief", "reduce context", "lean", or asks how to lower usage. Covers subagent model routing, prompt-cache hygiene, narrow reads, /clear discipline, big-skill refactor, and skill-listing trims.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lean-claude:token-efficiencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Route by task type, not convenience:
Route by task type, not convenience:
Never let subagents silently inherit the top-thread model. Pin each agent explicitly.
Detail: reference/subagent-routing.md
Prompt caching is automatic; your job is not to break it:
/clear mid-task — it voids the cache.Detail: reference/cache-hygiene.md
Grep before reading. Read only the hit range with offset/limit. Never re-read a file after an Edit — the harness tracks state.
Clear only between unrelated tasks. Every token in context is re-billed on every turn. Old task context = dead weight.
SKILL.md body loads into context on every invocation. Keep it thin.
Detail: reference/big-skill-refactor.md
Reduce the per-turn skill-listing cost:
skillOverrides: set unused skills to name-only or off.skillListingBudgetFraction: cap total listing size.npx claudepluginhub merkle-ne-playground/lean-claude --plugin lean-claudeProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.