mincontext CLI

The same AI pipeline as the web app, running in your terminal. Analyze GitHub repos or local codebases — no browser needed.

Install
$npm install -g mincontext

Requires Node.js 18+.

Usage
$mincontext

Opens an interactive session. On first run you'll be guided through a quick setup — choose an LLM and a source repo or local directory. Then just describe your task.

Commands
/repoSet the GitHub repo to analyze
/localAnalyze the current directory — auto-detects git root
/dirSet a specific local path to analyze
/groqSwitch to Groq — free cloud LLM, get a key at console.groq.com
/ollamaSwitch to Ollama — runs locally, model is downloaded automatically
/keyUpdate your Groq API key
/copyCopy the file paths from the last result to clipboard
/clearClear the screen
/quitExit

Type / at any prompt to open the command menu with live filtering and arrow-key navigation.