Access and interact with Large Language Models from the command line using Simon Willison's llm CLI tool. Supports OpenAI, Anthropic, Gemini, Llama, and dozens of other models via plugins. Features include chat sessions, embeddings, structured data extraction with schemas, prompt templates, conversation logging, and tool use. This skill is triggered when the user says things like "run a prompt with llm", "use the llm command", "call an LLM from the command line", "set up llm API keys", "install…
Access and interact with Large Language Models from the command line using Simon Willison's llm CLI tool.
Supports OpenAI, Anthropic, Gemini, Llama, and dozens of other models via plugins.
Features include chat sessions, embeddings, structured data extraction with schemas, prompt templates, conversation logging, and tool use.
This skill is triggered when the user says things like "run a prompt with llm", "use the llm command", "call an LLM from the command line", "set up llm API keys", "install llm plugins", "create embeddings", or "extract structured data from text".
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeDeclared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLIDeclared
ClineNot declared
OpenCodeNot declared
Repository health
Stars1
Default branchmain
Open issues0
Status
Archived
Skill metadata
Parsed from SKILL.md frontmatter.
Declared agentsclaude-codegemini
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md5,958 B
docsSUMMARY.md585 B
History
First seen on skills.sh
First recorded snapshot · 8 installs
SKILL.md
LLM CLI Tool Skill
A CLI tool and Python library for interacting with Large Language Models including OpenAI, Anthropic's Claude, Google's Gemini, Meta's Llama, and dozens of others via remote APIs or locally installed models.
When to Use This Skill
Use this skill when:
Running prompts against LLMs from the command line
Managing conversations and chat sessions
Working with embeddings for semantic search
Extracting structured data using schemas
Installing and configuring LLM plugins
Managing API keys for various providers
Using templates for reusable prompts
Logging and analyzing LLM interactions
Quick Reference
Basic Commands
# Run a prompt
llm "Your prompt here"
# Use a specific model
llm -m claude-4-opus "Your prompt"
# Chat mode
llm chat -m gpt-4.1
# With attachments (images, audio, video)
llm "describe this" -a image.jpg
# Pipe content
cat file.py | llm -s "Explain this code"
Key Management
llm keys set openai
llm keys set anthropic
llm keys set gemini
[docs/python-api.md](docs/python-api.md) - Python library API reference
[docs/logging.md](docs/logging.md) - Logging system and SQLite storage
[docs/contributing.md](docs/contributing.md) - Contributing to LLM development
Reference
[docs/related-tools.md](docs/related-tools.md) - Related tools and ecosystem
[docs/changelog.md](docs/changelog.md) - Version history and changes
Common Workflows
Starting a Conversation
# Start chat with context
llm chat -m gpt-4.1 -s "You are a helpful coding assistant"
# Continue a previous conversation
llm -c "Follow up question"
Working with Files
# Analyze code
cat script.py | llm "Review this code for bugs"
# Process multiple files
cat *.md | llm "Summarize these documents"
Structured Output
# Extract data with schema
llm -m gpt-4.1 "Extract person info" -a photo.jpg --schema name,age,occupation
Template Usage
# List templates
llm templates
# Use a template
llm -t summarize < article.txt
Included Templates
This skill includes ready-to-use prompt templates in templates/.
audio-to-article.yaml
Transforms raw audio transcripts into polished, readable articles. Used by the /audio-to-article command.
# Use with a transcript
cat transcript.txt | llm -t templates/audio-to-article.yaml
# Or with the full path
python3 ../parakeet/srt_to_text.py audio.srt | llm -t templates/audio-to-article.yaml
What it does:
Removes filler words (um, uh, like, you know)
Fixes transcription errors from context
Adds paragraph breaks at topic transitions
Creates section headers where topics shift
Preserves the speaker's voice and meaning
Outputs clean markdown with title
Related skills:
parakeet - Transcribes audio to SRT, includes srttotext.py helper for conversion
yt-dlp - Downloads audio from URLs (YouTube, podcasts, etc.)