openviking-memory
它能做什么
这个技能让 AI 在 OpenViking 中查找和存储长期笔记,OpenViking 是通过 MCP 工具连接的记忆服务。适合希望 AI 能在多次会话之间记住过去的决定、偏好和经验的人。
适用场景
- ✓当你开始一项多步骤任务,并希望 AI 调出相关的过去知识的时候。
- ✓当你希望 AI 记住某项偏好、决定或经验以备后用的时候。
- ✓当某项任务失败,你希望把经验保存下来供下次使用的时候。
技能链接
https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/openviking-memory/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请记住我喜欢简短的要点式摘要,并查看你已经了解的关于我格式偏好的内容?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会在开始较大的任务时搜索记忆库,读取相关内容,并使用 remember 工具保存持久的事实和经验。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenViking Memory
OpenViking is a long-term semantic memory store addressed by viking:// URIs.
This client has no lifecycle hooks, so nothing is recalled or captured
automatically — you drive both halves of the loop with the openviking MCP
tools.
Core tools, available on every supported deployment:
- Recall:
find,search,read,list,grep,glob - Persist:
remember,add_resource - Maintain:
forget,health
Some deployments register more than the core set — tree, write, edit,
list_watches, cancel_watch. These are optional: which ones exist depends
on the server version and hosting mode (the managed cloud service trims some
of them). Check the session's registered tool list; if any optional tool is
present, read references/optional-tools.md
before using it. Never call a tool that is not registered, and do not fall
back to raw HTTP. If no OpenViking tools are registered at all, continue
without memory.
Recall: at task start
- Decide whether the request warrants memory. Retrieve for executable or multi-step work, anything touching a system you may have seen before, and recovery from failures. Skip retrieval for small talk and one-off trivia.
- Build one concise query from the task goal, domain objects, intended operation, and constraints. After a failure, include the failed operation and the stable part of the error message.
- Call
find(fast, ranked results with URI + abstract + score) withlimitaround 5-10. Usesearchwhen deeper intent analysis helps, or usesearchwithmode="context"for a server-assembled, token-budgeted context block. In list mode, scope withtarget_uriwhen you know where to look, e.g.viking://~/memories/experiencesfor prior task experience.viking://~is the home alias for your own user root; a server that predates the alias rejects everyviking://~URI withINVALID_URI. Against such a server use the explicitviking://user/<user_id>/...root taken from a URI already visible in this session, or droptarget_uriand keep the hits whose URI contains/memories/experiences/. Never guess a user ID. - Judge results by task and environment fit, not title similarity.
readthe one to three exact file URIs likely to change how you execute. Ignore sidecar files such as.abstract.md,.overview.md, and.relations.json. - If nothing relevant comes back, proceed without memory. Make at most one focused follow-up search when execution fails for a materially new reason.
Treat retrieved memory as advisory. Priority order: system and developer instructions, the current user request, current environment and tool evidence, then memory. Verify commands, paths, and versions against the present task; prior success never authorizes a destructive action now.
Persist: during and after work
Because capture is not automatic here, durable information is lost unless you store it. When you encounter something worth keeping, persist it in the same session:
remember(messages)— the default. Pass the key exchange or a short factual summary as role-tagged messages; the server extracts and files memories (preferences, entities, events, experience) on its own. Use it when the user says "remember this", states a lasting preference or decision, or when a hard-won lesson (root cause, working procedure, environment quirk) emerges.add_resource— to import external documents or URLs as searchable resources. Use it for any file, URL, or repo the user hands you; never copy its text into a file withwriteinstead.- When you need a note you author at a known location (under
viking://~/— your own user root — orviking://resources/), the optionalwrite/edittools cover that — see references/optional-tools.md. If they are not registered, fall back toremember.
What to persist: stable preferences and conventions, environment facts, decisions with their rationale, and reusable procedures or fixes. What not to persist: secrets and credentials, transient state, speculation, or bulk transcript dumps — store conclusions, not scrollback.
File resources deliberately
Resource directory rules do not apply to Memory; use remember or session
commit and let the extraction system organize it. Before add_resource, keep
the existing Resource layout and account policy, choose shared versus
identity-private
常见问题
它会自动保存记忆吗?
不会。技能说明,不会自动捕获任何内容,因此记忆的调取和保存都由 AI 主动完成。
它用于日常闲聊吗?
不用。技能说明,不应将其用于闲聊或简单的事实性问题。
如果没有可用的 OpenViking 工具怎么办?
技能说明,应在没有记忆的情况下继续,而不是通过其他方式调用该服务。
详情
作者的原始描述
Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding, configuration, debugging, multi-step or tool-based work) to retrieve relevant prior knowledge with find/search/read, and during or after work to persist durable facts, preferences, decisions, and lessons with remember. Do not use for casual chat or simple factual questions the model can answer directly.
repo: volcengine/OpenViking
热度
- GitHub 星标
- 41k
- 排名
- #6505
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
openviking-skills
41k帮你的智能体查找、创建、安装和分享保存在 OpenViking 中的可复用技能,使一次保存的技能可在所有已连接的工具中使用。
ov-experience-memory
41k帮你的智能体在编码、部署或数据修改等有风险的多步骤工作之前,查看 OpenViking 中以往的操作经验教训。
ov-kanban
41k让你的智能体通过 OpenViking 中共享的任务看板工作,领取任务、记录进展,并把工作交接给其他智能体。
ov-memory-troubleshoot
41k帮你的智能体通过追溯到来源会话,找出 OpenViking 记忆错误或缺失的原因,且不做任何改动。