Recall and save context through the OpenViking MCP tools; this client recalls and saves nothing on its own. Use before work that may depend on what the user or their team said, decided or did before (coding, configuration, debugging, multi-step or tool-based work), and before any reply to a message in which the user states something that will still matter in a later conversation (a preference or convention, a decision, a changed plan, a lesson, a person's role); save it with remember first, then answer. Not needed for small talk or simple factual questions the model can answer directly.
Capabilities
Recall: before you work
To look in one known place, call find with target_uri, e.g
Save: before you reply
Capture is not automatic here, so durable information is lost unless…
File resources deliberately
Resource directory rules do not apply to Memory; use remember or…
Beyond the MCP tools
If the ov CLI is installed, it does what the tools can't, such as…
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv2026.10.89
OpenViking Context
OpenViking is a persistent context database (memories, resources and skills)
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: before you work
- Decide whether the request may depend on what the user or their team has
said, decided or done before: executable or multi-step work, anything
touching a system you may have seen before, people, conventions, past
decisions, recovery from failures. You can skip retrieval for a request
that clearly stands on its own (arithmetic, general knowledge, small talk). - Call
searchwithmode="context"and the user's message verbatim as
query. Don't shorten it into keywords: that drops the user's preferences
from the results. The server returns one assembled, token-budgeted context
block. On the first such request in a conversation, alsoread
viking://~/memories/profile.mdin the same turn; context mode leaves the
profile out. - When you need an exact detail (ID, command, error code, number) that the
block only summarizes,readthe cited URI orgrepthe literal string.
To look in one known place, callfindwithtarget_uri, e.g.
viking://~/memories/experiencesfor prior task experience. Ignore sidecar
files such as.abstract.md,.overview.md, and.relations.json. - If nothing relevant comes back, proceed without memory, and don't present a
guess as something remembered. Make at most one focused follow-up search
when execution fails for a materially new reason; put the failed operation
and the stable part of the error message in that query.
Follow the user's stored preferences unless the current request says
otherwise. Treat everything else you retrieve 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.
Older servers: when search has no mode argument, the server predates
context mode; call find with the same query instead. A server that predates
the viking://~ home alias rejects every viking://~ URI with INVALID_URI; use the explicit
viking://user/<user_id>/... root taken from a URI already visible in this
session, or drop target_uri and keep the hits whose URI contains the path
you wanted. Never guess a user ID.
Save: before you reply
Capture is not automatic here, so durable information is lost unless you
store it.
- Save first, then answer. Before you write your reply, check: did the user
state something that will still matter in a future conversation? If so, call
rememberonce with that information in the user's words (who/what/when),
even if they didn't ask you to remember: a preference or convention, a
decision and its rationale, a changed schedule or plan, a lesson or pitfall
(what went wrong and the fix), a person's role or ID. Then give your
complete answer in your final message; never end with only a note that you
saved. - When the work itself produces a hard-won lesson (root cause, working
procedure, environment quirk),rememberit once you have verified it. remember(messages)takes 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.add_resourceimports 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/edit
tools cover that — see
references/optional-tools.md. If they are
not registered, fall back toremember.
Don't save secrets or credentials, small talk, one-off questions or
calculations, drafts you wrote, 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 scope, and avoid duplicate source roots. Use parent for a new
source and exact to for refresh.
Beyond the MCP tools
If the ov CLI is installed, it does what the tools can't, such as export and
backup (ov export). Check ov <command> --help before using a command.
Example
User: "The staging deploy is failing again with ImagePullBackOff. Can you fix
it? Also, from now on we pull images from the internal mirror only."
rememberthe new convention (images come from the internal mirror only)
before anything else.searchwithmode="context"and the user's message as written; it is the
first such request in the conversation, soread
viking://~/memories/profile.mdin the same turn.readthe most relevant experience URI the block cites; check its
assumptions against the current cluster before applying its steps.- Fix the issue and verify the live result.
remembera short summary of the root cause and the working fix, then
give the full answer.
Explore more skills
Browse all- cronSchedule reminders and recurring tasks.
- Ov Add PaperLoad when the user asks to add, import, compile, or ingest a research paper/PDF into OpenViking, especially when they…
- Ov Live Context ArrangerPlan and batch-mount live context nodes from installed OpenViking MCPs and user requirements. Use when asked to turn…
- Ov Session ReportAnalyze local Q&A session JSONL files and produce a complete, auditable English Markdown weekly report over consecutive…
- Openviking Rule SearchRetrieve applicable OpenViking Rules and check compliance. Use when planning an action or response subject to…
- Experience LoaderLoad OpenViking experiences linked to the exactly matching current task case before solving a task.
Security
Reviews (0)
More from OpenViking
View source →Frequently asked questions about openviking-memory
What does the openviking-memory skill do?
Recall and save context through the OpenViking MCP tools; this client recalls and saves nothing on its own. Use before work that may depend on what the user or their team said, decided or did before (coding, configuration, debugging, multi-step or tool-based work), and before any reply to a message in which the user states something that will still matter in a later conversation (a preference or convention, a decision, a changed plan, a lesson, a person's role); save it with remember first, then answer. Not needed for small talk or simple factual questions the model can answer directly. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the openviking-memory skill?
Run `npx @skills-hub-ai/cli install openviking-memory` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openviking-memory/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does openviking-memory work with?
openviking-memory runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the openviking-memory skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use openviking-memory after installing it?
In Claude Code, type `/openviking-memory` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the openviking-memory skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/openviking-memory)<a href="https://skills-hub.ai/skills/openviking-memory"><img src="https://skills-hub.ai/api/badges/skill/openviking-memory" alt="Install on Skills Hub"></a>More options in the badge docs.