ov-experience-memory
它能做什么
这个技能让 AI 在开工前查找类似任务的过往经验教训,并将其作为建议参考,同时始终以你当前的请求为准。适合 AI 负责技术或多步骤任务的人。
适用场景
- ✓当你的 AI 即将修改文件、数据或配置的时候。
- ✓当某次部署或工作流程以前失败过,你想避免重蹈覆辙的时候。
- ✓当你希望在多步骤任务中使用以往的操作指导的时候。
技能链接
https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/ov-experience-memory/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在部署这次改动之前,先查看我们以前的部署是否留有经验教训?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会在经验库中搜索与任务匹配的过往经验教训,只阅读明确适用的内容,并将其视为建议而非指令。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenViking Experience Memory
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.
Preconditions
- Use only OpenViking tools that are actually registered in the current Agent runtime.
- Require both a semantic search capability and an exact URI read capability.
- If either capability is unavailable, continue without Experience. Do not invent a tool call, fabricate a ToolPart, or replace the Agent tool call with direct HTTP or CLI access.
- Do not substitute broad memory
recallfor a search scoped to the Experience 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.
Select Runtime Tools
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.
Retrieval Workflow
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.
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.
Search only the current user's Experience root:
viking://~/memories/experiencesFor tools using MCP-style parameters, set
target_urito this root. For OpenClawov_search, seturito this root. Never hardcodedefault,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.Start with
limit=5and 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.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.mdand.overview.md.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.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.
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.
Servers Without the Home Alias
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:
- If a canonical
viking://user/<user_id>/...URI is already visible in this session — injected memory context, or an earlier OpenViking tool result — reuse that<user_id>and searchviking://user/<user_id>/memories/experiences. - Otherwise repeat the same query with no target scope, narrowed to memories
with
context_typewhen 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: o
常见问题
过往经验能否覆盖我的请求?
不能。技能说明,当前的请求、环境以及已验证的工具结果始终具有最终决定权。
如果工具不可用怎么办?
技能说明,应在没有经验的情况下继续,而不是通过其他方式调用该服务。
它用于简单的问题吗?
不用。技能说明,不应将其用于闲聊或简单的事实性问题。
详情
作者的原始描述
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.
repo: volcengine/OpenViking
热度
- GitHub 星标
- 41k
- 排名
- #6507
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
openviking-memory
41k帮你的智能体通过 OpenViking 调用和保存长期记忆:工作开始时检索过去的知识,之后保存有用的事实和经验。
openviking-skills
41k帮你的智能体查找、创建、安装和分享保存在 OpenViking 中的可复用技能,使一次保存的技能可在所有已连接的工具中使用。
ov-kanban
41k让你的智能体通过 OpenViking 中共享的任务看板工作,领取任务、记录进展,并把工作交接给其他智能体。
ov-memory-troubleshoot
41k帮你的智能体通过追溯到来源会话,找出 OpenViking 记忆错误或缺失的原因,且不做任何改动。