aichat
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.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- 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.
03 SKILL.md 正文
aichat Plugin
All-in-one LLM CLI. Chat with multiple providers, run one-shot prompts, manage sessions, and pipe shell output into AI workflows.
Commands
aichat <resource> <action>— Execute aichat commandsaichat _ _— Passthrough to aichat CLI
Installation
cargo install aichat
# or download from https://github.com/sigoden/aichat/releases
Configure API keys in ~/.config/aichat/config.yaml or via environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.).
Basic Usage
# Interactive chat session
aichat
# One-shot prompt
aichat "Explain this error: connection refused on port 5432"
# Specify model and role
aichat --model gpt-4o "Summarize this README"
# Pipe command output into a prompt
git diff | aichat "Review these changes for bugs"
Common Patterns
# Use a system role / preset
aichat --role coder "Refactor this function for clarity"
# RAG over local files
aichat --rag ./docs "How do I configure authentication?"
# Execute generated shell commands (use with care)
aichat --execute "List large files in /tmp"
# Session history
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
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
quickstart
暂无简介