ollama-memory-setup
Sets up local semantic memory search for OpenClaw using Ollama + nomic-embed-text. Use when: (1) memory_search returns 'node-llama-cpp is missing' or 'Local embeddings unavailable' error, (2) user wants local/private embeddings without external API keys (OpenAI, Gemini, Voyage), (3) setting up memory search for the first time on macOS or Linux, (4) node-llama-cpp fails to install or build. Fixes the common node-llama-cpp installation failure by routing through Ollama's OpenAI-compatible embedding API instead of a local binary.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brasco05/ollama-memory-setupOllama Memory Setup
Enables semantic memory search in OpenClaw using Ollama locally — no API keys, no cloud, fully private.
Wann verwenden?
Nutze diesen Skill wenn memory_search folgende Fehler wirft:
node-llama-cpp is missing (or failed to install)Local embeddings unavailableCannot find package 'node-llama-cpp'optional dependency node-llama-cpp is missing
Oder wenn du Embeddings lokal halten willst ohne externe APIs (OpenAI, Gemini, Voyage).
Verwendung
Automatisch (empfohlen)
# Setup-Script ausführen
bash ~/.openclaw/workspace/skills/ollama-memory-setup/scripts/setup.sh
# OpenClaw neu starten
openclaw gateway restart
Manuell (Schritt für Schritt)
# 1. Ollama installieren
brew install ollama # macOS
curl -fsSL https://ollama.com/install.sh | sh # Linux
# 2. Ollama starten (macOS: als Service, startet automatisch)
brew services start ollama
# 3. Embedding-Modell laden (~270MB, einmalig)
ollama pull nomic-embed-text
# 4. OpenClaw konfigurieren
openclaw config set agents.defaults.memorySearch.provider ollama
openclaw config set agents.defaults.memorySearch.model nomic-embed-text
openclaw config set agents.defaults.memorySearch.remote.baseUrl http://localhost:11434
openclaw config set agents.defaults.memorySearch.enabled true
# 5. Neu starten
openclaw gateway restart
Aufstellen
Keine API-Keys nötig. Voraussetzungen:
- macOS: Homebrew installiert (
brew --version) - Linux: curl installiert, systemd empfohlen
- Ollama Version: >= 0.18.0
- Speicher: ~300MB für das nomic-embed-text Modell
Verifizieren
Nach dem Neustart in einer frischen Session testen:
memory_search("test")
Erwartete Antwort enthält "provider": "ollama" — nicht disabled: true.
Warum nomic-embed-text?
nomic-embed-text ist ein spezialisiertes Embedding-Modell (nicht für Chat):
- Klein (~270MB vs. mehrere GB für Chat-Modelle)
- Schnell (~50ms pro Anfrage auf moderner Hardware)
- Hohe Qualität für semantische Suche
- Kostenlos, Open Source (Apache 2.0)
Alternativer Modellname für ältere Ollama-Versionen: nomic-embed-text:latest
Fehlersuche
Siehe references/troubleshooting.md für häufige Probleme wie:
- Ollama startet nicht
- memory_search bleibt deaktiviert nach Setup
- macOS: Ollama stoppt nach Neustart
- Linux: Systemd-Service einrichten
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brasco05-ollama-memory-setup": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
auto-dream
Memory consolidation skill that replicates Anthropic's Auto Dream feature. Runs a 4-phase reflective pass over memory files: Orient → Gather → Merge → Prune. Use when: (1) Context window feels cluttered with stale info, (2) After long coding sessions, (3) Manually triggered with /dream, (4) Automatically after daily-reflection. Keeps memories tight, removes contradictions, converts relative dates to absolute.
coding-pipeline
Enforces a disciplined 4-phase pipeline for non-trivial coding tasks: Plan (hypothesis) → Code (one fix) → Validate (root cause) → Debug (max 3 tries, escalate). Prevents blind patching, symptom fixes, and retry loops. Activate for any bug fix, feature implementation, refactor, or error investigation that isn't a trivial one-line change.
daily-reflection
Daily reflection routine that runs automatically via cron job at 23:59. Analyzes the day, extracts learnings, updates solution memory, detects recurring patterns, and prepares a morning briefing. Use when: (1) setting up automated end-of-day reflection, (2) building long-term agent memory and learning systems, (3) creating morning briefings for the next day. Trigger phrases: 'daily reflection', 'end of day summary', 'reflect on today', 'update solution memory'.
Deep Debugging
Skill by brasco05
keyword-research
Multi-source keyword intelligence and autocomplete research. Fetches real-time suggestions from Google, YouTube, Amazon, and DuckDuckGo — no API key required. Use when: (1) doing SEO or content keyword research, (2) finding what users search for on a topic, (3) competitor or niche research, (4) expanding a seed keyword into hundreds of related terms, (5) building keyword lists for ads or content. Triggers on: keyword research, what do people search for, autocomplete, keyword ideas, SEO keywords, search suggestions, keyword list.