llm
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
Plugin Management
llm install llm-anthropic
llm install llm-gemini
llm install llm-ollama
llm plugins
Documentation Index
Core Documentation
- README.md - Project overview and quick start guide
- docs/setup.md - Installation and initial configuration
- docs/usage.md - Comprehensive CLI usage guide (prompts, chat, attachments, conversations)
- docs/help.md - Complete command reference and help text
Model Configuration
- docs/openai-models.md - OpenAI model configuration and features
- docs/other-models.md - Configuration for other model providers
Advanced Features
- docs/tools.md - Tool use and function calling with LLMs
- docs/schemas.md - Structured data extraction from text and images
- docs/templates.md - Creating and using prompt templates
- docs/fragments.md - Long context support using fragments
- docs/aliases.md - Creating model aliases
Embeddings
- docs/embeddings/index.md - Embeddings overview
- docs/embeddings/cli.md - Embeddings CLI commands
- docs/embeddings/python-api.md - Embeddings Python API
- docs/embeddings/storage.md - Embeddings storage system
- docs/embeddings/writing-plugins.md - Writing embedding plugins
Plugins
- docs/plugins/index.md - Plugin system overview
- docs/plugins/installing-plugins.md - Installing and managing plugins
- docs/plugins/directory.md - Plugin directory listing
- docs/plugins/tutorial-model-plugin.md - Tutorial: Creating a model plugin
- docs/plugins/advanced-model-plugins.md - Advanced plugin development
- docs/plugins/plugin-hooks.md - Plugin hooks reference
- docs/plugins/plugin-utilities.md - Plugin utility functions
Python API & Development
- docs/python-api.md - Python library API reference
- docs/logging.md - Logging system and SQLite storage
- docs/contributing.md - Contributing to LLM development
Reference
- docs/related-tools.md - Related tools and ecosystem
- 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
srt_to_text.pyhelper for conversion - yt-dlp - Downloads audio from URLs (YouTube, podcasts, etc.)
More from seckatie/katies-ai-skills
jj-vcs
Jujutsu (jj) is a powerful Git-compatible version control system with innovative features like automatic rebasing, working-copy-as-a-commit, operation log with undo, and first-class conflict tracking. This skill is triggered when the user says things like "use jj", "run jj commands", "jujutsu version control", "migrate from git to jj", "jj rebase", "jj squash", "jj log", or "help with jj workflow".
36mermaid
Generate diagrams and flowcharts from mermaid definitions using the mermaid-cli (mmdc). Supports themes, custom CSS, and various output formats including SVG, PNG, and PDF. Mermaid supports 20+ diagram types including flowcharts, sequence diagrams, class diagrams, state diagrams, entity relationship diagrams, user journeys, Gantt charts, pie charts, quadrant charts, requirement diagrams, GitGraph, C4 diagrams, mindmaps, timelines, ZenUML, Sankey diagrams, XY charts, block diagrams, packet diagrams, Kanban boards, architecture diagrams, radar charts, and treemaps. This skill is triggered when the user says things like "create a diagram", "make a flowchart", "generate a sequence diagram", "create a mermaid chart", "visualize this as a diagram", "render mermaid code", or "create an architecture diagram".
10piper
Convert text to speech using Piper TTS. This skill is triggered when the user says things like "convert text to speech", "text to audio", "read this aloud", "create audio from text", "generate speech from text", "make an audio file from this text", or "use piper TTS".
10just
just is a handy command runner for saving and running project-specific commands. Features include recipe parameters, .env file loading, shell completion, cross-platform support, and recipes in arbitrary languages. This skill is triggered when the user says things like "create a justfile", "write a just recipe", "run just commands", "set up project automation with just", "understand justfile syntax", or "add a task to the justfile".
9yt-dlp
Download audio and video from thousands of websites using yt-dlp. Feature-rich command-line tool supporting format selection, subtitle extraction, playlist handling, metadata embedding, and post-processing. This skill is triggered when the user says things like "download this video", "download from YouTube", "extract audio from video", "download this playlist", "get the mp3 from this video", "download subtitles", or "save this video locally".
9parakeet
Convert audio files to text using parakeet-mlx, NVIDIA's Parakeet automatic speech recognition model optimized for Apple's MLX framework. Run via uvx for on-device speech-to-text processing with high-quality timestamped transcriptions. Ideal for podcasts, interviews, meetings, and other audio content. This skill is triggered when the user says things like "transcribe this audio", "convert audio to text", "transcribe this podcast", "get text from this recording", "speech to text", or "transcribe this wav/mp3/m4a file".
8