Към всички skills

lean-ctx

yvgude · Разработка

Local context tooling for AI agents. Use it to select, shape, reuse, recover, and inspect context before inference when reading files, running shell commands, searching code, or exploring directories.

Оригинален текст · няма потвърден превод на български

Теми: agentic-coding · ai · ai-agents · ai-coding · claude-code · context-engineering · context-intelligence · context-layer · copilot · cursor · developer-tools · gemini-cli · lean-context · llm · mcp

Първо прочетете инструкцията.

Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.

Оригинален SKILL.md
GitHub хранилище
Звезди на репото
3825
Лиценз
Apache-2.0
Последна проверка на записа
22.09.2026 г.

Добавете в своя инструмент.

Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.

npx skills add yvgude/lean-ctx

Страницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.

Откъс от SKILL.md

Началото на файла на автора, без превод.

LeanCTX — Context Gateway for AI Systems

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. Recovery depends on source or archive availability and access permissions. LeanCTX SDK is the separate integration surface for applications.

lean-ctx shapes context before it reaches you: cached reads, compressed shell output, focused search, recovery to exact source. Two rules beat every detail:

  1. Fewer round trips beat smaller outputs. One call that answers the question is cheaper than three small ones. Never add a call just to save a few hundred tokens.
  2. Never wait by polling. Do not loop sleep + status checks (see below).

Intent → tool

You want to…Call
Understand how something works (unknown location)ctx_compose(task) — ranked files + source in one call; use it FIRST instead of search→read→read
Find the exact definition of a symbolctx_search(action="symbol", name=…)
Find code by meaningctx_search(action="semantic", query=…)
Find a text/regex patternctx_search(pattern=…, path=…)
Who calls X / what calls X makes`ctx_callgraph(action="callers"
Read a file you will editctx_read(path, mode="anchored") → edit with the host's native edit tool, or ctx_call(name="ctx_patch", arguments={…})
Read a file only for context`ctx_read(path, mode="signatures"
Re-check a file after editingctx_read(path, mode="diff")
Run a command (build, test, git, …)ctx_shell(command) — output is compressed
List files / directory shapectx_glob(pattern) / ctx_tree(path, depth)
Remember across sessions`ctx_session(action="finding"

Do not read or search through ctx_shell (cat, sed -n, grep, rg): that bypasses the read cache and symbol index. Use ctx_read / ctx_search.

Deferred tools (ToolSearch)

Целият SKILL.md в GitHub