lean-ctx

Installation
SKILL.md

LeanCTX — Context Engineering for AI Agents

LeanCTX optimizes LLM context through 82 MCP tools, 95+ shell compression patterns, and tree-sitter AST parsing for 26 languages. It provides adaptive file reading, cross-session memory (CCP), task-conditioned relevance scoring, and a feedback loop for learning optimal compression.

Setup (run first)

Before using lean-ctx, verify it is installed:

which lean-ctx || bash scripts/install.sh

If the install script is not available locally, install manually:

curl -fsSL https://raw.githubusercontent.com/yvgude/lean-ctx/main/skills/lean-ctx/scripts/install.sh | bash

After installation, run the one-command setup (installs shell hook + editor wiring + rules + skills):

Installs
2
GitHub Stars
140
First Seen
14 days ago
lean-ctx — thearchitectit/awesome-opencode-skills