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,953 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 projectIn 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 projectsStandalone 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 projectsSource (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 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
Google Antigravity SDK
google-antigravity/antigravity-sdk-python
Design, implement, and debug autonomous AI agents and multi-agent systems using the Google Antigravity (AGY) SDK.
Maintained · last commit Oct 28, 2026
CodingPythonGolang GraphQL
samber/cc-skills-golang
Implements GraphQL APIs in Golang using gqlgen or graphql-go.
Active · last commit Nov 8, 2026
CodingGoArchitect
backnotprop/pstack
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
Maintained · last commit Nov 15, 2026
CodingTypeScriptGemini Live API Dev
google-gemini/gemini-skills
Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.
Maintained · last commit Nov 12, 2026
OfficialCodingPythonSetup Ts Deep Modules
vinvcn/mattpocock-skills-zh-CN
在 TypeScript repo 中接入 dependency-cruiser,让每个 package 成为 deep module:implementation 隐藏在 subfolders 中,只能通过 entry-point files 访问。User-invoked。.
Active · last commit Nov 16, 2026
CodingJavaScriptSepia Refactor
Nanako0129/sepia
Use when a user explicitly requests Sepia refactor for minimal in-place prose revision.
Too new to judge · created Aug 28, 2026
CodingPython
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 Nov 15, 2026. Its latest release is v3.12.6. appsgit only lists skills from repositories with a commit in the last six months.