# Lean Ctx (agent skill)

> Lean Ctx is an agent skill (a SKILL.md file) from yvgude/lean-ctx. Pick the right lean-ctx tool for reading, searching, understanding and running code with fewer tokens and fewer round trips. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 3,865 GitHub stars across a repository of 2 listed skills.

Pick the right lean-ctx tool for reading, searching, understanding and running code with fewer tokens and fewer round trips. Use when lean-ctx MCP tools (ctx_*) are available or when a command output, file read or search would be large. 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 → Prove.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/yvgude/lean-ctx |
| Skill path | rust/src/templates/SKILL.md |
| Skill name | lean-ctx |
| GitHub stars | 3,865 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 2 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | Coding |
| Last commit | Oct 7, 2026 |

## When it triggers

- Use when lean-ctx MCP tools (ctx_*) are available or when a command output, file read or search would be large.

## Add this skill

### Claude Code

```sh
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 skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
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
```

### Cursor

```sh
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
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/yvgude-lean-ctx
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
