openviking
БесплатноБез исполняемых скриптовНе проверенOpenViking is an open-source context database for AI agents: one virtual file system under viking:// that holds an agent's knowledge, memories and skills…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
OpenViking
Overview
OpenViking (volcengine/OpenViking, AGPL-3.0 server) is a context database for agents. Everything an agent knows lives in a virtual file system addressed by viking:// URIs, and agents use file-like commands on it: ls, tree, read, write, grep, find. Checked against version 0.5.2 (PyPI, 2026-10-23) and the ov CLI 0.5.1.
Layout of the tree:
viking://
├── resources/ # imported docs, repos, web pages
│ └── my_project/
└── user/{user_id}/
├── memories/ # preferences, experience, extracted from sessions
├── resources/ # private imports
└── skills/
Every processed directory gets generated summaries, so an agent can check relevance cheaply before opening content:
- L0 abstract: one sentence (
ov abstract). - L1 overview: structure and key points (
ov overview). - L2 details: the original file (
ov read).
Architecture: OpenViking is a server (HTTP, default port 1933). Clients are the ov CLI (npm), the SDKs (Python openviking-sdk, TypeScript @openviking/sdk, Go) and agent plugins. The server needs an embedding model and a VLM to build summaries and vectors.
Instructions
1. Get a server
Self-hosted (uv required):
uv tool install openviking --upgrade
openviking-server init # wizard, writes ~/.openviking/ov.conf
openviking-server doctor # checks the model configuration
openviking-server # runs in the foreground
curl http://127.0.0.1:1933/health
init supports Volcengine, OpenAI, Kimi, GLM and local Ollama providers. The alternative is the Volcengine-hosted OpenViking Service (endpoint https://api.vikingdb.cn-beijing.volces.com/openviking, API key from the console). Docker and production notes: docs.openviking.ai, Deployment guide.
2. Install and connect the CLI
npm install -g @openviking/cli
ov language en # required once, or most commands exit with code 2
ov config # interactive: OpenViking Service or Custom URL
ov health
For scripts, save a named connection and pass the key through the environment, not the command line:
printf '%s' "$OPENVIKING_API_KEY" | ov config add custom --name team-memory --url http://127.0.0.1:1933 --api-key-stdin --activate -o json
ov config validate
The client config is ~/.openviking/ovcli.conf (fields url, api_key, timeout, output); it is separate from the server's ov.conf.
3. Import, browse, search, read
ov add-resource ./docs --to viking://resources/billing-docs --wait
ov tree viking://resources/billing-docs -L 2
ov overview viking://resources/billing-docs
ov find "how are refunds retried" -u viking://resources/billing-docs
ov grep "idempotency" -u viking://resources/billing-docs -i
ov read viking://resources/billing-docs/refunds.md --offset 0 --limit 40
add-resourceaccepts a file, folder, URL, repository or sitemap.--toneeds a URI that does not exist yet;--parentneeds an existing directory;-pcreates the parent. Without--wait, pollov task status TASK_ID.findis semantic search;-L 0,1,2limits levels,--context-type memory|resource|skilllimits the kind,-tsets a score threshold.ov write URI --content "..."updates an existing file (--append,--from-file).
4. Memories and sessions
ov add-memory "The deployment owner for billing is Priya Raman" # experimental
ov session new
ov session add-message SESSION_ID --role user --content "We moved billing to Postgres 16"
ov session commit SESSION_ID # archives the messages and extracts memories
ov find "billing database" --context-type memory
Commit extracts memories as Markdown under viking://user/{user_id}/memories/; extraction runs in the background, so a search right after the commit may find nothing.
5. Python SDK
python3 -m pip install openviking-sdk # import name: openviking_sdk
import os
from openviking_sdk import SyncHTTPClient
client = SyncHTTPClient(url="http://127.0.0.1:1933", api_key=os.environ["OPENVIKING_API_KEY"])
client.initialize()
client.add_resource("./docs", to="viking://resources/billing-docs", wait=True)
hits = client.find("how are refunds retried", target_uri="viking://resources/billing-docs", limit=5)
client.create_session(session_id="billing-review")
client.session(session_id="billing-review").add_message(role="user", content="Refund retries use exponential backoff")
client.session(session_id="billing-review").commit()
client.close()
The SDK also reads OPENVIKING_URL, OPENVIKING_API_KEY and ~/.openviking/ovcli.conf; explicit arguments win.
6. Connect a coding agent
The project ships memory plugins for Claude Code, Codex, Cursor, TRAE, OpenCode, OpenClaw, Hermes and an MCP route (docs.openviking.ai, section Agent integrations). The README also offers a shell installer at https://openviking.ai/install. Download it to a file, read it, and run it o
Установить openviking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openviking?
OpenViking is an open-source context database for AI agents: one virtual file system under viking:// that holds an agent's knowledge, memories and skills, with generated summaries and semantic search. Use when the user wants persistent agent memory across sessions, wants to import docs or repos for agents to search, asks about the ov CLI, openviking-server or viking:// URIs, or wants to connect Claude Code, Codex or Cursor to a shared memory server.
Как установить скилл openviking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openviking запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic