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.
LeanCTX is the Context Gateway for AI Systems. Select task-relevant context, apply supported controls, connect local knowledge and inspect recorded evidence. Open-source Engine: CLI, MCP, hooks and supported proxy paths.
LeanCTX is a local Rust program that controls the repository context an AI coding agent receives, including selecting, compressing, remembering, and tracking information. Developers use it alongside coding agents to reduce repeated context and manage what those agents read and execute, while the catalogue entries provide related rules, skills, and instructions.
This repository also configures its own agents. See what lean-ctx tells them →
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.
Cursor rule Cursor
Shows lean-ctx (MCP) token metrics for this session at the end of each reply.
Cursor rule Cursor
Token optimization via lean-ctx Hybrid (Shell Hook + MCP).
Cursor rule Cursor
LeanCTX Context Gateway source/decision scope, Apache IP and private EE safety gate for all coding, docs and releases.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: