2.5k
GitHub Stars
12
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill ollama-memory-embeddings- _meta.json835 B
- audit.sh6.3 KB
- enforce.sh6.4 KB
- install.sh18.9 KB
- LICENSE.md1.0 KB
- README.md6.3 KB
- SECURITY.md1.7 KB
- SKILL.md5.9 KB
- uninstall.sh2.0 KB
- verify.sh6.0 KB
- VERSION.txt6 B
- watchdog.sh7.4 KB
Overview
This skill configures OpenClaw memory search to use Ollama as the embeddings server via its OpenAI-compatible /v1/embeddings endpoint. It replaces the default local node-llama-cpp embedding generation with selectable Ollama embedding models and offers optional import of local GGUF embedding files into Ollama. The installer is idempotent, creates safe backups, and includes verification, drift enforcement, and optional auto-heal tooling.
How this skill works
The installer verifies Ollama is reachable, presents interactive model selection (embeddinggemma, nomic-embed-text, all-minilm, mxbai-embed-large), and normalizes the chosen model name with a :latest tag. It updates only the keys this skill owns in OpenClaw config (provider, model, remote.baseUrl, remote.apiKey), performs post-write JSON validation, and can restart the OpenClaw gateway and optionally reindex memory. It can detect local embedding GGUFs and import them into Ollama, and it includes enforce and watchdog scripts to detect and heal configuration drift.
When to use it
- You want OpenClaw to generate memory embeddings via a running Ollama server instead of local node-llama-cpp.
- You need to standardize embedding generation across machines or centralize embeddings behind Ollama.
- You have local GGUF embedding files you want available through Ollama without manual model creation.
- You require automated drift detection and idempotent enforcement for memory search config.
- You plan to change embedding models and want safe rebuild/reindex guidance and tooling.
Best practices
- Back up your OpenClaw config before running; the installer already creates timestamped backups when it writes.
- Choose reindex-memory when switching embedding models to avoid mismatched vector spaces.
- Use --dry-run to preview changes in non-interactive scripts and CI.
- Opt into importing local GGUFs explicitly (--import-local-gguf yes) to avoid unintended model creation.
- Install the watchdog on systems where config drift is likely (macOS uses launchd install option).
Example use cases
- Switch an existing OpenClaw instance to use Ollama-hosted embeddings without touching chat/completions routing.
- Import a high-quality local GGUF (mxbai-embed-large) into Ollama to serve consistent embeddings across deployments.
- Automate configuration drift healing on macOS by installing the launchd watchdog to restore desired memorySearch settings.
- Run non-interactive installs in containers or automated setups with specified model and reindexing behavior.
- Verify an Ollama embedding endpoint is functioning by running the included two-step verification and verbose diagnostics.
FAQ
No. This skill only changes how memory-search embedding vectors are generated; chat/completions routing is unaffected.
Will my existing embeddings break after switching models?
If you change the embedding model you should rebuild/reindex memory because different models produce incompatible vector spaces; the installer can optionally reindex when needed.