| name | aichat |
| description | Use this skill when the user wants to chat with LLMs from the terminal — OpenAI, Claude, Gemini, local models, RAG, and multi-turn conversations without leaving the shell. |
aichat Plugin
All-in-one LLM CLI. Chat with multiple providers, run one-shot prompts, manage sessions, and pipe shell output into AI workflows.
Installation
cargo install aichat
Configure API keys in ~/.config/aichat/config.yaml or via environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.).
Basic Usage
aichat
aichat "Explain this error: connection refused on port 5432"
aichat --model gpt-4o "Summarize this README"
git diff | aichat "Review these changes for bugs"
Common Patterns
aichat --role coder "Refactor this function for clarity"
aichat --rag ./docs "How do I configure authentication?"
aichat --execute "List large files in /tmp"
aichat --session project-alpha
Usage Examples
- "Ask Claude to explain this stack trace"
- "Chat interactively with GPT-4 in the terminal"
- "Summarize the output of this git log"
SuperCLI
sc aichat _ _ "What does this regex match?"
sc aichat _ _ --model claude-3-5-sonnet "Draft a commit message"
sc plugins learn aichat