Skip to main content

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.

来源信息

仓库
javimosch/supercli
最近来源活动
2026年7月21日 00:50
检测到的 SKILL.md 语言
英语
星标
51
分支
7

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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 ```bash 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 ```bash # 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 ```bash # 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 ```bash sc aichat _ _ "What does this regex match?" sc aichat _ _ --model claude-3-5-sonnet "Draft a commit message" sc plugins learn aichat ```
在 GitHub 查看