openviking-memory
Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding,…
Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools. Use before or during executable, multi-step, or tool-based work such as coding, file or data changes, configuration, deployment, workflow execution, and
Claude Code
$ npx -y skills add volcengine/openviking --skill ov-experience-memory --agent claude-code
Codex
$ npx skills add volcengine/openviking --skill ov-experience-memory -a codex -y
Cursor
$ npx skills add volcengine/openviking --skill ov-experience-memory -a cursor -y
Gemini CLI
$ npx skills add volcengine/openviking --skill ov-experience-memory -a gemini-cli -y
GitHub Copilot
$ npx skills add volcengine/openviking --skill ov-experience-memory -a github-copilot -y
OpenCode
$ npx skills add volcengine/openviking --skill ov-experience-memory -a opencode -y
Windsurf
$ npx skills add volcengine/openviking --skill ov-experience-memory -a windsurf -y
name: ov-experience-memory description: Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools. Use before or during executable, multi-step, or tool-based work such as coding, file or data changes, configuration, deployment, workflow execution, and failure recovery when prior operational guidance could improve reliability. Do not use for casual chat or simple factual questions.
Use prior task Experience as advisory operational guidance. Keep the current user request, current environment, and verified tool results authoritative. Experience retrieval supplements normal context retrieval; it does not replace user memory, events, preferences, session archives, resources, or Agent Skills.
runtime.
invent a tool call, fabricate a ToolPart, or replace the Agent tool call with direct HTTP or CLI access.
root. Continue using the runtime's normal recall and retrieval flows when the task also needs user facts, events, decisions, prior conversation, or domain resources.
Choose the registered names that match the current runtime:
| Runtime | Search | Read | | --- | --- | --- | | OpenViking MCP, Codex, Claude Code | `find` or `search` | `read` | | OpenCode, pi | `openviking_find` or `openviking_search` | `openviking_read` | | OpenClaw | `ov_search` | `ov_read` or `ov_multi_read` |
The host may display MCP names with a namespace such as `mcp__openviking__find`. Use the exact registered name and schema shown by the runtime. Prefer `find` for a fast task-start lookup and `search` when session context or deeper intent analysis is useful.
1. Decide whether the request is an executable task. Retrieve Experience for planning, tool use, environment changes, multi-step workflows, or recovery from a failed attempt. Skip retrieval for casual conversation and simple knowledge answers. 2. Build one concise query containing the task goal, domain object, intended operation, and important constraints. After a failure, include the failed operation and stable error signature. 3. Search only the current user's Experience root:
viking://~/memories/experiences
For tools using MCP-style parameters, set `target_uri` to this root. For OpenClaw `ov_search`, set `uri` to this root. Never hardcode `default`, `test`, or another user ID. If the server rejects the URI, resolve the root as described in *Servers Without the Home Alias* and retry once. 4. Start with `limit=5` and the tool's normal score threshold. Judge results by task, environment, preconditions, and likely effect; title similarity alone is insufficient. If no result is relevant, continue without Experience and do not broaden the search to unrelated memory directories. 5. Select only the one to three Experience files likely to change execution. Require an exact file URI without a query or fragment. Ignore directories, unrelated memory types, and sidecars such as `.abstract.md` and `.overview.md`. 6. Read every selected canonical `viking://.../memories/experiences/...` URI with the runtime's OpenViking read tool. Search abstracts help selection but are not a substitute for reading the Experience body. 7. Apply relevant steps and checks while executing the task. Do not repeat the Experience verbatim to the user unless its content is directly needed in the answer. 8. If execution fails for a materially new reason, perform at most one focused follow-up search using the failure evidence, then read only newly relevant Experience files.
`viking://~` is the home alias for the caller's own space. A server released before the alias (OpenViking v0.4.16) does not resolve it and rejects the request with `INVALID_URI` (HTTP 400) instead of searching. Retry once against the caller's explicit root, resolved from evidence rather than guessed:
session — injected memory context, or an earlier OpenViking tool result — reuse that `<user_id>` and search `viking://user/<user_id>/memories/experiences`.
with `context_type` when the tool accepts it, and keep only hits whose URI contains `/memories/experiences/`. Those hits carry the canonical user ID; reuse it for the reads and for any later Experience search in this task.
Do not fall back to the uid-less `viking://user/memories/experiences`: only some older servers and roles expand it, and current servers reject it. If no explicit root can be resolved, continue without Experience.
security policy, or proof that an action succeeded.
user request, current environment and tool evidence, then Experience.
paths, APIs, versions, and destructive actions against the current task.
never authorizes a destructive or external action in the current session.
match the current environment; otherwise proceed conservatively and surface the ambiguity when it affects the user.
Use real Agent tool calls so the committed OpenViking session
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding,…
Find, use, create, install, share, update, and migrate agent skills stored in OpenViking (viking://~/skills and…
Work through tasks on a kanban board stored in OpenViking (viking://agent/kanban/<board>/, one markdown file per task). Use when…
Diagnose OpenViking memory issues by tracing backward from a memory file to its archive memory_diff.json and, when needed,…
Search and read documents, repos, URLs, and other resources stored in OpenViking under viking://resources/. Use whenever the user…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…