Skip to content
appsgit

Lean Ctx

Lean Ctx is an agent skill (a SKILL.md file) from yvgude/lean-ctx. Use LeanCTX Context Gateway tools to select task-relevant code context, apply supported controls, reuse local knowledge and inspect recorded evidence. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 3,901 GitHub stars across a repository of 2 listed skills.

github.com/yvgude/lean-ctx/rust/src/templates (opens in a new tab)

Data as of from the GitHub API; description from the skill's SKILL.md. Report an error

Add this skill

Claude

Claude Code loads skills from ~/.claude/skills/ (all projects) or .claude/skills/ (one project):

git clone --depth 1 https://github.com/yvgude/lean-ctx.git
cp -r lean-ctx/rust/src/templates ~/.claude/skills/lean-ctx   # personal, or .claude/skills in a project

In the Claude apps, zip the lean-ctx folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/yvgude/lean-ctx.git
cp -r lean-ctx/rust/src/templates .agents/skills/lean-ctx   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/yvgude/lean-ctx.git
cp -r lean-ctx/rust/src/templates .cursor/skills/lean-ctx   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

Use LeanCTX Context Gateway tools to select task-relevant code context, apply supported controls, reuse local knowledge and inspect recorded evidence. Use when lean-ctx MCP tools (ctx_*) are available or file, search or command output needs a focused view. Control what your AI can see. LeanCTX Engine provides local context selection, supported access and content controls, and evidence of observed context operations for existing agents: Select → Control → Learn → Prove.

When it triggers

  • Use when lean-ctx MCP tools (ctx_*) are available or file, search or command output needs a focused view.

More skills in yvgude/lean-ctx

2 skills are listed from this repository.

Similar skills

More coding skills

All Coding

FAQ

Lean Ctx FAQ

Still curious? Email info@appsgit.com.

How do I install the Lean Ctx skill?

Copy the lean-ctx folder (the one containing SKILL.md) into ~/.claude/skills/ for Claude Code, .agents/skills/ for Codex or .cursor/skills/ for Cursor. The agent picks it up automatically when a task matches its description.

Is the Lean Ctx skill free?

Yes. The repository is open source under the Apache-2.0 license.

Is Lean Ctx maintained?

The repository's most recent commit was on Oct 26, 2026. Its latest release is v3.11.4. appsgit only lists skills from repositories with a commit in the last six months.