yvgude/lean-ctx

Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.

3.7kStars on the repository
7Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

compression-safety

01

yvgude/lean-ctx

Cursor rule Cursor

Cursor rule "compression-safety" from yvgude/lean-ctx, covering compression safety — prevent lean-ctx marker corruption, the problem, rules for all agents, never write compressed content to files and file restoration commands.

3.7k 2d ago A 399 tokens original Apache-2.0

lean-ctx

03

yvgude/lean-ctx

Cursor rule

Token optimization via lean-ctx Hybrid (Shell Hook + MCP).

3.7k 2d ago A 969 tokens original Apache-2.0