llm-advisor

Consults external LLMs via the llm CLI for second opinions on debugging and architecture decisions.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/surfingalien/FinSurfing --skill llm-advisor-surfingalien
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: llm-advisor
Source: https://github.com/surfingalien/FinSurfing/tree/main/.claude/skills/llm-advisor
Command: npx skills add https://github.com/surfingalien/FinSurfing --skill llm-advisor-surfingalien

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires llm, llm-gemini, llm-anthropic.

What problem does it solve? When you are stuck on a complex bug, facing a difficult architecture decision, or want a second opinion from another AI model, this Skill lets you query GPT-4.1, o4-mini, Gemini 2.5 Pro, or Claude Opus directly from the command line using Simon Willison's llm CLI. ## Core Features & Use Cases - Multi-Model Consultation: Query OpenAI, Google Gemini, and Anthropic Claude models with a single unified CLI interface. - Context-Rich Prompting: Pipe code files, git diffs, and error logs directly into prompts for grounded second opinions. - Reasoning Controls: Adjust reasoning effort on o-series models and thinking budgets on Gemini for deep analysis of hard problems. - Use Case: You have been debugging a Docker networking issue for 20 minutes. Pipe the stack trace and your troubleshooting steps into o4-mini with high reasoning effort to get fresh hypotheses on the root cause. ## Quick Start Ask another LLM for a second opinion on this bug by running the llm CLI with the error details and code context.

Frequently Asked Questions about llm-advisor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a second opinion from another AI model on a bug?โ–ผ

Use the llm CLI to send your problem description, stack trace, and troubleshooting steps to a reasoning model like o4-mini or Gemini 2.5 Pro. Pipe in relevant code or logs so the model has full context for its analysis.

How to review a git diff with GPT or Claude from the command line?โ–ผ

Pipe the output of git diff into the llm CLI with a review prompt, for example targeting gpt-4.1 or claude-sonnet-4-5. Ask for bugs, security vulnerabilities, performance issues, and missing edge cases with specific line references.

Which LLM model should I use for complex debugging tasks?โ–ผ

For complex debugging use o4-mini with high reasoning effort or Gemini 2.5 Pro with a large thinking budget. For quick questions use gpt-4o-mini or gemini-2.0-flash, and for deep architecture reasoning use o3 or claude-opus-4-5.

Does the llm CLI support Gemini and Anthropic models?โ–ผ

Yes, install the llm-gemini and llm-anthropic plugins, then set API keys with llm keys set gemini and llm keys set anthropic. Run llm models to verify which model IDs are available after installation.

Why does the llm CLI report model not found errors?โ–ผ

Model names change frequently as providers release new versions. Run llm models to list currently installed model IDs, and upgrade the llm package and its plugins with pip install --upgrade to get the latest model names.

When should I not consult another LLM for a second opinion?โ–ผ

Avoid it for simple obvious changes like typos, well-documented operations with clear solutions, and low-risk changes where speed matters. Always verify suggestions against your codebase and official documentation since models can be wrong about recent APIs.