MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
How to invoke the consult-llm CLI. An agent skill from raine/consult-llm.
$ npx skills add raine/consult-llm --skill consult-llm -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install raine/consult-llm consult-llm --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/raine/consult-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/consult-llm .claude/skills/consult-llm && 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 "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .claude/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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/raine/consult-llm/tree/main/skills/consult-llmType 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 raine/consult-llm --skill consult-llm -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install raine/consult-llm consult-llm --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/consult-llm .agents/skills/consult-llm && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .agents/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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 raine/consult-llm --skill consult-llm -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install raine/consult-llm consult-llm --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/consult-llm .cursor/skills/consult-llm && 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 "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .cursor/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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/raine/consult-llm.git --path skills/consult-llm--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 raine/consult-llm --skill consult-llm -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install raine/consult-llm consult-llm --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/consult-llm .gemini/skills/consult-llm && 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 "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .gemini/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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 raine/consult-llm consult-llmInstalls 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 raine/consult-llm --skill consult-llm -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/consult-llm .github/skills/consult-llm && 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 "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .github/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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 raine/consult-llm --skill consult-llm -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install raine/consult-llm consult-llm --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/raine/consult-llm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/consult-llm .opencode/skills/consult-llm && 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 "consult-llm" agent skill from https://github.com/raine/consult-llm/tree/main/skills/consult-llm into .opencode/skills/consult-llm/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "consult-llm", 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.
consult-llmHow to invoke the consult-llm CLI. An agent skill from raine/consult-llm.
Consult LLM is an agent skill from raine/consult-llm. How to invoke the consult-llm CLI. Canonical reference for the invocation contract, flags, stdin/stdout format, and multi-turn. Load this before calling consult-llm from any workflow skill (/consult, /collab, /debate, /collab-vs, /debate-vs).
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows. The repository describes itself as: Get a second opinion from another AI model. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 69e3ecb. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Consult LLM loads about 2.9k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 1,274 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: BashAutomated 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); files beside SKILL.md are not scanned.
The full file from raine/consult-llm at commit 69e3ecb, republished under its MIT licence (© raine). 1,274 words, ~2,874 tokens.
.claude/skills/consult-llm/SKILL.md (or your agent's skills folder).Reference for invoking the consult-llm CLI. Workflow skills delegate here for mechanics; they focus on orchestration.
Run consult-llm with the prompt on stdin, using a quoted heredoc.
cat <<'__CONSULT_LLM_END__' | consult-llm -m <selector> -f src/foo.rs -f src/bar.rs
<prompt body>
__CONSULT_LLM_END__Rules:
run_in_background). Only background the call when the caller explicitly passes --background. Always set timeout: 1800000 (30 minutes) — LLM calls routinely exceed the 2-minute default.<<'__CONSULT_LLM_END__' (quoted, with this exact terminator). The single quotes prevent shell expansion of $var, backticks, and escapes. The specific terminator __CONSULT_LLM_END__ is chosen because it won't appear in model responses — never use EOF or PROMPT which commonly appear in code samples and would silently truncate the prompt.--prompt-file <path> if the prompt contains __CONSULT_LLM_END__, or on Windows/PowerShell. Write the prompt to a temp file with $(mktemp), then pass it via consult-llm --prompt-file "$f" ….[model:<id>] [thread_id:<id>], then a blank line, then the response body. In --web mode the prefix is just [model:<id>] (no thread).[thread_id:xxx] from line 1 and pass it back with -t <id> on the next call. Thread IDs are opaque strings — don't modify them. Not portable across backends.0 success, 1 backend/network error (includes thread-not-found), 2 usage error, 3 configuration error (missing API key, unsupported backend).Selectors and allowed models resolvable in this environment (availability depends on which API keys are configured):
!`consult-llm models`Pass a selector or exact model ID to -m only when overriding defaults. With no -m, consult-llm uses configured default_models when that config key is present and non-empty, preserving order and duplicates. If default_models is unset or empty, it falls back to default_model, then the built-in fallback model. For same-prompt multi-model calls, omit -m to use those configured defaults; use repeated -m only for explicit overrides. For --run, create one --run model=<model>,prompt-file=<path> entry per desired run; --run does not consume omitted--m defaults. -m is ignored when --web is used.
Multi-model: repeat -m to consult multiple model positions in parallel (e.g. -m gemini -m openai, max 5 total runs). You may repeat the same selector/model (e.g. -m openai -m openai) to get independent calls with the same prompt. The response is a group format: first line is [thread_id:group_xxx], each model's answer under a ## Model: <id> header preceded by [model:<id>] [thread_id:<per-model-id>]. When the same resolved model appears more than once, only those duplicate sections use ## Model: <id>#K and [model:<id>#K] labels. Pass -t group_xxx to resume all group positions together on the next turn; pass an individual per-model thread ID with a single -m <model> to resume just that model outside the group context.
Pick a --task mode based on the kind of question. Omit for neutral general-purpose.
| Mode | When to use |
|---|---|
general (default) | Neutral prompt. Defers to instructions in the prompt body. Use for open questions. |
review | Critical code reviewer — bugs, security issues, quality problems. |
debug | Root-cause troubleshooter from errors/logs/stack traces. Ignores style. |
plan | Constructive architect — explore trade-offs, design solutions. Always ends with a recommendation. |
create | Generative writer for docs, content, or design output. |
--web copies the formatted prompt (system prompt + user prompt + file context) to the clipboard and exits 0 instead of calling an LLM. Only use when the user specifically asks for browser/web mode. After invoking, wait for the user to paste the external LLM's response back — do not continue implementation on your own. -m is ignored in this mode.
Ask neutral, open-ended questions. Do not suggest specific solutions in the prompt body - that biases the analysis. Let the LLM form its own view.
Present attached context as starting evidence, not an exhaustive set. The consulted model works from that evidence and may append a request for exact additional context when a material gap emerges during analysis.
Apply this loop after every consult-llm response, before presenting, synthesizing, feeding it to another model, or acting on it.
Every response is a bounded answer. An unfenced final ## Context request section means the consultant found missing context that could materially change a stated conclusion. Each item identifies its kind, the exact context needed, and which conclusion it could change.
For an artifact request, gather the exact file, command output, log, or diagnostic. Prefer raw output and attach it with -f.
For a clarification request, answer from the caller's conversation context when possible. If only the user can answer, ask the user when the enclosing workflow permits interaction. Otherwise tell the consultant that the information is unavailable.
Gather every requested item in the same follow-up, then resume only the requesting model's per-model thread with the same model and -t <thread_id>. Attach only the additional artifacts and provide any clarification inline. Use this continuation prompt:
Here is the requested context. Requested artifacts are attached where applicable.
[clarifications or unavailable items]
Revise your original answer using this context. Say plainly which conclusions change. If material uncertainty remains, state the unresolved gap. Do not issue another context request.Perform at most one context follow-up per model per consultation stage. Treat the revised answer as final. If it still ends with a context request, preserve that request as unresolved uncertainty and continue the workflow without another round.
For multi-model output, handle each requesting model independently using the thread ID from its section. Keep responses from models that did not request context. Do not resume the whole group just to satisfy one model.
In web mode, ask the user to provide the requested context in the existing browser conversation and paste back the revised answer.
| Flag | Purpose |
|---|---|
-m, --model <selector|id> | See "Models" above. Omit for configured defaults. |
-f, --file <path> | Repeatable. File context — path + code block. |
-t, --thread-id <id> | Resume a multi-turn conversation. See "Multi-turn". |
--task <mode> | Persona. See "Task modes" above. |
--web | Clipboard mode. See "Web mode" above. |
--prompt-file <path> | Read prompt from file instead of stdin. |
--diff-files <path> | Repeatable. Provide git diff context for this file. |
--diff-base <ref> | Base ref for diff, default HEAD shows uncommitted changes. |
--diff-repo <path> | Repo path (default cwd). |
--run <spec> | Per-model run. See "Per-model runs" below. |
Run consult-llm --help for the authoritative flag list.
Diff context adapts to the resolved backend. API and web runs receive the diff contents. CLI runs receive the repository, base, and path scope, then inspect the diff with their read-only repository tools.
-f) best practicesThe consulted LLM has no access to your conversation history. Anything
it needs - source files, logs, command output, traces, timelines,
error messages - must be attached with -f.
cmd > /tmp/artifact.txt) instead of writing output from memory.
This is cheaper, faster, and preserves the exact output.-f
inputs. Do not limit context gathering to source code.Use --run when a workflow needs to query multiple models in parallel with different prompt bodies. Do not use it for ordinary multi-model calls where the same prompt goes to every model — repeat -m for that.
GEMINI_PROMPT=$(mktemp)
CODEX_PROMPT=$(mktemp)
cat <<'__CONSULT_LLM_END__' >| "$GEMINI_PROMPT"
[prompt for Gemini]
__CONSULT_LLM_END__
cat <<'__CONSULT_LLM_END__' >| "$CODEX_PROMPT"
[prompt for Codex]
__CONSULT_LLM_END__
# First call — no existing threads yet
consult-llm \
--run "model=gemini,prompt-file=$GEMINI_PROMPT" \
--run "model=openai,prompt-file=$CODEX_PROMPT"
# Subsequent calls — continue each per-run thread
consult-llm \
--run "model=gemini,thread=$GEMINI_THREAD,prompt-file=$GEMINI_PROMPT" \
--run "model=openai,thread=$CODEX_THREAD,prompt-file=$CODEX_PROMPT"
# Duplicate resolved models are allowed; use distinct prompt files and distinct per-run threads.
consult-llm \
--run "model=openai,prompt-file=$PROMPT_A" \
--run "model=openai,prompt-file=$PROMPT_B"Each --run value accepts model=<selector-or-id>, prompt-file=<path>, and optionally thread=<id>. Use mktemp for temporary prompt files and always use __CONSULT_LLM_END__ as the heredoc terminator. Use >| to overwrite temp files in zsh (avoids noclobber errors).
Constraints: max 5 total runs, cannot combine with -m/-t/--prompt-file/--web, duplicate resolved models are allowed, duplicate explicit thread=<id> values are rejected, thread=group_* is rejected because --run uses per-run thread IDs, shared -f and --diff-* context applies to every run, prompt-file paths with commas are unsupported.
Output is the same group format as multi-model -m calls. Extract per-run thread IDs from each section header for subsequent --run thread=... turns.
© raine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/consult-llm of raine/consult-llm.
Open the folder on GitHubat commit 69e3ecb
Consult LLM 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 |
|---|---|---|---|---|---|---|
| Consult LLM this skillraine/consult-llm | 140 | — | ~2.9k | Automated safety check: Notes | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Using Superpowersfarm-fe/farm | 5.6k | 35 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Executing Plans Inlineobra/superpowers | 297k | 2 repos | ~5.1k | Automated safety check: Pass | MIT | |
| Skill CreatorAzure/azqr | 795 | 89 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
farm-fe/farm
A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
obra/superpowers
Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.
Azure/azqr
Create new skills, modify and improve existing skills, and measure skill performance.
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
raine/consult-llm
Explicit workflow for one bounded implementation using source-grounded discovery, a walking slice, evidence-gated review, validation, and commit.
raine/consult-llm
Multiple LLMs collaboratively brainstorm solutions, building on each other's ideas across rounds.
raine/consult-llm
The agent brainstorms with a partner LLM in alternating turns, building on each other's ideas.
raine/consult-llm
Consult an external LLM with the user's query. An agent skill from raine/consult-llm.
raine/consult-llm
LLMs propose and critique approaches, agent moderates the debate and synthesizes the best solution, then implements.
raine/consult-llm
The agent debates an opponent LLM through a multi-turn conversation, then synthesizes the best approach and implements.
Categories
How to invoke the consult-llm CLI. An agent skill from raine/consult-llm. Consult LLM is an agent skill from raine/consult-llm. How to invoke the consult-llm CLI.
Consult LLM fits situations like: agent Workflows work in your project.
Run `npx skills add raine/consult-llm --skill consult-llm -a claude-code`. Or copy the skill folder (skills/consult-llm in raine/consult-llm) into .claude/skills/consult-llm in your project. Claude Code loads it when a task matches its description.
Run `npx skills add raine/consult-llm --skill consult-llm -a codex`. Or copy the skill folder (skills/consult-llm in raine/consult-llm) into .agents/skills/consult-llm 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 raine/consult-llm --skill consult-llm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/consult-llm, .gemini/skills/consult-llm, .github/skills/consult-llm and .opencode/skills/consult-llm in your project.
SKILL.md names no scripts, command-line tools or credentials: Consult LLM is instructions for the agent only. Its frontmatter pre-approves these tools: Bash.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Consult LLM is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 11k 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 Consult LLM: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
raine (a GitHub user) maintains it in raine/consult-llm, which has 140 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: raine/consult-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.