🧠
AI EngineeringRust

Lean Context

by yvgude

Lean Context is an AI Engineering skill for Claude Code, published by yvgude in lean-ctx.

3.6K stars324 forkson yvgude/lean-ctxAdded 2026/08/16Repository updated 2026/08/16
agentic-codingaiai-agentsai-codingclaude-codecontext-engineeringcontext-intelligencecontext-layercopilotcursordeveloper-toolsgemini-clilean-contextllmmcpmcp-serverreduce-token-costsrusttoken-optimization
Install in seconds
Install Lean Context
Copy Lean Context into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/yvgude/lean-ctx/tree/main/rust/src/templates ~/.claude/skills/templates

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/yvgude/lean-ctx.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
rust/src/templates/SKILL.md in yvgude/lean-ctx
Installs to
~/.claude/skills/templates
Collection
One of 2 skills cataloged from this repository
Category
AI Engineering2451 skills

What Lean Context does

Lean Context compresses LLM context by up to 99% using 79 MCP tools, 10 read modes, 95+ shell patterns, and tree-sitter AST for 27 languages. Use it when reading files, running shell commands, searching code, or exploring directories.

Lean Context is cataloged under AI Engineering on DirSkills. Lean Context comes from a repository tagged agentic-coding, ai, ai-agents, ai-coding and claude-code.

Frequently asked about Lean Context

  • What else does yvgude publish alongside Lean Context?

    Lean Context is one of 2 skills that DirSkills catalogs from yvgude/lean-ctx, the repository it ships in. Its siblings there include LeanCTX. Each one is a separate skill with its own page in this directory, installs the same way Lean Context does, and is maintained by yvgude in that same repository. The rest of the collection is listed on the yvgude/lean-ctx page.

  • How does Lean Context compare to other AI Engineering skills?

    Lean Context ranks #586 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Lean Context against them. Open each page to compare what they document and how they install.