aichatlisted
Install: claude install-skill bayeslearner/bayeslearner-skills
# aichat
aichat is an all-in-one LLM CLI tool. Use it to send prompts to any configured model, pipe text through LLMs, or integrate AI into shell workflows.
Binary: `/home/kundeng/.local/bin/aichat`
Config: `~/.config/aichat/config.yaml`
## Basic usage
```bash
aichat "summarize the key points" # one-shot prompt
aichat -m openai:gpt-4o "explain X" # pick a specific model
echo "some text" | aichat "summarize this" # pipe stdin as context
cat log.txt | aichat "find errors" # filter/analyze files via pipe
aichat -f README.md "summarize this file" # include a file directly
aichat -f src/ "review this code" # include a whole directory
```
## Key flags
| Flag | Purpose |
|------|---------|
| `-m MODEL` | Select model (provider:model format) |
| `-S` | Disable streaming (wait for full response) |
| `-c` | Output code only (no explanation) |
| `-f FILE` | Include file, directory, or URL as context |
| `-r ROLE` | Use a predefined role |
| `-s [NAME]` | Start or join a named session (conversation memory) |
| `-e` | Execute mode: generate and run shell commands |
| `--prompt TEXT` | Set a system prompt |
| `--dry-run` | Show the message without sending |
## Discovery commands
```bash
aichat --list-models # list all available chat models
aichat --list-roles # list configured roles
aichat --list-sessions # list saved sessions
aichat --list-agents # list available agents
aichat --info # show current config and model in