From multi-agents
Ask configured AI agents a question in parallel and display their responses. Optionally target a specific agent or model. Use when the user says "ask all agents", "ask codex", "ask gemini", "ask glm-5", or wants AI perspectives on a question.
How this skill is triggered — by the user, by Claude, or both
Slash command
/multi-agents:askThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Send a question to configured agents in parallel (or a specific one), display each response, and provide an optional synthesis.
Send a question to configured agents in parallel (or a specific one), display each response, and provide an optional synthesis.
/ask <question> # ask all configured agents
/ask codex <question> # ask a specific CLI agent
/ask gemini <question> # ask Gemini only
/ask glm-5 <question> # ask by model name (matches OpenCode GLM-5)
/ask opencode:kimi-k2.5 <question> # ask by cli:model
First, extract any --skip {name} flags from the raw arguments and set them aside for Agent Resolution. Remove them from the argument string before proceeding.
Then parse the remaining argument to determine whether a specific agent is targeted:
codex, gemini, opencode — matches entries with that CLI. If multiple entries share the CLI (e.g., multiple opencode models), ask all of them.glm-5, kimi-k2.5, minimax-m2.5, qwen3.5-plus — matches the last segment of the model path. Matches a single entry.opencode:glm-5 — matches a specific CLI + model combination.GLM-5, Kimi-K2.5 — case-insensitive match against display names.Follow the procedure in references/agent-resolution.md to build the agent roster.
Apply target filter (from argument parsing above): If a target was specified, narrow the roster to only the matched agent(s).
Check/create a git dir for agents that require one (e.g., Codex):
git rev-parse --git-dir 2>/dev/null && echo IS_GIT || (mkdir -p /tmp/multi-agents-workspace && cd /tmp/multi-agents-workspace && git init -q 2>/dev/null && echo CREATED_GIT)
Store git_dir (cwd if git repo, else /tmp/multi-agents-workspace).
For each agent in the (filtered) roster, build the command using the agent's fresh session command template from its reference file (references/{cli-name}.md). For agents with a model override, include the model flag. Apply all Common Conventions from the catalog (ANSI stripping, 600-second timeout, stderr capture, run_in_background: true).
Prompt: Pass the user's question directly — do not wrap it in additional instructions or framing. The user's exact words are the prompt. Adapt the prompt passing strategy (heredoc vs direct quoted string) per each agent's reference file.
Issue all N Bash tool calls in a single message with run_in_background: true so they run concurrently (or just 1 foreground call if targeting a single agent).
Collect results following the Result Collection rules from the catalog: call TaskOutput sequentially (one per message, never multiple in parallel) to avoid cascading failures. Apply Output Validation rules to discard useless output.
After all agents return:
Clean each response using the output cleanup rules from the catalog (strip metadata headers, internal errors, etc.)
Display each response clearly labeled with the agent's display name:
### {display_name}
{cleaned_response}
If any agent failed or timed out, note it briefly (e.g., "Codex: [TIMEOUT]" or "OpenCode (GLM-5): [ERROR: ...]") and continue with the others.
Add your own answer — answer the user's question yourself as an additional perspective. Display it labeled as "Claude Code":
### Claude Code
{your_answer}
Give your honest, independent opinion. Don't just echo or summarize what agents said — contribute your own analysis, knowledge, and perspective on the question.
TaskOutput to wait; if still running, use TaskStop and note [TIMEOUT]npx claudepluginhub quabug/multi-agents-plugin --plugin multi-agentsRuns 3 AI models in parallel (gpt-5.2-pro, gemini-3-pro-preview, claude-opus-4-5-20251101) for diverse perspectives on code queries. Invoke via /ask-council or auto-activates.
Queries multiple external AI agents (Codex, Gemini, OpenCode, Claude Code) in parallel for independent second opinions on code review, architecture decisions, and ambiguous problems.
Orchestrates parallel analysis of coding problems across AI models (Claude, GPT, Gemini, Grok) via CLI tools or APIs, collects recommendations, and synthesizes optimal solution.