ollama-launch
Dependencies
This skill requires Python 3.8+ and standard library only. No external packages needed.
To install this skill's dependencies:
pip-compile ./requirements.in
pip install -r ./requirements.txt
See ./requirements.txt for the dependency lockfile (currently empty — standard library only).
Ollama Launch
Ollama provides local LLM inference for RLM distillation (seal phase summarization) and embeddings.
When You Need This
- Seal fails with
Connection refusedto127.0.0.1:11434 - RLM distillation shows
[DISTILLATION FAILED]for new files - Any tool that calls the Ollama API locally
Pre-Flight Check
# Check if Ollama is already running
curl -sf http://127.0.0.1:11434/api/tags > /dev/null && echo "✅ Ollama running" || echo "❌ Ollama not running"
If running, you're done. If not, proceed.
Start Ollama
# Start Ollama in the background
ollama serve &>/dev/null &
# Wait and verify (2-3 seconds)
sleep 3
curl -sf http://127.0.0.1:11434/api/tags > /dev/null && echo "✅ Ollama ready" || echo "❌ Ollama failed to start"
Verify Model Available
For RLM distillation, the project uses model you define in .env
# List available models
ollama list
# If the model is missing, pull it
ollama pull qwen2:7b
Troubleshooting
| Symptom | Fix |
|---|---|
Connection refused after start |
Wait longer (sleep 5), model may be loading |
ollama: command not found |
Ollama not installed — ask user to install from https://ollama.com |
| Port 11434 already in use | Another process on that port — lsof -i :11434 to identify |
Integration Points
- Learning Loop Seal Phase: RLM synthesis calls Ollama for distillation
- RLM Factory:
/rlm-factory:distillrequires Ollama for batch summarization - Embeddings: Any tool that needs local vector embeddings
More from richfrem/agent-plugins-skills
markdown-to-msword-converter
Converts Markdown files to one MS Word document per file using plugin-local scripts. V2 includes L5 Delegated Constraint Verification for strict binary artifact linting.
52excel-to-csv
>
32zip-bundling
Create technical ZIP bundles of code, design, and documentation for external review or context sharing. Use when you need to package multiple project files into a portable `.zip` archive instead of a single Markdown file.
29learning-loop
(Industry standard: Loop Agent / Single Agent) Primary Use Case: Self-contained research, content generation, and exploration where no inner delegation is required. Self-directed research and knowledge capture loop. Use when: starting a session (Orientation), performing research (Synthesis), or closing a session (Seal, Persist, Retrospective). Ensures knowledge survives across isolated agent sessions.
26spec-kitty-checklist
A standard Spec-Kitty workflow routine.
26obsidian-graph-traversal
Semantic link traversal for Obsidian Vaults. Builds an in-memory graph index from wikilinks and provides instant forward-link, backlink, and multi-degree connection queries. Use when exploring note relationships or finding orphaned notes.
26