openviking-memory
できること
このスキルは、MCPツールで接続されたメモリサービスであるOpenVikingに、AIが長期的なメモを検索して保存できるようにします。セッションをまたいで、過去の決定、好み、教訓をAIに覚えておいてほしい人向けです。
使う場面
- ✓複数の手順からなる作業を始めて、関連する過去の知識を思い出させたいとき。
- ✓好み、決定、教訓を、後で使えるように覚えさせたいとき。
- ✓作業が失敗し、その教訓を次回のために保存したいとき。
スキルのリンク
https://github.com/volcengine/OpenViking/blob/main/agent-plugins/skills/openviking-memory/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私が要点を箇条書きの短い要約で受け取るのを好むことを覚えてください。書式の好みについて、すでに知っていることを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、実質的な作業の開始時にメモリのストアを検索し、関連するものを読み、耐久性のある事実と教訓を覚えるツールで保存します。
技術的な内容(元の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
41kOpenVikingに保存されたスキルを見つけ、作成し、インストールし、共有できるようにします。一度保存したスキルは、接続されたすべてのツールで使えます。
ov-experience-memory
41kリスクのある複数の手順からなる作業の前に、OpenVikingに保存された過去の運用上の教訓を確認するのを、エージェントが助けます。コーディング、デプロイ、データ変更などが対象です。
ov-kanban
41kOpenVikingに保存された共有のタスクボードを使って作業するのを、エージェントが助けます。タスクを取り上げ、進捗を記録し、ほかのエージェントに作業を引き継ぎます。
ov-memory-troubleshoot
41kOpenVikingのメモリが誤っているか、見当たらない理由を、何も変えずに、作成元のセッションまで遡って探るのを、エージェントが助けます。
似ているスキル
mcporter
394kHTTPまたはstdioでMCPサーバーとそのツールを一覧表示、呼び出し、確認し、サインイン設定を管理するようエージェントを支援します。
fastmcp
260kPythonで、AIアシスタントがAPI、データベース、ファイルをツールとして利用できるMCPサーバーを作成、テスト、デプロイするのを支援します。
mcp-oauth-remote-gateway
260kHermesがサーバー上で動いている場合に、リモートのMCPサーバーのOAuthサインインを手動で完了させ、トークンを保存します。