← 返回 Skills 市场
vidarbrekke

Ollama Memory Embeddings

作者 vidarbrekke · GitHub ↗ · v1.0.4
cross-platform ✓ 安全检测通过
1761
总下载
5
收藏
6
当前安装
5
版本数
在 OpenClaw 中安装
/install ollama-memory-embeddings
功能描述
Configure OpenClaw memory search to use Ollama as the embeddings server (OpenAI-compatible /v1/embeddings) instead of the built-in node-llama-cpp local GGUF loading. Includes interactive model selection and optional import of an existing local embedding GGUF into Ollama.
安全使用建议
This package looks coherent with its description, but a few practical things to check before installing: - Prerequisites: ensure node, curl, and the ollama CLI are installed and trusted on your machine (the repository metadata incorrectly lists no required binaries). openclaw is optional but needed if you want automatic gateway restart. - Review & dry-run: run install.sh --dry-run to preview changes; verify.sh to test the local embeddings endpoint. - Files touched: the installer will read/write ~/.openclaw/openclaw.json (backups are made before writes) and may create ~/Library/LaunchAgents/*.plist and logs under ~/.openclaw/logs if you opt into the watchdog—these are user-level files. - GGUF import: scanning and importing local GGUFs is opt-in. Do not use --import-local-gguf yes unless you trust the GGUF files on disk. - Persistence: watchdog installation is explicit; uninstall.sh and watchdog.sh --uninstall-launchd provide ways to revert. - Safety: do not run these scripts as root. Inspect install.sh, enforce.sh, and watchdog.sh yourself (they are included). If you want extra assurance, run them in a controlled environment or container first. If you want, I can point out the exact commands the scripts will run in a dry-run or summarize the lines that write your OpenClaw config and the launchd plist.
功能分析
Type: OpenClaw Skill Name: ollama-memory-embeddings Version: 1.0.4 The skill bundle is benign. It transparently configures OpenClaw to use Ollama for memory embeddings, as described in SKILL.md and README.md. The scripts (install.sh, enforce.sh, watchdog.sh, verify.sh, audit.sh) use robust methods for configuration management (e.g., node for JSON parsing, file locking, backups) and input sanitization (e.g., xml_escape for launchd plist). Network activity is confined to the local loopback address (127.0.0.1:11434) for Ollama, and persistence via watchdog.sh is optional and explicitly documented. There is no evidence of data exfiltration, unauthorized remote control, obfuscation, or malicious prompt injection attempts against the AI agent.
能力评估
Purpose & Capability
The scripts and SKILL.md are coherent with the stated purpose (switch OpenClaw memory embeddings to Ollama). They read/write the OpenClaw config, verify Ollama on localhost, optionally import local GGUFs, and offer restart/watchdog behavior. One inconsistency: the registry metadata reports "required binaries: none" / "instruction-only", but the packaged scripts clearly require node, curl, and the ollama CLI (and optionally openclaw, launchctl/systemctl). This is likely a metadata omission rather than malicious behavior, but you should expect those tools to be present.
Instruction Scope
Runtime instructions and scripts stay within the stated scope: they read/write ~/.openclaw/openclaw.json (and backups), scan a small set of local cache directories for GGUFs, call the local Ollama HTTP endpoint (127.0.0.1:11434), and may run 'ollama create' to import a model. The default behavior is conservative (no GGUF import unless opted-in, no gateway restart unless requested). Nothing in SKILL.md or the scripts instructs reading or transmitting unrelated secrets or contacting external network hosts.
Install Mechanism
There is no network-based installer: the repository includes install, verify, enforce, watchdog, audit, and uninstall scripts plus Node helper. No downloads from external URLs or package registry pulls are performed by the scripts. They assume required local tools are installed. This is low-risk compared to fetching and executing arbitrary remote archives.
Credentials
The skill requests no environment variables or credentials from the registry. The code sets the OpenClaw memorySearch.remote.apiKey to a non-secret sentinel value (default 'ollama') as required by the client, and the enforcement tools treat apiKey presence (non-empty) as sufficient. No sensitive system credentials or unrelated tokens are requested or transmitted. The scripts do read local config and model cache directories, which is appropriate for the task.
Persistence & Privilege
The skill does not request always:true and is not force-included. Persistence is optional and explicit: watchdog.sh can install a user-level LaunchAgents plist on macOS (or you can run the watchdog via cron/systemd on Linux). The installer writes files under the user's home (~/.openclaw and ~/Library/LaunchAgents) and creates logs there; it does not modify other skills or system-wide settings beyond user-level launchd/systemd guidance. Restarting the OpenClaw gateway is optional and requires either the openclaw CLI (if present) or manual action.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ollama-memory-embeddings
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ollama-memory-embeddings 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
No changes detected in this version (1.0.4). - No file changes between previous and latest version. - No updates to features, documentation, or behavior.
v1.0.3
- Added SECURITY.md to document security policies and reporting process. - Added uninstall.sh script for easy uninstallation. - Updated install script options: safer defaults for import (`no`) and gateway restart (`no`), deprecated --skip-restart in favor of --restart-gateway. - Added --dry-run option to preview planned changes without making modifications.
v1.0.2
- Initial release for version 1.0.2. - Added LICENSE.md and VERSION.txt files. - Introduced new scripts: audit.sh, lib/common.sh, and lib/config.js. - Improved documentation with clear install, verification, and drift enforcement instructions. - Expanded model selection and GGUF import capabilities.
v1.0.1
Version 1.0.1 - No file changes detected in this release. - Documentation and usage instructions remain unchanged. - No feature, bugfix, or behavioral updates included.
v1.0.0
Initial release: Configure OpenClaw memory search to use Ollama as the embeddings server. - Provides interactive/automated selection of supported Ollama embedding models - Optionally imports existing local embedding GGUFs into Ollama if found - Updates OpenClaw config to route memory-search embeddings to Ollama’s OpenAI-compatible endpoint - Supports idempotent drift enforcement and optional auto-heal watchdog - Includes installer, verification, and recovery commands for seamless integration - Leaves chat/completions routing unchanged; affects only memory-search embeddings
元数据
Slug ollama-memory-embeddings
版本 1.0.4
许可证
累计安装 7
当前安装数 6
历史版本数 5
常见问题

Ollama Memory Embeddings 是什么?

Configure OpenClaw memory search to use Ollama as the embeddings server (OpenAI-compatible /v1/embeddings) instead of the built-in node-llama-cpp local GGUF loading. Includes interactive model selection and optional import of an existing local embedding GGUF into Ollama. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1761 次。

如何安装 Ollama Memory Embeddings?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ollama-memory-embeddings」即可一键安装,无需额外配置。

Ollama Memory Embeddings 是免费的吗?

是的,Ollama Memory Embeddings 完全免费(开源免费),可自由下载、安装和使用。

Ollama Memory Embeddings 支持哪些平台?

Ollama Memory Embeddings 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ollama Memory Embeddings?

由 vidarbrekke(@vidarbrekke)开发并维护,当前版本 v1.0.4。

💬 留言讨论