openviking-memory
Skill này làm gì
Skill này cho phép AI tra cứu và lưu các ghi chú dài hạn trong OpenViking, một dịch vụ bộ nhớ được kết nối qua các công cụ MCP. Nó dành cho người muốn AI nhớ các quyết định, sở thích và bài học qua nhiều phiên.
Khi nào nên dùng
- ✓Khi bạn bắt đầu một tác vụ nhiều bước và muốn AI gợi lại kiến thức cũ liên quan.
- ✓Khi bạn muốn AI ghi nhớ một sở thích, quyết định hoặc bài học để dùng sau.
- ✓Khi một tác vụ thất bại và bạn muốn lưu bài học để lần sau tránh.
Liên kết skill
https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/openviking-memory/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy nhớ rằng tôi thích tóm tắt ngắn với gạch đầu dòng, và kiểm tra những gì bạn đã biết về sở thích định dạng của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI tìm trong kho bộ nhớ khi bắt đầu các tác vụ đáng kể, đọc những gì liên quan, rồi lưu các dữ kiện bền vững và bài học bằng công cụ remember.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có tự lưu ký ức không?
Không. Skill nói không có gì được ghi nhận tự động, nên AI điều khiển cả việc gợi lại lẫn việc lưu.
Nó có dùng cho trò chuyện thông thường không?
Không. Skill nói không dùng cho trò chuyện thông thường hoặc câu hỏi thực tế đơn giản.
Nếu không có công cụ OpenViking thì sao?
Skill nói hãy tiếp tục không có bộ nhớ, thay vì gọi dịch vụ bằng cách khác.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6505
- Giấy phép
- AGPL-3.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
openviking-skills
41kGiúp agent của bạn tìm, tạo, cài và chia sẻ skill tái sử dụng lưu trong OpenViking, để một skill lưu một lần dùng được ở mọi công cụ đã kết nối.
ov-experience-memory
41kGiúp agent của bạn xem các bài học vận hành đã lưu trong OpenViking trước khi làm việc rủi ro nhiều bước, như lập trình, triển khai hay thay đổi dữ liệu.
ov-kanban
41kCho phép agent của bạn làm việc trên bảng công việc chung lưu trong OpenViking: nhận việc, ghi lại tiến độ và chuyển giao công việc cho agent khác.
ov-memory-troubleshoot
41kGiúp agent của bạn tìm hiểu vì sao một ký ức trong OpenViking bị sai hoặc thiếu bằng cách truy ngược về phiên làm việc gốc, mà không thay đổi gì.
Skill tương tự
mcporter
394kGiúp agent của bạn liệt kê, gọi và kiểm tra các máy chủ MCP cùng công cụ của chúng qua HTTP hoặc stdio, và quản lý cài đặt đăng nhập.
fastmcp
260kGiúp bạn xây dựng, kiểm thử và triển khai một máy chủ MCP bằng Python, cấp cho trợ lý AI quyền truy cập API, cơ sở dữ liệu hoặc file của bạn dưới dạng công cụ.
mcp-oauth-remote-gateway
260kHướng dẫn bạn đăng nhập OAuth cho máy chủ MCP từ xa khi Hermes chạy trên máy chủ, nơi đăng nhập bằng trình duyệt thông thường không thể truy cập được.