By agent-sh
Cross-tool AI consultation: get second opinions from Gemini, Codex, Claude, OpenCode, or Copilot CLI
Cross-tool AI consultation - get a second opinion from another AI CLI tool without leaving your current session.
You are mid-task in Claude Code, Codex, or OpenCode and want to sanity-check a decision, compare approaches, or get a different model's perspective. Switching tools manually breaks your flow. consult queries another AI tool in the background and returns the response inline.
Use cases:
--effort=low) or a deep analysis (--effort=high)--continue)--count=3)agentsys install consult
Requires at least one AI CLI tool installed:
| Tool | Install |
|---|---|
| Claude | npm install -g @anthropic-ai/claude-code |
| Gemini | See https://gemini.google.com/cli |
| Codex | npm install -g @openai/codex |
| OpenCode | npm install -g opencode-ai |
| Copilot | gh extension install github/copilot-cli |
# Ask Gemini about your current approach
/consult with gemini about my auth approach
# Get a thorough review from Codex
/consult "Review this function" --tool=codex --effort=high
# Include the current diff as context
/consult "Explain this error" --context=diff --tool=gemini
Responses from tools that support sessions (Claude, Gemini, Codex, OpenCode) include a session ID. Use --continue to resume.
/consult with codex about my auth approach
/consult gemini should I use redis or postgres
/consult thoroughly ask claude about error handling
/consult ask 3 codex about this design # 3 parallel consultations
/consult "Is this the right approach?" --tool=gemini --effort=high
/consult "Review this function" --tool=codex --count=3
/consult "Suggest improvements" --tool=opencode --model=github-copilot/claude-opus-4-6
/consult --continue # resume last session
/consult "Review this file" --context=file=src/index.js --tool=claude
| Flag | Values | Default | Description |
|---|---|---|---|
--tool | gemini, codex, claude, opencode, copilot, kiro | interactive | Target AI tool |
--effort | low, medium, high, max | interactive | Reasoning depth |
--model | any model identifier | from effort | Override model selection |
--context | diff, file=PATH, none | none | Attach context to the question |
--continue | flag or SESSION_ID | - | Resume a previous session |
--count | 1-5 | 1 | Parallel consultations |
| Effort | Claude | Gemini | Codex |
|---|---|---|---|
| low | claude-haiku-4-5 | gemini-3-flash-preview | gpt-5.3-codex (low reasoning) |
| medium | claude-sonnet-4-6 | gemini-3-flash-preview | gpt-5.3-codex (medium reasoning) |
| high | claude-opus-4-6 | gemini-3.1-pro-preview | gpt-5.3-codex (high reasoning) |
| max | claude-opus-4-6 | gemini-3.1-pro-preview | gpt-5.3-codex (high reasoning) |
OpenCode uses user-selected models. Copilot does not expose effort control.
MIT
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Deep repository analysis to realign project plans with actual code reality - discovers drift, gaps, and produces prioritized reconstruction plans
Master workflow orchestrator with autonomous task-to-production automation, quality gates, and multi-agent review
Plugin structure and tool use analyzer - validates plugin.json, MCP tools, and security patterns
AI slop cleanup with minimal diffs and behavior preservation
Multi-agent iterative code review until zero issues remain
npx claudepluginhub agent-sh/consult --plugin consultConsult multiple AI coding agents (Gemini, OpenAI, Grok, Perplexity, plus codex and antigravity CLIs when installed) to get diverse perspectives on coding problems
AI-to-AI collaboration — review code, brainstorm ideas, and debate plans across Gemini, Codex, and Ollama
Consult external AIs (Gemini 2.5 Pro, OpenAI Codex, Claude) for second opinions. Use for debugging failures, architectural decisions, security validation, or need fresh perspective with synthesis.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Use when you want a delegated second opinion or implementation from GPT (Codex), Gemini, Grok (xAI), or OpenRouter (config-driven, 400+ models) - seven expert subagents (Architect, Plan Reviewer, Scope Analyst, Code Reviewer, Security Analyst, Researcher, Debugger) and bundled ask-gpt/ask-gemini/ask-grok/ask-openrouter/ask-all/consensus commands, advisory (read-only) or implementation (write; Grok and OpenRouter are advisory-only).
Delegate tasks to Codex, Gemini, and OpenCode AI agents via Owlex MCP