with one click
lean-code
lean-code contains 4 collected skills from EA-Studio-SHARK, with repository-level occupation coverage and site-owned skill detail pages.
Skills in this repository
Creates a structured session checkpoint that captures all critical context in minimal tokens. Use /checkpoint to save state before starting a new sub-task, switching files, or when context window is filling up. Typical compression: replaces 8,000–40,000 input tokens with ~400–800 tokens.
Analyzes current conversation context and identifies what can be safely dropped. Triggers a compressed summary that replaces bloated history. Invoke with /trim. Average input token savings: 55–70% on long sessions.
Output mode that shows only changed lines as diffs instead of rewriting full files. Cuts output tokens 60–80% on code edits. Works with Claude Code, Codex, Cursor, Windsurf. Activate with /diff-only. Deactivate with /diff-off or "show full file".
Read files surgically — grep first, read only relevant sections. Prevents loading entire large files when only a few lines are needed. Activates automatically when smart-read mode is on. Input token savings: 40–90% depending on file size and task scope.