← 返回 Skills 市场
haven-ops

Openclaw Memory Ollama

作者 haven-ops · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
74
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install openclaw-memory-ollama
功能描述
OpenClaw 本地化记忆管理系统 — 构建稳定、高效、零成本的 AI 长期记忆解决方案。基于 Ollama(本地 Embedding)+ cognitive-brain(结构化存储)+ Memory Files(日常记忆)的三档存储架构。触发场景:(1) 用户需要为 AI 助手添加记忆功能 (2) 想要本地化...
安全使用建议
What to consider before using/installing: - The skill is instruction-only and appears to do what it claims (local memory using Ollama + cognitive-brain + Postgres/Redis), but the registry metadata does NOT declare the environment variables or config paths the docs require — review the docs carefully before supplying secrets. - The runtime steps tell you to edit files under ~/.openclaw and the cognitive-brain skill directory (config.json, scripts/embed.py) and to modify OpenClaw's openclaw.json. Back up those files before making changes and test in a non-production environment. - The cognitive-brain config will require Postgres DB credentials and access to Redis. Prefer using a dedicated local or test database, not a production DB. - The embedding script in the docs calls http://localhost:11434 (Ollama) — there are no obvious external network endpoints, but verify scripts for any unexpected outbound connections before running. - If you run the agent with autonomy, be aware the instructions imply cross-skill file edits; consider restricting the agent's file-system privileges or performing the edits manually rather than allowing automated changes. - If anything is unclear, ask the skill author for a clear list of required env vars, exact file paths, and an explicit checklist of changes so you can audit them beforehand.
功能分析
Type: OpenClaw Skill Name: openclaw-memory-ollama Version: 1.0.2 The skill bundle provides a comprehensive framework and documentation for a localized AI memory system using Ollama, PostgreSQL, and Redis. All scripts and configurations, such as the Python embedding logic in 'references/deployment.md' and the database schemas in 'references/config-reference.md', are strictly focused on local operations (localhost) and align with the stated purpose of building a private memory architecture. No indicators of data exfiltration, unauthorized remote execution, or malicious prompt injection were found.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The described purpose (local memory using Ollama + cognitive-brain + Postgres/Redis) is coherent with the instructions: the skill expects Ollama, a pgvector-enabled PostgreSQL, Redis, and the cognitive-brain skill. However, the registry metadata declares no required env vars, binaries, or config paths while the SKILL.md explicitly references several environment variables and specific config file locations (~/.openclaw and cognitive-brain workspace). The missing metadata is an inconsistency (documentation vs declared requirements).
Instruction Scope
SKILL.md and references instruct the user/agent to edit cognitive-brain's config.json and scripts/embed.py in ~/.openclaw/workspace-*/skills/cognitive-brain, restart OpenClaw gateway, and run verification commands. These instructions require reading and modifying files belonging to another skill and the OpenClaw installation, and expect DB credentials and local endpoints. While these actions are understandable for integration, they expand the agent's scope beyond a self-contained skill and could alter other skills' behavior.
Install Mechanism
This is an instruction-only skill with no install spec and no code executed by the registry. That minimizes supply-chain risk from downloads or packaged binaries. The deployment instructions do recommend installing Ollama via brew (official source) and pulling models; nothing is downloaded from untrusted URLs in the provided docs.
Credentials
Although the registry lists no required environment variables, the docs instruct setting OLLAMA_API_KEY and OLLAMA_HOST and show cognitive-brain config fields that require a Postgres user/password and Redis connection. Requesting DB credentials and access to other local services is proportionate to running a local memory system, but the fact these credentials and config paths are not declared in the skill metadata is a mismatch and increases risk if users supply credentials without realizing the scope. The embedding script targets only localhost (Ollama) in the docs, not external endpoints.
Persistence & Privilege
always:false and default autonomous invocation are fine. However, the instructions direct modifying other skills' configuration and the global OpenClaw config (~/.openclaw/openclaw.json), which amounts to cross-skill and system-wide changes. That level of access should be treated cautiously because it can alter agent behavior persistently.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-memory-ollama
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-memory-ollama 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added detailed documentation for OpenClaw 本地化记忆管理系统, including usage scenarios and core architecture overview. - Described three-layer storage and four-layer memory model with Redis, PostgreSQL, and file components. - Provided step-by-step quick start guide for setup and validation. - Listed core scripts, usage instructions, and verification commands. - Included tables detailing referenced skills, tools, architectural references, and contributor acknowledgments.
v1.0.1
- 技能名称由 openclaw-memory-system 更名为 openclaw-memory-ollama。 - 新增 README.md 文件,完善项目说明。 - SKILL.md 增加了“引用与致谢”部分,详细列举引用的技能、架构参考及工具链。 - 明确注明开发者贡献和架构参考来源。 - 现有使用与部署流程未变,增强了引用说明和文档指引。
v1.0.0
OpenClaw Memory System 1.0.0 初始版本上线: - 提供基于 Ollama(本地嵌入)、cognitive-brain(结构化存储)、Memory Files 的本地 AI 长期记忆三层架构。 - 支持四层记忆模型(感官、工作、情景、语义记忆)与 Redis、PostgreSQL 后端持久化。 - 内置与 cognitive-brain 技能的无缝集成,包括接口、数据表、存储方案引用。 - 详细部署指南与配置文档,助力 OpenClaw 用户快速搭建本地记忆系统。
元数据
Slug openclaw-memory-ollama
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Openclaw Memory Ollama 是什么?

OpenClaw 本地化记忆管理系统 — 构建稳定、高效、零成本的 AI 长期记忆解决方案。基于 Ollama(本地 Embedding)+ cognitive-brain(结构化存储)+ Memory Files(日常记忆)的三档存储架构。触发场景:(1) 用户需要为 AI 助手添加记忆功能 (2) 想要本地化... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 Openclaw Memory Ollama?

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

Openclaw Memory Ollama 是免费的吗?

是的,Openclaw Memory Ollama 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Openclaw Memory Ollama 支持哪些平台?

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

谁开发了 Openclaw Memory Ollama?

由 haven-ops(@haven-ops)开发并维护,当前版本 v1.0.2。

💬 留言讨论