Chikput is a VS Code extension that watches terminal commands, detects likely programming errors, and explains them in simple beginner-friendly language with your chosen AI provider.
Features
- Captures terminal output using VS Code shell integration
- Detects likely errors automatically when a command finishes
- Includes active editor code when available
- Uses Ollama by default
- Supports OpenAI, Claude, and Gemini with user-provided API keys
- Lets you re-run the latest explanation from the Command Palette
Commands
Chikput: Explain Last Terminal ErrorChikput: Set AI ProviderChikput: Set Provider API Key
Extension Settings
chikput.provider:ollama,openai,claude, orgeminichikput.autoExplainTerminalErrors: auto-run explanation after terminal errorschikput.includeActiveEditorCode: include active editor code in the promptchikput.maxTerminalCharacters: limit terminal text sent to the providerchikput.maxCodeCharacters: limit code context sent to the providerchikput.ollama.baseUrl: local Ollama server URLchikput.ollama.model: Ollama model namechikput.openai.model: OpenAI model namechikput.claude.model: Claude model namechikput.gemini.model: Gemini model name
Setup
- Start the extension with
F5 - If you want Ollama, make sure your Ollama server is running locally
- If you want OpenAI, Claude, or Gemini:
Save the key with
Chikput: Set Provider API Key - Pick the provider with
Chikput: Set AI Provider - Run a terminal command that produces a real error
Notes
- Automatic capture depends on VS Code terminal shell integration
- If no real error is detected, Chikput stays quiet
- Explanations appear in the
ChikputOutput panel