/ashlr-ollama-setup
Diagnose and guide a local Ollama install so /ashlr-genome-init --summarize works reliably.
When to use
Before running /ashlr-genome-init --summarize, so the genome summarizes discovered projects with a fast local model. Pro and Team users can skip Ollama: with ~/.ashlr/pro-token present, summarization routes to the hosted model (see Hosted summarization). Ollama stays the path for the free tier and offline use.
What it does
The command runs bun run ${CLAUDE_PLUGIN_ROOT}/scripts/ollama-setup.ts and relays its output verbatim. The script:
- Checks that Ollama is installed and the daemon is reachable
- Lists the installed models
- If no recommended model is installed, prints the
ollama pullcommand, or pulls the top pick itself with--yes - Warns when every installed model is 20B parameters or larger, since those time out on summaries
- Smoke-tests the chosen model with a one-sentence prompt under a 30-second timeout
It does not change any ashlr settings.
Recommended models
| Model | Size | Note |
|---|---|---|
llama3.2:3b | ~2 GB | recommended default — fastest, good quality |
llama3.2:1b | ~1.3 GB | tiny, acceptable fallback |
qwen2.5:3b | ~2 GB | alternative |
phi3.5:3.8b | ~2.2 GB | alternative |
Flags
| Flag | Effect |
|---|---|
--yes | Pull llama3.2:3b without prompting. ASHLR_OLLAMA_AUTO=1 does the same. Say "auto" or "just install it" and the command adds it |
Output
With Ollama running but no models installed:
In a color terminal the markers print as ✓, ✗, ⚠ and ℹ; in pipes they fall back to [ok], [x], [!] and [i]. When the smoke test passes, the last line confirms that /ashlr-genome-init --summarize will use the model.
Exit codes
| Code | Meaning |
|---|---|
0 | Ollama installed and running, recommended model present, smoke test passed |
1 | Something you can fix: not installed, not running, no model, or smoke test failed. The output names the next command |
2 | Internal error |
Related
/ashlr-genome-init— the--summarizeflag this prepares for- Hosted summarization — cloud summarization without Ollama