llm-advisor
БесплатноБез исполняемых скриптовНе проверенConsult other LLMs (GPT-4.1, o4-mini, Gemini 2.5 Pro, Claude Opus) for second opinions on complex bugs, hard problems, planning, and architecture decisions…
Об этом скилле
LLM Advisor
Use Simon Willison's llm CLI to consult other LLMs for second opinions, alternative perspectives, and expert advice on complex problems.
When to Use This Skill
Proactive Use (autonomous)
Use this skill proactively without being asked when:
- Stuck >15 minutes on a bug or problem
- Complex debugging with unclear root cause
- Architecture decisions with significant trade-offs
- Planning complex features that need validation
- Unfamiliar codebase/language where you need guidance
- Security-sensitive code (auth, crypto, input validation)
On-Demand Use (user requests)
Use when the user says:
- "Ask Gemini/GPT/Claude about X"
- "Get a second opinion on this"
- "What would GPT think about this approach?"
- "Check with another model"
Prerequisites
Installation
# Install llm CLI
brew install llm
# or
pip install llm
# Set up OpenAI API key
llm keys set openai
# Install Gemini plugin (optional)
llm install llm-gemini
llm keys set gemini
# Install Anthropic plugin (optional)
llm install llm-anthropic
llm keys set anthropic
Verify Setup
# Check available models
llm models
# Test a simple prompt
llm "Hello, what model are you?"
Model Selection (Current as of 2026)
OpenAI Models
| Use Case | Model | Command |
|---|---|---|
| Fast/cheap | gpt-4o-mini | llm -m gpt-4o-mini "question" |
| General purpose | gpt-4.1 | llm -m gpt-4.1 "question" |
| Complex reasoning | o4-mini | llm -m o4-mini -o reasoning_effort=high "question" |
| Deep reasoning | o3 | llm -m o3 "question" |
| Premium | gpt-4.1 | llm -m gpt-4.1 "question" |
Note: Check
llm modelsto see exactly which model IDs are installed. OpenAI model names change frequently. As of 2026,gpt-4.1is the flagship GPT ando3/o4-miniare the reasoning models.
Google Gemini Models
| Use Case | Model | Command |
|---|---|---|
| Fast general | gemini-2.0-flash | llm -m gemini-2.0-flash "question" |
| Advanced + thinking | gemini-2.5-pro | llm -m gemini-2.5-pro "question" |
| Long context (1M+) | gemini-2.5-pro | llm -m gemini-2.5-pro "question" |
| Deep reasoning | gemini-2.5-pro | llm -m gemini-2.5-pro -o thinking_budget=32000 "question" |
Anthropic Claude Models
| Use Case | Model | Command |
|---|---|---|
| Fast / cost-efficient | claude-haiku-4 | llm -m claude-haiku-4 "question" |
| General purpose | claude-sonnet-4-5 | llm -m claude-sonnet-4-5 "question" |
| Highest quality | claude-opus-4-5 | llm -m claude-opus-4-5 "question" |
Model Selection Guidelines
- Quick questions: Use
gpt-4o-miniorgemini-2.0-flash - General advice: Use
gpt-4.1orclaude-sonnet-4-5 - Complex debugging: Use
o4-mini -o reasoning_effort=highorgemini-2.5-pro -o thinking_budget=32000 - Code review: Use
gpt-4.1orclaude-sonnet-4-5for thorough analysis - Architecture / deep reasoning: Use
o3orclaude-opus-4-5 - Long context (>100K tokens): Use
gemini-2.5-pro(1M+ context window)
Command Reference
Basic Prompts
# Simple question
llm "What's the best way to handle rate limiting in a REST API?"
# With specific model
llm -m gpt-4.1 "Explain this error: <error message>"
# With system prompt
llm -s "You are a senior software architect" "Review this design: <design>"
Piped Input
# Analyze code from file
cat src/auth.ts | llm -m gpt-4.1 "Review this authentication code for security issues"
# Analyze git diff
git diff | llm -m gpt-4.1 "Review these changes for bugs"
# Analyze error logs
cat error.log | llm -m gpt-4o-mini "What's causing these errors?"
Options
# Control reasoning effort (OpenAI o-series)
llm -m o4-mini -o reasoning_effort=high "Complex question"
llm -m o4-mini -o reasoning_effort=low "Simple question"
# Enable thinking mode (Gemini)
llm -m gemini-2.5-pro -o thinking_budget=32000 "Complex reasoning task"
# Extract code blocks from response
llm -x "Write a function to parse JSON safely"
Conversations
# Continue previous conversation
llm -c "What about error handling?"
# Start new conversation with context
llm -m gpt-4.1 "I'm debugging a memory leak in a Node.js app..."
llm -c "Here's the heap snapshot: <data>"
Workflow Examples
Hard Bug Debugging
When stuck on a difficult bug:
# Describe the problem with context
llm -m o4-mini -o reasoning_effort=high "I'm debugging this issue:
Error: Connection refused on port 5432
Environment: Docker container, Node.js 22
Stack trace: <paste stack trace>
What I've tried:
1. Verified PostgreSQL is running
2. Checked network settings
3. Tested connection from host
What else should I check?"
Architecture Decision
When evaluating design choices:
llm -m claude-opus-4-5 "I need to decide between these approaches:
Option A: Event-driven with Redis pub/sub
Option B: Direct API c
Установить llm-advisor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл llm-advisor?
Consult other LLMs (GPT-4.1, o4-mini, Gemini 2.5 Pro, Claude Opus) for second opinions on complex bugs, hard problems, planning, and architecture decisions. Use proactively when stuck for 15+ minutes or facing complex debugging. Use when user says 'ask Gemini/GPT/Claude about X' or 'get a second opinion'.
Как установить скилл llm-advisor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-advisor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic