ov-memory-doctor
Diagnose and fix the OpenViking memory plugin for Codex on this machine: the plugin install (enablement, hooks, MCP server), the client configuration…
от volcengine★ 43 103 звезды на GitHub
Установить ov-memory-doctor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenViking Memory Doctor (Codex)
Troubleshooting for the OpenViking memory plugin. Three things go wrong on a user's machine, each silently:
- Install — marketplace registration,
[plugins."openviking-memory@openviking"]and[features] hooks(or legacyplugin_hooks) in~/.codex/config.toml, per-hook trust records, the stdio MCP proxy. When these are wrong, hooks never run and nothing is logged anywhere. - Configuration —
~/.openviking/ovcli.conf,~/.openviking/ov.confandOPENVIKING_*environment variables. A malformed file reads as "no config" and the plugin silently falls back tohttp://127.0.0.1:1933with no key; a stray env var silently overrides the file. - Connection — on a self-hosted server
/healthanswers 200 even with a bad key, so everything can look reachable while every real request 401s. On OpenViking Cloud the gateway authenticates/healthand/readytoo, so the same probe answers 401 without a key and says nothing about the url.
When the resolved url is loopback, the server runs on this machine and the
doctor adds a Server health section: whether anything listens on the
port, plugin-only keys in ov.conf (a top-level block named after any
harness: claude_code, codex, cursor, trae, trae_cn, zcode,
opencode, dsh, pi, plus server.url) that make the server refuse to
start, and GET /ready — the server's own
per-subsystem verdict (agfs, vectordb, api keys, embedding, ollama). For a
remote server only /ready is probed. Everything else on the server side —
config validation, live embedding probe, native engine, disk — is
openviking-server doctor, run in the server's Python environment.
Step 1 — run the doctor
The script ships inside the plugin. Codex runs hooks from the plugin cache, so run the doctor from there (newest version directory):
PLUGIN_DIR=$(ls -d ~/.codex/plugins/cache/openviking/openviking-memory/*/ | sort -V | tail -1)
node "$PLUGIN_DIR/scripts/ov-memory-doctor.mjs"
If that directory does not exist, fall back to the marketplace copy reported by
codex plugin list --json (.installed[] | select(.pluginId == "openviking-memory@openviking") | .source.path),
or to a source checkout's examples/codex-memory-plugin.
Options: --json (machine-readable), --offline (skip network probes),
--timeout <ms> (per probe, default 5000), --no-color.
The report has six sections — Environment, Plugin install, Configuration, Connection, Server health, Recent activity — and a Summary listing every ✗/⚠ with a fix. Read the whole report before acting: one root cause usually shows up in several sections (a bad key → "api key rejected" + "system/status → 401").
The API key is never printed in full. Three-segment keys are shown as
account=<a> user=<u> secret=abcd…wxyz (the first two segments are base64url
identity, decoded so the user can see which account/user the key claims).
Other shapes are shown as abcd…wxyz (N chars, unsupported format). Keep it
that way in anything you show the user.
Step 2 — map findings to causes
Work top-down; fix the first ✗ and rerun before chasing the next.
| Doctor finding | Meaning | Action |
|---|---|---|
ovcli.conf cannot be parsed / no usable config |
Trailing comma/comment; the plugin treats the file as absent and uses the localhost default | Fix the JSON. Fresh machine: create ~/.openviking/ovcli.conf with url + api_key, chmod 600. |
codex plugin list does not show … |
Plugin never installed, or installed under an old id | Re-run the one-line installer (curl -fsSL https://openviking.ai/install | bash -s -- --harness codex). |
hooks disabled in [features] / hooks feature is disabled in Codex |
The applicable hooks feature is disabled | Set hooks = true under [features] in ~/.codex/config.toml (or plugin_hooks = true for older Codex), restart Codex. |
[features] hooks enabled by default |
The live CLI reports hooks enabled; legacy plugin_hooks has no effect |
Continue with the remaining checks. |
[features] hooks is not set (info) |
The CLI probe could not determine the modern feature state and no legacy flag decides it | Verify with codex features list; an unset key alone does not prove hooks are disabled. |
[plugins."…"] enabled = false / installed but disabled |
Plugin switched off in config.toml | Set enabled = true, restart Codex. |
hooks disabled in [hooks.state] |
A hook was declined at the trust prompt | Remove enabled = false from that [hooks.state."openviking-memory@openviking:hooks/hooks.json:<event>:0:0"] section; approve the hook again. |
hooks without a trust record yet |
Codex has not yet approved those hooks (fresh install or hooks.json changed on update) |
Start a Codex session and accept the hook prompt; nothing is wrong. |
marketplace 'openviking' is not registered / root missing |
Marketplace removed or its clone deleted | Re-run the installer. |
| `plugin.jso |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference.md
FAQ
Что делает скилл ov-memory-doctor?
Diagnose and fix the OpenViking memory plugin for Codex on this machine: the plugin install (enablement, hooks, MCP server), the client configuration (ovcli.conf / ov.conf / OPENVIKING_* env) and the connection to the OpenViking server (reachability, 401/403, /mcp). Use whenever memory "isn't working": no <openviking-context> block, empty recall, captures not landing, missing or failing MCP memory tools, 401/403, an offline statusline, right after installing/updating the plugin or switching servers/keys, or when the user asks for the plugin's status. Triggers: "memory not working", "check OpenViking", "plugin status", "记忆没生效", "插件状态", "连不上 OpenViking", "recall 为空", "401".
Как установить скилл ov-memory-doctor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ov-memory-doctor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…