Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

openviking-context-database

БесплатноБез исполняемых скриптовНе проверен

Use OpenViking from OpenClaw through @openviking/openclaw-plugin: long-term memory, session archives, resource and Agent Skill import, semantic recall, recall…

volcengineот volcengine★ 43 103 звезды на GitHub

Об этом скилле

OpenViking Context Database — OpenClaw Plugin Operator Skill

Use this skill after @openviking/openclaw-plugin is installed and configured. It describes the current OpenClaw plugin implementation, not the standalone OpenViking Python SDK.

Scope and Safety Rules

  • The plugin is remote-only. It talks to an existing OpenViking server through HTTP and does not start or manage openviking-server.
  • Do not invent OpenViking REST endpoints. Use the registered OpenClaw tools and commands described below.
  • The agent-visible add_resource tool is disabled by default (enableAddResourceTool=false). Do not use add_resource during search, retrieval, URI reading, or search-result optimization. Use ov_search and ov_read in those flows.
  • Use manual /add-resource, or add_resource only when it is explicitly enabled and the user explicitly asks to import, add, upload, save, or index a resource.
  • Use add_skill only when the user explicitly asks to import, add, install, or register an Agent Skill into OpenViking.
  • For local files and directories, pass the local path to the plugin tool. The plugin uploads them through /api/v1/resources/temp_upload; do not send raw local filesystem paths to a remote server yourself.
  • Never log or echo API keys. The plugin sends API keys as X-API-Key / setup probe headers and masks them in setup output.

Current Architecture

OpenClaw owns agent execution, prompts, and tool invocation. OpenViking owns long-lived context:

Layer Current behavior
assemble Rebuilds compressed session history from OpenViking and injects relevant recall into the latest user message.
afterTurn Appends only the new turn to the OpenViking session; may trigger async commit when pending_tokens >= tokenBudget * commitTokenThresholdRatio.
compact Runs commit(wait=true), waits for archive/extraction completion, and reads back latest archive overview.
Tools Memory recall/store/forget, archive search/expand, resource/skill import/search, recall trace query, tool-result list/search/read.

Long-term memories are usually extracted on /compact or on threshold-triggered commit. A fact mentioned in a fresh conversation may still be present as recent session context before it becomes a long-term memory.

Configuration Quick Reference

Read status first:

openclaw openviking status --json
openclaw config get plugins.entries.openviking.config
openclaw config get plugins.slots.contextEngine

Core config lives under plugins.entries.openviking.config:

Field Default Purpose
baseUrl http://127.0.0.1:1933 OpenViking HTTP endpoint. Can also come from OPENVIKING_BASE_URL / OPENVIKING_URL.
apiKey empty Optional API key. Can also come from OPENVIKING_API_KEY.
peer_role none Memory scope: none (shared viking://user/<user_id>/memories), assistant (assistant-attributed memory under .../peers/<assistant_id>/memories), or sender (sender-attributed memory under .../peers/<sender_id>/memories). Legacy person is accepted as sender.
peer_prefix empty Optional prefix for assistant peer_id / actor peer values when peer_role=assistant.
accountId / userId empty Advanced tenant identity headers for root-key or trusted deployments.
targetUri viking://~/memories Default search scope for legacy targeted memory search.
autoCapture true Append sanitized turn text to OpenViking sessions.
captureMode semantic semantic or keyword; affects server-side extraction filtering.
captureMaxLength 24000 Max sanitized text length per captured turn.
autoRecall true Run recall before replies and inject relevant context.
recallTargetTypes user,agent Default target types when targetUri is omitted. Allowed: resource, user, agent.
recallResources false Compatibility shortcut that appends resource to default recall targets when recallTargetTypes is unset.
recallLimit 6 Max selected recall items.
recallScoreThreshold 0.15 Min score after post-processing.
recallMaxInjectedChars 4000 Total injected character cap; complete memories that do not fit are skipped.
commitTokenThresholdRatio 0.5 Async-commit threshold as a fraction (0-1) of the model context window (e.g. 0.5 = 50%); 0 commits every turn.
commitKeepRecentCount 10 Recent messages kept live after afterTurn commit. Compact always uses 0.
bypassSessionPatterns empty Glob-like session keys that completely bypass OpenViking (* segment, ** multi-segment).
emitStandardDiagnostics false Emit structured openviking: diag {...} lines.
logFindRequests false Log routing for find/session writes. Also enabled by OPENVIKING_LOG_ROUTING=1 or OPENVIKING_DEBUG=1.
traceRecall false Record recall traces in memory.
`traceRe
Полный SKILL.md на GitHub

Установить openviking-context-database в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл openviking-context-database?

Use OpenViking from OpenClaw through @openviking/openclaw-plugin: long-term memory, session archives, resource and Agent Skill import, semantic recall, recall trace debugging, and externalized tool-result recovery. Prefer this skill when the user wants to use, query, debug, or operate OpenViking context from an OpenClaw agent. For first-time plugin installation, use the install-openviking-memory skill instead.

Как установить скилл openviking-context-database?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл openviking-context-database запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить openviking-context-database с