mcpField
M
multi-llm-consult

multi-llm-consult

github.com/nickcrewAgent workflows6277 installsUpdated 17w ago
Repository

About multi-llm-consult

A skill for consulting external LLM providers with sanitized prompts and comparing their responses. It supports second opinions, planning, reviews, and delegated tasks, with guidance to verify advice before acting.

Key features

  1. 01Query external LLM providers
  2. 02Support four consultation purposes
  3. 03Accept prompts and context files
  4. 04Compare and reconcile responses
  5. 05Configure provider API keys

Use cases

  1. 01Request a second opinion on a refactor
  2. 02Review a patch with external models
  3. 03Check an implementation plan
  4. 04Delegate a focused task

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nickcrew/claude-cortex --skill multi-llm-consult

After installing, type/multi-llm-consultin Claude Code to confirm it loaded.

Bundled filesreferences/providers.mdscripts/consult_llm.py

Details

From the project README

Multi-LLM Consult

Overview

Use a bundled script to query external LLM providers with a sanitized prompt and return a concise comparison.

Setup

  • Configure API keys in the TUI: open the Command Palette (Ctrl+P) and run Configure LLM Providers.
  • Keys are stored in settings.json under llm_providers.

Workflow

  1. Identify the purpose (second-opinion, plan, review, delegate).
  2. Summarize the task and sanitize sensitive data before sending it out.
  3. Run the consult script with the chosen provider.
  4. Compare responses and reconcile with your own plan before acting.

Consult Script

Always run --help first:

python skills/multi-llm-consult/scripts/consult_llm.py --help

Example: second opinion

python skills/multi-llm-consult/scripts/consult_llm.py \
  --provider gemini \
  --purpose second-opinion \
  --prompt "We plan to refactor module X. What risks or gaps do you see?"

Example: delegate a review

python skills/multi-llm-consult/scripts/consult_llm.py \
  --provider qwen \
  --purpose review \
  --prompt-file /tmp/review_request.md \
  --context-file /tmp/patch.diff

Example: plan check with Codex (OpenAI)

python skills/multi-llm-consult/scripts/consult_llm.py \
  --provider codex \
  --purpose plan \
  --prompt "Draft a 5-step plan for implementing feature Y."

Output Handling

  • Treat responses as advisory; verify against repo constraints and current state.
  • Summarize the external response in 3-6 bullets before acting.
  • If responses conflict, call out the differences explicitly and choose a path.

References

  • Provider defaults and configuration: references/providers.md

Comments

Markdown supported