跳到正文
Skillpedia
智能体41k · #6507

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/ov-experience-memory/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 recall for 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

  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.

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 search viking://user/<user_id>/memories/experiences.
  • Otherwise repeat the same query with no target scope, narrowed to memories 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: 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能