Skip to content

Unified CLI that routes prompts to OpenAI, Anthropic, Gemini, or local Ollama models with remembered model choice.

CCM score
51 of 100
skills.sh installs
235
GitHub stars
416
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers non-interactive runs, piped stdin, file input, and interactive chat via llm --interactive or llm -i
  • Lists model aliases for OpenAI, Anthropic, Gemini, and Ollama, with claude, gpt, and gemini shorthand names
  • Detects provider API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, OLLAMA_BASE_URL) and shows a menu when the model choice is ambiguous
  • Persists the last model in ~/.claude/llm-skill-config.json and adds a /llm slash command for in-session use

Install

$ npx -y skills add glebis/claude-skills --skill llm-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

LLM CLI Skill

Purpose

This skill enables seamless interaction with multiple LLM providers (OpenAI, Anthropic, Google Gemini, Ollama) through the llm CLI tool. It processes textual and multimedia information with support for both one-off executions and interactive conversation modes.

When to Use This Skill

Trigger this skill when:

  • User wants to process text/files with an LLM
  • User needs to choose between multiple available LLMs
  • User wants interactive conversation with an LLM
  • User needs to pipe content through an LLM for processing
  • User wants to use specific model aliases (e.g., "claude-opus", "gpt-4o")

Example user requests:

  • "Process this file with Claude"
  • "Analyze this text with the fastest available model"
  • "Start an interactive chat with OpenAI"
  • "Use Gemini to summarize this document"
  • "Chat mode with my local Ollama instance"

Supported Providers & Models

Details

Repository
github.com/glebis/claude-skills
Categories
CLI & Terminal, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the llm-cli skill do?

The llm-cli skill processes textual and multimedia files with LLM providers such as OpenAI, Anthropic, Google Gemini and Ollama through the llm CLI tool. It supports both one-off non-interactive runs and interactive conversation modes, with model selection and config persistence.

How do I install the llm-cli skill?

Run npx -y skills add glebis/claude-skills --skill llm-cli -y in your project. This installs the llm-cli skill so Claude can run the llm CLI with the providers you have configured.

Which models and providers can llm-cli use?

It accepts model aliases such as gpt-4o, claude-opus and gemini-2.5-pro, plus provider aliases like openai, anthropic, google and ollama. It detects API keys from environment variables such as OPENAI_API_KEY and ANTHROPIC_API_KEY, and it can also use a local Ollama instance.

Where does llm-cli sit in the CLI & Terminal category?

llm-cli is listed in the CLI & Terminal category on Claude Marketplaces, alongside herdr, gws-shared, opentui, cf-cli and pnpm. Its distinct focus is sending text and files to several LLM providers from the llm command line.

More from glebis/claude-skills

All 22

Similar to Llm Cli

More CLI & Terminal