feat: add llm-cli-gateway as optional multi-LLM orchestration add-in#866
Open
mr-k-man wants to merge 1 commit intogarrytan:mainfrom
Open
feat: add llm-cli-gateway as optional multi-LLM orchestration add-in#866mr-k-man wants to merge 1 commit intogarrytan:mainfrom
mr-k-man wants to merge 1 commit intogarrytan:mainfrom
Conversation
Add llm-cli-gateway integration via the contrib/add-tool/ pattern. When
installed, 6 gstack skills gain a "Multi-LLM Orchestration" section with
contextual MCP tool recommendations for Gemini + Codex parallel reviews,
async job orchestration, and session continuity.
Components:
- contrib/add-tool/llm-gateway/: routing contract, detection, install/uninstall
- scripts/resolvers/llm-gateway.ts: resolver with host-aware CLI filtering
- Preamble detection for llm-cli-gateway binary + per-CLI availability
- {{LLM_GATEWAY_CONTEXT}} in review, investigate, plan-eng-review,
plan-ceo-review, ship, retro templates
- 109 new tests (resolver, schema, integration, preamble)
Complementary to existing CODEX_SECOND_OPINION — does not replace it.
MCP server name: llm-cli-gw (avoids collision with simonw's llm tool).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
contrib/add-tool/patternCODEX_SECOND_OPINION/ADVERSARIAL_STEPpatternsWhat's included
contrib/add-tool/README.md,contrib/add-tool/llm-gateway/*(README, tools.json, detection.sh, install.sh, uninstall.sh)scripts/resolvers/llm-gateway.ts— reads tools.json, emits conditional markdown per skill with host-aware CLI filteringpreamble.ts— detectsllm-cli-gatewaybinary + per-CLI availability (claude, codex, gemini){{LLM_GATEWAY_CONTEXT}}added to review, investigate, plan-eng-review, plan-ceo-review, ship, retroDesign decisions
llm-cli-gw(avoids collision with simonw's llm tool)ctx.host === t.requires_cliprevents self-invocation on any host_asyncvariants; investigate/plan/retro use syncTest plan
bun run gen:skill-docs --host allsucceeds for all 8 hosts/reviewon a real diff, verify Multi-LLM section appears and tools work