Skip to main content

Build

Openviking Memory

OpenVikingOfficialCertified

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.

  • 3 installs
  • v2026.10.89
  • Reviewed Jul 21
  • No reviews yet

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 instructions

Install 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

  1. 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).
  2. Call search with mode="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, also read
    viking://~/memories/profile.md in the same turn; context mode leaves the
    profile out.
  3. When you need an exact detail (ID, command, error code, number) that the
    block only summarizes, read the cited URI or grep the literal string.
    To look in one known place, call find with target_uri, e.g.
    viking://~/memories/experiences for prior task experience. Ignore sidecar
    files such as .abstract.md, .overview.md, and .relations.json.
  4. 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
    remember once 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), remember it 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_resource imports 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 with write instead.
  • When you need a note you author at a known location (under viking://~/ —
    your own user root — or viking://resources/), the optional write / edit
    tools cover that — see
    references/optional-tools.md. If they are
    not registered, fall back to remember.

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."

  1. remember the new convention (images come from the internal mirror only)
    before anything else.
  2. search with mode="context" and the user's message as written; it is the
    first such request in the conversation, so read
    viking://~/memories/profile.md in the same turn.
  3. read the most relevant experience URI the block cites; check its
    assumptions against the current cluster before applying its steps.
  4. Fix the issue and verify the live result.
  5. remember a short summary of the root cause and the working fix, then
    give the full answer.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from OpenViking

View source →
knowledge-graphCompile documents, notes, web content, transcripts, research materials, or code repositories into an evidence-grounded, visualization-ready knowledge graph with semantically typed entity nodes, statement-level provenance, and typed…2 installssummarizeSummarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).2 installsgithub-proxyGitHub 国内访问加速 skill,使用 githubproxy.cc 代理加速 GitHub 仓库克隆、文件下载、Raw 文件访问等操作。使用场景:(1) 需要 git clone GitHub 仓库时加速,(2) 下载 GitHub Release 文件、Raw 文件、Archive 压缩包时加速,(3) 任何需要访问 GitHub 资源但速度慢的场景1 installsov-experience-memoryRetrieve 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,…1 installsllm-wikiCompile heterogeneous knowledge sources—including documents, notes, web content, transcripts, research materials, and code repositories—into a Karpathy-style, evidence-grounded LLM Wiki with a maintained index; default entity and concept…1 installsov-memory-troubleshootDiagnose OpenViking memory issues by tracing backward from a memory file to its archive memory_diff.json and, when needed, session messages. Read-only; use for incorrect content, wrong paths or owners, missing memories, and unexplained…0 installs

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.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/openviking-memory)](https://skills-hub.ai/skills/openviking-memory)
HTML
<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.