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 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 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
Omh External Connector Readiness
rlaope/oh-my-hermes
[omh] Evaluating a plugin, connector, or API for adoption: external connector readiness - assess whether a named plugin, connector, API, data provider, or multimodal route is safe, affordable…
Active · last commit Oct 26, 2026
CodingPythonSetup 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 Oct 20, 2026
CodingJavaScriptGemini API Dev
google-gemini/gemini-skills
Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design…
Maintained · last commit Oct 13, 2026
OfficialCodingPythonGoogle 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 13, 2026
CodingPythonModlens
liustack/modlens
Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif, .heic, .heif) appears anywhere in the conversation (typed by the…
Active · last commit Oct 23, 2026
CodingTypeScriptPinme Uniwebpay
glitternetwork/pinme
Use when generating, modifying, or reviewing PinMe Worker (Cloudflare Worker TypeScript) code that accepts payments through UniwebPay — payment links, products/prices, checkout sessions, payment…
Maintained · last commit Jul 12, 2026
CodingTypeScript
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.