openviking-memory
Skill by volcengine
Guides an AI assistant to use OpenViking, a persistent context database for memories, resources and skills. Suited to agents that need recall across sessions, file and repo imports, and safe use of saved credentials.
Install openviking-memory
Built from the published package, never by AI.
git clone --depth 1 https://github.com/volcengine/OpenViking /tmp/OpenViking && mkdir -p ~/.claude/skills && cp -r /tmp/OpenViking/examples/skills/openviking-memory ~/.claude/skills/openviking-memoryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/volcengine/OpenViking /tmp/OpenViking && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenViking/examples/skills/openviking-memory ~/.gemini/antigravity-cli/skills/openviking-memoryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
OpenViking Memory is a skill that guides an assistant in working with OpenViking, the persistent context database behind an agent's memory. OpenViking stores memories, resources and skills and serves them back across sessions. The skill covers choosing between context search, find, list search, grep and glob, reading viking:// URIs, and deciding when to write new context.
It also explains where memories are filed. A git repository shares one memory across its clones and worktrees, and a .openviking/config.json file can give a directory its own peer. Saved API keys and tokens in Privacy can be used through ov privacy run without the assistant reading them. It is aimed at agents that need context from earlier sessions or shared history.
Written from the project's SKILL.md and checked against it.
What it can do
- search (mode context)Returns a token-budgeted digest across memories, resources and skills, with viking:// URIs.
- findGives a fast ranked list of memories, resources and skills to triage yourself.
- grep / globMatches exact text or filenames over viking:// content when the literal string is known.
- read / listExpands viking:// file URIs in batches and lists directories.
- rememberSaves facts, preferences or decisions the user asks to keep or that are clearly durable.
- add_resourceImports files, directories, URLs or Git repos as durable knowledge. Processing is asynchronous.
- forgetPermanently deletes an item by exact URI, after the user confirms.
- ov privacy runRuns a local command with saved credentials resolved and their values masked in output.
- privacy_treeLists saved credential targets, fields and references. It never returns values.
- privacy_upsertSaves or rotates a credential. Where supported, a reference copies a field's value without the assistant reading it.
What you need
- OpenViking context database
- ov CLI for advanced operations (optional)
Try asking
- Remember that we chose PostgreSQL for the billing service.
- What did we decide about the deploy process last time?
- Import the docs at this URL into my knowledge store.
Good to know
- viking:// URIs are virtual database paths, not local files.
- add_resource ingestion runs asynchronously and is not awaited.
- forget permanently deletes data, so it needs an exact URI and user confirmation.
- The .openviking/config.json peer file is read by Claude Code and Codex. Other harnesses use OPENVIKING_PEER_ID.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: examples/skills/openviking-memory/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to openviking-memory
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
openviking-memory: common questions
Where are OpenViking memories stored?
A git repository derives its peer from its origin, so all its clones and worktrees share one memory. A directory that is not a repository or marked with a config file uses the user-level space.
Can the assistant read my saved API keys?
The skill says to use saved credentials through ov privacy run without reading them. Plain value printing tools are for when the user explicitly asks to see a value.
Does add_resource finish immediately?
No. The source says processing is asynchronous, so the assistant reports that ingestion started rather than waiting for it to complete.
How do I install openviking-memory?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is openviking-memory free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is openviking-memory safe to use?
It scores 89 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to openviking-memory?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
