/nlsmdn:second-opinion [--quick] [--timeout=300] [--words=500] <question or context>from nlsmdn
Get external AI opinions on a problem or question. Use when you want diverse perspectives from the agent CLIs you are not running (Claude, Codex, Pi, OpenCode, Droid).
Ships in nlsmdn. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Get input from the available independent advisors on the current problem or question. Consult the advisor CLIs you are not — from claude, codex, pi, opencode and droid, skip whichever one you are running as, and query the rest. By default, iterates if responses lack confidence.
/second-opinion <question or context>
/second-opinion --quick <question> # Single pass, no iteration
/second-opinion --words=300 <question> # Limit response to 300 words
/second-opinion --timeout=120 <question> # Set timeout to 120s
/second-opinion # Uses current conversation context
| Parameter | Default | Description |
|---|---|---|
--quick | off | Single pass, no iteration |
--timeout | 300 | Timeout per advisor in seconds |
--words | 500 | Max words per advisor response |
.second-opinion.md is written to the project directory and is NOT gitignored by default. If cleanup is skipped (error, timeout), it can be accidentally committed.</dev/null on advisor commands.claude -p). Give it the read-only built-ins (--tools "Read,Grep,Glob") so it can explore but not edit, and --disable-slash-commands so it can't recurse into skills.</dev/null), and prompts for confirmation outside a git repo unless given --skip-git-repo-check.-p for non-interactive mode and --no-session so the consultation does not land in the session list. Restrict it with --tools read,grep,find,ls; the allowlist excludes write and delegation tools. A model newer than Pi's cached catalog warns Model "…" not found for provider "opencode-go". Using custom model id. and then works normally — that warning is not a failure.opencode-go/ prefix (opencode/* is OpenCode Zen, billed pay-as-you-go). Use --agent plan with the per-run task denial below. Plan mode alone can delegate to other agents.;/&&/|) bash command separately and takes the least-permitted verdict; with stdin closed there's no TTY to answer an ask prompt, so the whole call is auto-rejected and the run terminates before producing any prose. The classic trigger is a benign echo --- separator inside an otherwise-allowed read chain. The prompt template already tells the advisor to avoid chaining; if a run still dies with no output, suspect a chained command hitting an un-allowlisted token.--quick)Extract or use the user's question/problem. If not explicitly provided, summarize:
Write the prompt to .second-opinion.md in the current working directory (dotfile so it stays out of the way; in the project directory so the advisors can read both it and the code it points to). Use this exact filename for all subsequent steps:
Read-only consultation. Do not modify any files — but DO read the relevant code in this project before answering.
Do not dispatch subagents or launch other agent CLIs; answer this consultation yourself.
Shell use: prefer your built-in file-reading tool. If you do run shell commands, run ONE simple command at a time — do NOT chain with `;`, `&&`, or `|` and do NOT add `echo` separators. This is a headless session, so any command that would need confirmation is auto-declined, and a single declined command ends the run before you can answer. A chain is only as permitted as its least-permitted part.
I need a second opinion: {problem_summary}
Relevant files/areas to look at: {file_paths}
Read those (and anything else in the project you need) and give your perspective in {words} words or less. Reference specific functions/files so I know what you looked at. Focus on:
- Key considerations I might be missing
- Potential issues with the current approach
- Alternative approaches worth considering
If you need more context to give a confident answer, say so clearly.
Run the advisor commands in parallel — skipping the CLI you are running as — using
{timeout} as the Bash timeout. Each inlines the prompt via $(cat .second-opinion.md)
and closes stdin with </dev/null. All advisors run read-only and read the files the
prompt points them at, typically answering in ~15–25s; allow longer for a question that
spans many files.
Prefix the advisor commands with the command builtin where shown: in some shells
they are wrapper functions that depend on an interactive-shell variable not present
in the agent's environment; command bypasses the wrapper and runs the real binary,
which authenticates via its own on-disk credentials. If a bare binary instead exits
not-logged-in, its credential comes from the wrapper — drop the prefix for that one.
Claude: read-only built-ins, no slash commands, print mode. Leave claude
unprefixed — do not put command in front of it:
claude --tools "Read,Grep,Glob" --disable-slash-commands --no-session-persistence -p "$(cat .second-opinion.md)" </dev/null
Codex: read-only sandbox with both agent backends disabled; --skip-git-repo-check permits use outside a git repo:
command codex exec -s read-only --skip-git-repo-check --disable multi_agent --disable multi_agent_v2 -c agents.enabled=false "$(cat .second-opinion.md)" </dev/null
Use the Pi and OpenCode model ids and reasoning settings below exactly,
including in --quick mode. Change them only when the user explicitly requests it.
If a selected model or reasoning level is unavailable, report that advisor as
unavailable and continue with the others.
Pi: --tools is the read-only guard (no edit/write/bash). Pi has no -m short flag — it is --model:
command pi -p --no-session --tools read,grep,find,ls --model opencode-go/kimi-k3.1-pro --thinking max "$(cat .second-opinion.md)" </dev/null
OpenCode (2.x): use plan mode and deny its task tool for this consultation. The inline config applies only to this process. --standalone keeps the run in a private server instead of the shared background one:
OPENCODE_CONFIG_CONTENT='{"agent":{"plan":{"permission":{"task":"deny"}}}}' command opencode run --standalone --agent plan -m 'opencode-go/hy4#high' "$(cat .second-opinion.md)" </dev/null
Droid: Gemini 4 Argon at high effort, with file-reading and search tools only:
command droid exec --model gemini-4-argon --reasoning-effort high --only-tools Read,Glob,Grep,LS -f .second-opinion.md </dev/null
Use this model and reasoning level in quick mode too. If unavailable, report Droid as unavailable and continue with the other advisors.
After receiving responses, evaluate each for confidence level:
High Confidence Indicators:
Low Confidence Indicators:
If confidence is LOW for any advisor:
.second-opinion.md with enhanced contextSkip this step entirely if --quick flag was used.
Format the responses for the user:
## Second Opinions
### {advisor 1}
{advisor_1_response}
### {advisor 2}
{advisor_2_response}
### {advisor 3}
{advisor_3_response}
### {advisor 4}
{advisor_4_response}
### My Take
{your brief synthesis - where they agree, disagree, and your recommendation}
Include one heading per responding advisor.
Name each advisor heading after the CLI and the model it ran (e.g. Codex, Pi (<model>)).
If iteration occurred, note it:
*Note: Re-queried {advisor} with additional context after initial response lacked confidence.*
Delete .second-opinion.md using the Bash tool:
rm .second-opinion.md
Use the {timeout} value (default 300s) for each advisor's Bash timeout.
| Aspect | /second-opinion | /debate |
|---|---|---|
| Rounds | 1-3 (with iteration) | 1-10 |
| Quick mode | Yes (--quick) | No |
| State files | None | Full state tracking |
| Session mgmt | No sessions | UUID tracking |
| Output files | None | rounds/, synthesis.md |
| Purpose | Quick check | Deep analysis |
| Speed | ~1-3 min | 5-30 min |
| Read-only | Yes (enforced) | Configurable |
/second-opinion Should I use useCallback here or is it premature optimization?
/second-opinion Is this the right place to add error handling?
/second-opinion Review my approach to implementing this feature
/second-opinion --quick Just tell me if this pattern looks right
/second-opinion # Uses current context from conversation
Solution: Increase the timeout with --timeout=600 or use --quick to skip iteration.
What SKILL.md sets; muted values are Claude Code's defaults
highnpx claudepluginhub nielsmadan/skills --plugin nlsmdn65 skills in this plugin
/blind-spotsSurface consequential decisions a plan, design, or research brief left silently assumed, by interviewing the user in dependency order. Use when the user says "blind spots", "grill me", "stress-test this plan", "poke holes in this", "what am I missing", "interrogate this design", "what haven't I decided", or needs a loose idea or research brief clarified before work begins. Do NOT use for a clear factual lookup, to explain a previous reply in more detail (use `huh`), to generate ideas when it is unclear what to build (use `ideation`), or to review an already-written plan with agents (use `review-plan`)./brainstormWork out how to solve a problem the user can already name — interview them with `blind-spots` to understand it, generate structurally different approaches, validate each with an independent critic, then present the survivors with trade-offs and a recommendation. Use when the user says "brainstorm", "brainstorm approaches", "how should we solve/approach/tackle X", "what are our options", "compare approaches", "think this through with me", or wants solutions weighed before committing. Works on any topic, with codebase recon when a repo is involved; `--debate` adds external advisors for high-stakes calls. Do NOT use when stuck on what to build or what the problem is (use `ideation`), to probe an already-chosen plan (use `blind-spots`), or to pick a library or service (use `evaluate-tech`).