Foremerge
naw103/foremerge
Coordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server.
Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems.
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yvgude/lean-ctx lean-ctx-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lean-ctx-review .claude/skills/lean-ctx-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .claude/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yvgude/lean-ctx lean-ctx-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/lean-ctx-review .agents/skills/lean-ctx-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .agents/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yvgude/lean-ctx lean-ctx-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/lean-ctx-review .cursor/skills/lean-ctx-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .cursor/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yvgude/lean-ctx.git --path skills/lean-ctx-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yvgude/lean-ctx lean-ctx-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/lean-ctx-review .gemini/skills/lean-ctx-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .gemini/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yvgude/lean-ctx lean-ctx-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/lean-ctx-review .github/skills/lean-ctx-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .github/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yvgude/lean-ctx --skill lean-ctx-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yvgude/lean-ctx lean-ctx-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yvgude/lean-ctx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/lean-ctx-review .opencode/skills/lean-ctx-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lean-ctx-review" agent skill from https://github.com/yvgude/lean-ctx/tree/main/skills/lean-ctx-review into .opencode/skills/lean-ctx-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lean-ctx-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
lean-ctx-reviewReview how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems.
Lean Ctx Review is an agent skill from yvgude/lean-ctx. Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems. Use when the user asks to review/audit lean-ctx tool performance, says "lean-ctx review", asks why ctx tools failed or fell back to native tools, or wants to report a lean-ctx bug.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/scan_session.py`).
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol and Rust. The repository describes itself as: LeanCTX — Context Gateway for AI Systems. Control what your AI can see. Open-source Engine for context selection, supported controls, and evidence. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6194b1f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
ghpython3gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Lean Ctx Review loads about 1.6k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 879 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from yvgude/lean-ctx at commit 6194b1f, republished under its Apache-2.0 licence (© yvgude). 879 words, ~1,606 tokens.
.claude/skills/lean-ctx-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Upstream repo: yvgude/lean-ctx (https://github.com/yvgude/lean-ctx).
Reads a Claude Code session transcript, so it applies to agents that write
~/.claude/projects/*/*.jsonl. Other harnesses need their own extractor; the
triage rules below are harness-independent.
Run from this skill's directory (needs python3):
python3 scripts/scan_session.pyDefaults to the newest transcript under ~/.claude/projects/*/ — the live
Claude Code session. Pass a path to review a different one. -d N dumps call
#N in full.
The script reports facts, not verdicts: every ctx_* call in order, which
results the harness flagged is_error, which calls repeated identical
arguments, which asked for raw/fresh output, and how many native
Read/Grep/Bash calls happened. It deliberately does not guess which of
those is a problem — that judgment is yours, below.
Transcripts run to megabytes, so read the table, not the raw JSONL.
Start from is_error. In practice every genuine tool failure carries it.
Then read the call list for the softer signals: identical retries, raw/fresh
re-reads, native calls clustered right after a ctx_* call, or a sequence that
only completed once ctx_* was abandoned.
Skipping them is how this review returns a false "nothing to report". Both cost one command each.
Search the tracker for the guard or tool you are about to excuse. Do this during triage, not at step 4. A closed issue defines intended behaviour: if a shipped fix says a form is supported and you just watched it fail, that is a regression and one of the most valuable things this review finds. It also stops you re-filing a settled design decision.
gh issue list --repo yvgude/lean-ctx --search "<guard or tool keyword>" --state allProbe the stated rationale — never accept a message's self-description. An error explains itself, and that explanation can be wrong. Three checks, each one command:
A wrong diagnostic is a real bug even when the block is correct: it sends the next caller down a route that cannot work.
http.StatusConflict, a
git rebase printing CONFLICT (content):, gh returning
"mergeable":"CONFLICTING", a test run printing not found. The tool
returned exactly what was asked for. Judge the tool's own behaviour, never the
payload's vocabulary.GIT_EDITOR=), shell redirects (>/>>), non-allowlisted
commands, paths outside the project root. "It offered an alternative and the
alternative worked" is not enough to clear one: that is true of a guard whose
reason is wrong, whose rule is different from its description, or that
contradicts itself. Clear it only once the stated rationale holds up.InputValidationError on __unparsedToolInput is
the caller's own JSON serialization — commonly a raw tab or newline inside a
string — rejected before lean-ctx ever ran.The tool did something wrong or unhelpful given correct input:
No minimal repro, no issue. Re-run the exact tool and arguments. If it passes, try to isolate the trigger; if you cannot, do not file — report the observation to the user instead, saying plainly that it did not reproduce and what you tried. Guessing at internals is worse than silence.
lean-ctx --version for the version line.
Zero confirmed findings is a valid and common result. Say so and file nothing.
Only for confirmed findings, one issue per distinct problem. You searched the tracker during triage; widen it here if the finding shifted:
gh issue list --repo yvgude/lean-ctx --search "<keywords>" --state allSkip if already reported — and read the close text before re-filing, since a closed issue may have already conceded the point you are about to raise. When a finding contradicts a closed fix, cite it and frame the issue as the gap in that fix. Otherwise:
gh issue create --repo yvgude/lean-ctx --title "..." --body-file <file>Body: what happened, expected, minimal repro (exact tool + args), version, OS.
No speculation about internals. End every issue body with the Claude Code
attribution footer. Report the issue html_url back to the user.
© yvgude, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in skills/lean-ctx-review of yvgude/lean-ctx.
Open the folder on GitHubat commit 6194b1f
Lean Ctx Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Lean Ctx Review this skillyvgude/lean-ctx | 3.9k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Foremergenaw103/foremerge | 538 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Embedded DebuggerAdancurusul/embedded-debugger-mcp | 202 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Agnixagent-sh/agnix | 445 | — | ~874 | Automated safety check: Pass | Apache-2.0 | |
| Agnixagent-sh/agnix | 445 | — | ~563 | Automated safety check: Pass | Apache-2.0 | |
| Iphone Useleeguooooo/iphone-use | 150 | — | ~2.9k | Automated safety check: Pass | Custom licence |
naw103/foremerge
Coordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server.
Adancurusul/embedded-debugger-mcp
Embedded hardware debugging workflow for probe-rs targets using embedded-debugger-mcp.
agent-sh/agnix
A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.
agent-sh/agnix
A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.
leeguooooo/iphone-use
A skill your agent uses when a task needs a real iPhone — operating iOS apps that have no API (Apple Health, banking, IM apps), exporting on-phone data, tapping/typing/scrolling on the phone, or…
linggen/linggen-memory
Linggen — durable cross-host memory plus browser control, over two local MCP servers: ling-mem for memory, the Linggen engine for browser, X and agents.
Works with
Categories
Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems. Lean Ctx Review is an agent skill from yvgude/lean-ctx. Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems.
Lean Ctx Review fits situations like: the user asks to review/audit lean-ctx tool performance; says lean-ctx review; asks why ctx tools failed; fell back to native tools.
Run `npx skills add yvgude/lean-ctx --skill lean-ctx-review -a claude-code`. Or copy the skill folder (skills/lean-ctx-review in yvgude/lean-ctx) into .claude/skills/lean-ctx-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yvgude/lean-ctx --skill lean-ctx-review -a codex`. Or copy the skill folder (skills/lean-ctx-review in yvgude/lean-ctx) into .agents/skills/lean-ctx-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yvgude/lean-ctx --skill lean-ctx-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lean-ctx-review, .gemini/skills/lean-ctx-review, .github/skills/lean-ctx-review and .opencode/skills/lean-ctx-review in your project.
Going by SKILL.md and its folder, Lean Ctx Review needs Python for the scripts in its folder and the command-line tools its instructions call (gh, python3 and git). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Lean Ctx Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Lean Ctx Review: Foremerge (naw103/foremerge, 538 stars), Embedded Debugger (Adancurusul/embedded-debugger-mcp, 202 stars), Agnix (agent-sh/agnix, 445 stars) and Agnix (agent-sh/agnix, 445 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yvgude (a GitHub user) maintains it in yvgude/lean-ctx, which has 3,872 GitHub stars. The repository was last updated on October 10, 2026.
Source: yvgude/lean-ctx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.