Skip to content
Back to skills

Ollama Launch

BSecurity

Start and verify the local Ollama LLM server. Use when Ollama is needed for RLM distillation, seal snapshots, embeddings, or any local LLM inference — and it's not already running. Checks if Ollama is running, starts it if not, and verifies the health endpoint.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

B84/100
  • mediumUses curl or wget to download content
  • criticalExfiltrates credentials via HTTP — exact pattern from Snyk ToxicSkills study

Pro scans all 7 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add richfrem/Project_Sanctuary --skill ollama-launch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ollama Launch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ollama Launch
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-ollama-launch/badge)](https://www.skillsdirectory.com/skills/richfrem-ollama-launch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ollama-launch
description: Start and verify the local Ollama LLM server. Use when Ollama is needed for RLM distillation, seal snapshots, embeddings, or any local LLM inference — and it's not already running. Checks if Ollama is running, starts it if not, and verifies the health endpoint.
---
# Ollama Launch

Ollama provides local LLM inference for RLM distillation (seal phase summarization) and embeddings.

## When You Need This

- **Seal fails** with `Connection refused` to `127.0.0.1:11434`
- **RLM distillation** shows `[DISTILLATION FAILED]` for new files
- Any tool that calls the Ollama API locally

## Pre-Flight Check

```bash
# 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

```bash
# 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

```bash
# 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:distill` requires Ollama for batch summarization
- **Embeddings**: Any tool that needs local vector embeddings

Files in this skill

  • SKILL.md1.8 KB
  • references/acceptance-criteria.md441 B
  • resources/distiller_manifest.json130 B
  • resources/manifest-index.json482 B
  • resources/prompts/rlm/rlm_summarize_general.md1.4 KB
  • resources/prompts/rlm/rlm_summarize_tool.md1.8 KB
  • resources/rlm_manifest.json368 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…