ocmemog Installer
Install ocmemog from the canonical public package/repo and configure OpenClaw to use it as the memory plugin.
Public install paths
- - npm package: INLINECODE1
- GitHub repo: INLINECODE2
- GitHub release: INLINECODE3
- Plugin id: INLINECODE4
- Default sidecar endpoint: INLINECODE5
- Default timeout: INLINECODE6
- Bundled repo installer: INLINECODE7
Preferred workflow
- 1. If OpenClaw package install is available, prefer:
-
openclaw plugins install @openclaw/memory-ocmemog
-
openclaw plugins enable memory-ocmemog
- 2. If package install is unavailable, or the user wants a source checkout, use the repo installer flow:
- clone/update
https://github.com/simbimbo/ocmemog.git
- run
scripts/install-ocmemog.sh
- this path creates
.venv, installs Python requirements, attempts plugin install/enable, loads LaunchAgents, and pulls local Ollama models when Ollama is available
- on macOS/Homebrew systems,
OCMEMOG_INSTALL_PREREQS=true can also auto-install missing
ollama and
ffmpeg
- 3. Patch OpenClaw config so the
memory slot points at memory-ocmemog and the plugin entry uses http://127.0.0.1:17890 with timeoutMs: 30000. - Validate
/healthz and a memory search/get smoke test.
Agent behavior
- - Prefer the package install path when available because it is the cleanest public distribution path.
- Fall back to the repo installer path when package install is unavailable, when the user needs a source checkout, or when debugging/pinning commits.
- If config patch tooling is available, patch config automatically instead of asking the user to hand-edit files.
- After install, verify the sidecar and plugin state before claiming success.
- If the environment blocks automatic config changes, provide the exact config snippet and the shortest possible manual next step.
Config patching
Target config shape:
CODEBLOCK0
Rules:
- - If installed from package tooling, use the normal plugin install location chosen by OpenClaw.
- If installed from the repo installer flow, use the actual checkout path chosen by the script.
- Preserve existing unrelated plugin configuration.
- If config patch tooling is unavailable, provide the exact patch/snippet the user should apply.
Validation checklist
- - Sidecar responds on INLINECODE21
- INLINECODE22 shows
memory-ocmemog installed/enabled when CLI access exists - Memory search/get calls return data instead of connection errors
- If packaging/publish questions arise, remember this skill is a ClawHub wrapper for the public plugin package/repo, not the plugin package itself
Troubleshooting
- - If package install fails, fall back to the GitHub repo installer path.
- If ClawHub users expect a direct plugin package, explain that this skill installs/configures the real plugin package/repo.
- If macOS LaunchAgents fail, rerun the installer and inspect
launchctl print gui/$UID/com.openclaw.ocmemog.sidecar. - If the sidecar health check fails, inspect repo logs / terminal output before changing config.
- Keep the sidecar bound to
127.0.0.1 unless explicit auth/network hardening is added.
Notes
- - Prefer public package install over source checkout when both are viable.
- Use this skill as the ClawHub-distributed installer/config guide for the public ocmemog package/repo.
ocmemog 安装程序
从官方公共包/仓库安装 ocmemog,并配置 OpenClaw 将其用作内存插件。
公共安装路径
- - npm 包:@openclaw/memory-ocmemog
- GitHub 仓库:https://github.com/simbimbo/ocmemog.git
- GitHub 发布版:https://github.com/simbimbo/ocmemog/releases/tag/v0.1.2
- 插件 ID:memory-ocmemog
- 默认边车端点:http://127.0.0.1:17890
- 默认超时时间:30000
- 捆绑的仓库安装程序:scripts/install-ocmemog.sh
推荐工作流程
- 1. 如果 OpenClaw 包安装可用,优先使用:
- openclaw plugins install @openclaw/memory-ocmemog
- openclaw plugins enable memory-ocmemog
- 2. 如果包安装不可用,或用户希望进行源码检出,则使用仓库安装程序流程:
- 克隆/更新 https://github.com/simbimbo/ocmemog.git
- 运行 scripts/install-ocmemog.sh
- 此路径会创建 .venv,安装 Python 依赖,尝试插件安装/启用,加载 LaunchAgents,并在 Ollama 可用时拉取本地 Ollama 模型
- 在 macOS/Homebrew 系统上,OCMEMOG
INSTALLPREREQS=true 也可以自动安装缺失的 ollama 和 ffmpeg
- 3. 修补 OpenClaw 配置,使 memory 槽指向 memory-ocmemog,插件条目使用 http://127.0.0.1:17890,timeoutMs: 30000。
- 验证 /healthz 以及内存搜索/获取的冒烟测试。
代理行为
- - 当可用时优先使用包安装路径,因为这是最干净的公共分发路径。
- 当包安装不可用、用户需要源码检出或调试/固定提交时,回退到仓库安装程序路径。
- 如果配置修补工具可用,自动修补配置,而不是要求用户手动编辑文件。
- 安装后,在确认成功之前验证边车和插件状态。
- 如果环境阻止自动配置更改,提供精确的配置片段和最短的手动下一步操作。
配置修补
目标配置结构:
yaml
plugins:
load:
paths:
- /path/to/ocmemog
slots:
memory: memory-ocmemog
entries:
memory-ocmemog:
enabled: true
config:
endpoint: http://127.0.0.1:17890
timeoutMs: 30000
规则:
- - 如果通过包工具安装,使用 OpenClaw 选择的正常插件安装位置。
- 如果通过仓库安装程序流程安装,使用脚本选择的实际检出路径。
- 保留现有的无关插件配置。
- 如果配置修补工具不可用,提供用户应应用的确切补丁/片段。
验证清单
- - 边车在 /healthz 上响应
- 当 CLI 访问存在时,openclaw plugins 显示 memory-ocmemog 已安装/启用
- 内存搜索/获取调用返回数据而不是连接错误
- 如果出现打包/发布问题,请记住此技能是公共插件包/仓库的 ClawHub 包装器,而不是插件包本身
故障排除
- - 如果包安装失败,回退到 GitHub 仓库安装程序路径。
- 如果 ClawHub 用户期望直接使用插件包,解释此技能安装/配置真实的插件包/仓库。
- 如果 macOS LaunchAgents 失败,重新运行安装程序并检查 launchctl print gui/$UID/com.openclaw.ocmemog.sidecar。
- 如果边车健康检查失败,在更改配置前检查仓库日志/终端输出。
- 除非添加了显式的认证/网络加固,否则保持边车绑定到 127.0.0.1。
备注
- - 当两者都可行时,优先使用公共包安装而非源码检出。
- 使用此技能作为公共 ocmemog 包/仓库的 ClawHub 分发安装程序/配置指南。