[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JMAKZ72WC87S45Q70R684":3,"skill-same:01M77JMAKZ72WC87S45Q70R684":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M77JMAKZ72WC87S45Q70R684","install-openviking-memory",null,"Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures important facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites check, plugin install through OpenClaw's plugin manager first, with ov-install only as a backup path, wizard-based configuration, slot activation, gateway restart, verification, plus multi-tenant root-key support, multi-instance, and uninstall. Trigger when the user says any of: \"install OpenViking\", \"set up memory\", \"configure memory plugin\", \"add long-term memory\", \"connect to OpenViking server\", \"RAG\", \"semantic memory\", \"帮我装 OpenViking\", \"配置记忆插件\", \"安装记忆功能\", \"接入 OpenViking\", \"我有一台 OpenViking 服务器\". The user does NOT need to know any CLI commands — the agent runs everything and only asks for a few values. This skill assumes the OpenViking server is already running. If the server is not ready, the skill tells the user to contact their admin or set it up via the OpenViking docs — it does NOT install the server.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fi\u002Finstall-openviking-memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\r\nname: install-openviking-memory\r\ndescription: >\r\n  Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation.\r\n  Once installed, the plugin automatically captures important facts from chats and recalls relevant\r\n  context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites check,\r\n  plugin install through OpenClaw's plugin manager first, with ov-install only as a backup path,\r\n  wizard-based configuration, slot activation,\r\n  gateway restart, verification, plus multi-tenant root-key support, multi-instance, and uninstall.\r\n  Trigger when the user says any of: \"install OpenViking\", \"set up memory\", \"configure memory plugin\",\r\n  \"add long-term memory\", \"connect to OpenViking server\", \"RAG\", \"semantic memory\",\r\n  \"帮我装 OpenViking\", \"配置记忆插件\", \"安装记忆功能\", \"接入 OpenViking\", \"我有一台 OpenViking 服务器\".\r\n  The user does NOT need to know any CLI commands — the agent runs everything and only asks for a few values.\r\n  This skill assumes the OpenViking server is already running. If the server is not ready, the skill\r\n  tells the user to contact their admin or set it up via the OpenViking docs — it does NOT install the server.\r\nversion: 2.0.1\nmetadata:\r\n  openclaw:\r\n    requires:\r\n      bins:\r\n        - node\r\n        - openclaw\r\n  emoji: \"🦣\"\r\n  homepage: \"https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking\"\r\ntags:\r\n  - install\r\n  - setup\r\n  - memory\r\n  - openviking\r\n  - rag\r\n  - long-term-memory\r\n---\r\n\r\n# Install OpenViking Memory — Agent Installation & Reference Skill\r\n\r\nYou are about to help a user install and configure the OpenViking memory plugin for OpenClaw.\r\nThe user does NOT know how to use a terminal. You will collect a few values through natural conversation, then run **all** commands yourself using your shell tool.\r\n\r\n**Read this entire document before starting. Follow every step in order. Do NOT skip steps.**\r\n\r\nThis skill is split into two halves:\r\n\r\n- **Part 1 (STEP 0–10): Natural-language installation walkthrough.** Use this on first install or reconfigure.\r\n- **Part 2: Reference.** Tools, config schema, multi-tenant, multi-instance, daily ops, uninstall, error recovery. Read on demand.\r\n\r\n> **Server scope.** This skill **does not** install the OpenViking server itself. It assumes the server is already running locally on `127.0.0.1:1933` or on another machine. If the user has no server, see \"Server not ready\" handling in STEP 5.\r\n\r\n---\r\n\r\n# Part 1 — Natural-Language Installation Walkthrough\r\n\r\n## STEP 0: Detect Language\r\n\r\nIf the user's first message contains Chinese characters, respond in **Chinese** throughout.\r\nOtherwise respond in **English**.\r\nAll user-facing messages below have (CN)\u002F(EN) variants — use the matching one.\r\n\r\nDo NOT show this step to the user.\r\n\r\n---\r\n\r\n## STEP 1: Detect Operating System (silently)\r\n\r\nRun this command and remember the result. Do NOT show it to the user.\r\n\r\n```bash\r\nuname -s 2>\u002Fdev\u002Fnull || echo WINDOWS\r\n```\r\n\r\n- Output contains `Darwin` → `OS=mac`\r\n- Output contains `Linux` → `OS=linux`\r\n- Output is `WINDOWS` or the command fails → `OS=windows`\r\n\r\n---\r\n\r\n## STEP 2: Check Prerequisites (silently)\r\n\r\nRun silently:\r\n\r\n```bash\r\nnode -v\r\nopenclaw --version\r\n```\r\n\r\n**If `node` is missing:**\r\n\r\n> (CN) 你的系统没有安装 Node.js。OpenClaw 和 OpenViking 插件需要 Node.js >= 22。请先安装 Node.js，然后再回来找我。\r\n> (EN) Node.js is not installed. OpenClaw and the OpenViking plugin require Node.js >= 22. Please install Node.js first, then come back.\r\n\r\n**Stop. Do NOT continue.**\r\n\r\n**If `openclaw` is missing:**\r\n\r\n> (CN) 你的系统没有安装 OpenClaw。请先安装 OpenClaw（>= 2026.4.8），然后再回来找我。\r\n> (EN) OpenClaw is not installed. Please install OpenClaw (>= 2026.4.8) first, then come back.\r\n\r\n**Stop. Do NOT continue.**\r\n\r\nIf both exist, proceed to STEP 3 silently.\r\n\r\n---\r\n\r\n## STEP 3: Greet and Ask for 3 Values\r\n\r\nSend this message:\r\n\r\n> (CN) 好，我来帮你接入 OpenViking 长期记忆。装好之后，我会自动记住对话里的重要信息，下次聊也能回忆起来。\r\n>\r\n> 我需要 3 条信息，不知道的可以问你的管理员：\r\n> 1. **OpenViking 服务地址** —— 例如 `https:\u002F\u002Fov.example.com` 或 `http:\u002F\u002F192.168.1.100:1933`，本机服务可以直接说\"本机\"\r\n> 2. **API Key** —— 用来鉴权；服务没开认证可以说\"没有\"\r\n> 3. **Agent 标识前缀**（可选） —— 用于区分多个 agent 的记忆命名空间，留空就用默认\r\n>\r\n> 先告诉我服务地址吧？\r\n\r\n> (EN) I'll set up OpenViking long-term memory for you. Once configured, I'll automatically remember important info from our chats and recall it later.\r\n>\r\n> I need 3 things (ask your admin if unsure):\r\n> 1. **OpenViking server URL** — e.g. `https:\u002F\u002Fov.example.com` or `http:\u002F\u002F192.168.1.100:1933`. For a local server, just say \"local\".\r\n> 2. **API Key** — for auth. Say \"none\" if the server has no auth.\r\n> 3. **Agent prefix** (optional) — used to namespace memories across agents. Leave blank for default.\r\n>\r\n> What's the server URL?\r\n\r\n---\r\n\r\n## STEP 4: Collect Values\r\n\r\nCollect 3 values through natural conversation. Be flexible: if the user gives several at once, parse them all. If they correct something, accept the new value.\r\n\r\n### 4a. `BASE_URL` (REQUIRED)\r\n\r\n- \"local\" \u002F \"本机\" \u002F \"localhost\" → use `http:\u002F\u002F127.0.0.1:1933`.\r\n- `ov.example.com` without protocol → prepend `https:\u002F\u002F`.\r\n- Strip trailing `\u002F`, `\u002Fhealth`, or `\u002Fapi`.\r\n- After normalization must start with `http:\u002F\u002F` or `https:\u002F\u002F`.\r\n- If the user says they don't know, ask them to check with the admin or look at how the server was started. **Do NOT make up a URL.**\r\n\r\n### 4b. `API_KEY` (OPTIONAL)\r\n\r\n> (CN) API Key 是什么？服务没开认证就直接说\"没有\"。\r\n> (EN) What's the API Key? Say \"none\" if the server has no auth.\r\n\r\n- \"no\" \u002F \"none\" \u002F \"没有\" \u002F \"空\" \u002F empty → `API_KEY=\"\"` (you will skip the flag later).\r\n- Otherwise store as-is.\r\n\r\n### 4c. `AGENT_PREFIX` (OPTIONAL)\r\n\r\n> (CN) 想给这个 agent 一个记忆前缀吗？留空就用默认。只能用字母、数字、`_`、`-`。\r\n> (EN) Want to set an agent prefix? Leave blank for the default. Letters, digits, `_`, `-` only.\r\n\r\n- Empty \u002F \"default\" \u002F \"默认\" → leave unset (plugin defaults to `\"\"`).\r\n- Otherwise validate against `\u002F^[A-Za-z0-9_-]+$\u002F`. If invalid, ask again.\r\n\r\n### 4d. (Conditional) Multi-Tenant Root-Key Fields\r\n\r\nOnly ask for these if STEP 7 detects a root key (`Root API key detected. Missing: --account-id, --user-id`). Don't ask up front.\r\n\r\n- `ACCOUNT_ID`\r\n- `USER_ID`\r\n\r\nSee **Reference: Multi-Tenant** for what these mean.\r\n\r\n---\r\n\r\n## STEP 5: Pre-flight Connectivity Check (silently)\r\n\r\nTell the user briefly:\r\n\r\n> (CN) 我先测一下能不能连上服务……\r\n> (EN) Let me test the connection to your server...\r\n\r\nRun:\r\n\r\n**If OS=windows:**\r\n\r\n```powershell\r\ntry { (Invoke-WebRequest -Uri \"BASE_URL\u002Fhealth\" -TimeoutSec 10 -UseBasicParsing -ErrorAction Stop).StatusCode } catch { $_.Exception.Response.StatusCode.value__ }\r\n```\r\n\r\n**If OS=mac or OS=linux:**\r\n\r\n```bash\r\ncurl -sS -o \u002Fdev\u002Fnull -w \"%{http_code}\" --connect-timeout 10 \"BASE_URL\u002Fhealth\"\r\n```\r\n\r\nReplace `BASE_URL` with the actual value.\r\n\r\n| Status | Meaning | Action |\r\n|---|---|---|\r\n| `200` | Server reachable, no auth on `\u002Fhealth` | Proceed to STEP 6. |\r\n| `401` \u002F `403` | Server reachable but `\u002Fhealth` requires auth | Proceed to STEP 6 — the wizard's key probe will sort it out. |\r\n| `000` \u002F timeout \u002F connection refused | Server unreachable | **Server-not-ready handling** below. |\r\n| Anything else | Unexpected | Show status code to the user, go back to STEP 4a. |\r\n\r\n### Server-not-ready handling\r\n\r\nThis skill **does not install or operate the OpenViking server**. If the user's server is unreachable, present the situation honestly and offer two paths:\r\n\r\n> (CN) ❌ 我连不上 `BASE_URL`。可能是：\r\n> 1) 服务还没启动 —— 请联系你的 OpenViking 服务管理员把它起起来；如果是你自己负责，请参考 OpenViking 官方文档（`https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking`）的 server 启动指引。\r\n> 2) 地址不对 —— 你可以重新告诉我正确的地址。\r\n> 3) 网络不通（防火墙 \u002F VPN \u002F 内网）—— 你确认一下网络。\r\n>\r\n> 也可以选择\"先把配置写下来\"，等服务起来就自动生效，要这么办吗？\r\n\r\n> (EN) ❌ Cannot reach `BASE_URL`. Likely cause:\r\n> 1) **Server isn't running** — please ask your OpenViking admin to start it. If you own the server, follow the OpenViking official docs (`https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking`) to start it. **This skill does not install or run the server.**\r\n> 2) **Wrong URL** — give me the correct URL.\r\n> 3) **Network blocked** (firewall \u002F VPN \u002F private network) — please verify connectivity.\r\n>\r\n> Or I can save the config now (`--allow-offline`) so it will activate automatically once the server is up. Want me to do that?\r\n\r\nIf the user fixes the URL → back to STEP 4a.\r\nIf the user wants `--allow-offline` → remember `ALLOW_OFFLINE=true` and continue to STEP 6.\r\nIf the user gives up \u002F cannot fix → stop here. Do NOT continue with a broken state.\r\n\r\n---\r\n\r\n## STEP 6: Install the Plugin\r\n\r\nThe plugin can be installed two ways. **Always try Path A first.** Use Path B only as a backup when Path A fails because ClawHub is unavailable, rate-limited, or authentication blocks anonymous install. For version conflicts, dependency errors, or other non-registry failures, stop and show the user the error instead of switching paths silently.\r\n\r\n### Path A — Primary: `openclaw plugins install` (uses ClawHub)\r\n\r\nTell the user:\r\n\r\n> (CN) 现在开始装插件……\r\n> (EN) Installing the plugin now...\r\n\r\nRun:\r\n\r\n```bash\r\nopenclaw plugins install @openviking\u002Fopenclaw-plugin\r\n```\r\n\r\nTrigger fallback to Path B only if the output contains any of these strings:\r\n\r\n- `429`\r\n- `rate limit` \u002F `rate-limited` \u002F `Too Many Requests`\r\n- `not logged in` \u002F `please log in` \u002F `please login` \u002F `unauthorized` \u002F `401` \u002F `403` together with `clawhub`\r\n- `ETIMEDOUT` \u002F `ECONNRESET` on a `clawhub`-related host\r\n- generic message indicating the registry refused an anonymous client\r\n\r\nBefore falling back, also try the explicit registry prefix once:\r\n\r\n```bash\r\nopenclaw plugins install clawhub:@openviking\u002Fopenclaw-plugin\r\n```\r\n\r\nIf the install **succeeds**, jump to STEP 7.\r\n\r\nIf both attempts fail with one of the fallback-eligible errors above, go to Path B. If the failure is a version conflict, missing dependency, package validation error, or another non-registry error, stop and show the last 30 lines to the user.\r\n\r\n### Path B — Backup: `ov-install` (bypasses ClawHub)\r\n\r\nTell the user:\r\n\r\n> (CN) ClawHub 现在好像被限流、不可用，或者当前账号不能安装。我改用备用路径，通过 npm 下载并部署插件包。\n> (EN) ClawHub looks rate-limited, unavailable, or blocked for this account. I'll use the backup path and install the plugin package from npm.\n\r\nRun the installer with `npx` (no global install needed):\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --base-url BASE_URL [--api-key API_KEY] [--agent-prefix AGENT_PREFIX] [--account-id ACCOUNT_ID] [--user-id USER_ID]\r\n```\r\n\r\nBuild the flag list according to what the user gave you:\r\n\r\n- Always pass `--base-url BASE_URL`.\r\n- Pass `--api-key API_KEY` only if `API_KEY` is non-empty.\r\n- Pass `--agent-prefix AGENT_PREFIX` only if the user gave one.\r\n- `--account-id` \u002F `--user-id` only if the root-key path requires them.\r\n\r\n`ov-install` will, in one shot:\n1. Download the `@openviking\u002Fopenclaw-plugin` package from npm into a temporary staging dir.\n2. Copy the package into the OpenClaw `extensions\u002F` dir and install plugin dependencies.\n3. Register the plugin in `openclaw.json` (via `openclaw plugins enable` or direct write).\n4. Run `openclaw openviking setup --json --base-url … [--api-key …]` for the user.\n5. Return a non-zero exit if setup needs explicit `--allow-offline` or `--force-slot` consent.\n\r\nThis means **STEP 7 is effectively done by `ov-install`**. After `ov-install` exits 0, jump straight to **STEP 9** (gateway restart) and **STEP 10** (verify).\r\n\r\nIf `ov-install` exits non-zero, capture the last 30 lines of its output, show them to the user, and stop. Don't retry blindly.\r\n\r\n---\r\n\r\n## STEP 7: Configure (only on Path A — Path B did this for you)\r\n\r\nRun the setup wizard non-interactively. Build flags from collected values:\r\n\r\n```bash\r\nopenclaw openviking setup --base-url BASE_URL --json [--api-key API_KEY] [--agent-prefix AGENT_PREFIX] [--account-id ACCOUNT_ID] [--user-id USER_ID] [--allow-offline] [--force-slot]\r\n```\r\n\r\nRules:\r\n\r\n- `--base-url BASE_URL` is **required** under `--json`. Without it, the wizard prints `--json requires --base-url for non-interactive mode`.\r\n- `--api-key` only if `API_KEY` is non-empty.\r\n- `--agent-prefix` only if the user gave one. Use **`--agent-prefix`**, not `--agent-id` (deprecated and removed).\r\n- `--account-id` \u002F `--user-id` only after STEP 7 root-key detection (see below).\r\n- `--allow-offline` only if the user explicitly approved it in STEP 5.\r\n- `--force-slot` **never** in the first attempt. Add only after the user confirms (see slot_blocked handling below).\r\n\r\n### Parse the JSON output\r\n\r\nThe wizard prints a single JSON object:\r\n\r\n```json\r\n{\r\n  \"success\": true | false,\r\n  \"action\": \"configured\" | \"existing\" | \"error\" | \"slot_blocked\",\r\n  \"config\": { \"mode\": \"remote\", \"baseUrl\": \"...\", \"apiKey\": \"...\", \"agent_prefix\": \"...\", \"accountId\": \"...\", \"userId\": \"...\" },\r\n  \"health\": { \"ok\": true, \"status\": 200 },\r\n  \"keyProbe\": { \"keyType\": \"user_key\" | \"root_key\" | \"none\", \"ok\": true },\r\n  \"slot\": { \"ok\": true, \"owner\": \"openviking\" },\r\n  \"error\": \"...\"\r\n}\r\n```\r\n\r\n### Decision matrix\r\n\r\n| Condition | Action |\r\n|---|---|\r\n| `success: true` and `action: \"configured\"` or `\"existing\"` | Done. Proceed to STEP 9. |\r\n| `success: false` and `action: \"slot_blocked\"` | **Slot conflict — see below.** |\r\n| `success: false` and `error` contains `\"Server unreachable\"` | Connectivity broke between STEP 5 and STEP 7. Offer `--allow-offline`; if accepted, retry. Otherwise back to STEP 4a. |\r\n| `success: false` and `error` contains `\"Root API key detected\"` and `\"Missing: --account-id, --user-id\"` | **Root-key path — see below.** |\r\n| `success: false` and `error` contains `\"Invalid API key\"` \u002F `keyProbe.keyType: \"none\"` with `ok: false` | API key wrong. Back to STEP 4b. |\r\n| `success: false` and any other `action: \"error\"` | Show `error` to the user, stop. Do NOT pretend success. |\r\n\r\n### Slot conflict (`slot_blocked`)\r\n\r\nThe error text looks like:\r\n\r\n> `contextEngine slot is owned by \"\u003Cother-plugin>\". Config was saved but slot was NOT changed. Use --force-slot to replace.`\r\n\r\n**Do NOT silently use `--force-slot`.** Ask the user:\r\n\r\n> (CN) 你的 OpenClaw 当前 contextEngine 槽被 `\u003Cother-plugin>` 占着。如果用 OpenViking 替换它，`\u003Cother-plugin>` 就不再生效。要替换吗？\r\n> (EN) Your `contextEngine` slot is currently owned by `\u003Cother-plugin>`. Activating OpenViking will disable it. Replace?\r\n\r\nIf the user agrees, retry the same setup command with `--force-slot` appended. If they decline, tell them config has been saved but the slot is unchanged, and stop.\r\n\r\n### Root-key path\r\n\r\nThe error text looks like:\r\n\r\n> `Root API key detected. Missing: --account-id, --user-id. Provide both to enable multi-tenant scoping.`\r\n\r\nAsk the user:\r\n\r\n> (CN) 你给的是 root 级 API Key，需要再补两个值才能用：账户 ID（accountId）和用户 ID（userId）。这两个一般是 OpenViking 服务管理员配的，不知道就问他们。\r\n> (EN) Your API key is a root key, which needs two more values: `accountId` and `userId`. Both come from your OpenViking server admin — ask them if unsure.\r\n\r\nAfter collecting, retry the setup command with `--account-id` and `--user-id` appended.\r\n\r\n---\r\n\r\n## STEP 8: (Reserved — done inside STEP 7 or by `ov-install`)\r\n\r\nThe setup wizard already wrote `plugins.entries.openviking.config.*` and (if successful) set `plugins.slots.contextEngine = \"openviking\"`. There is no separate STEP 8 — go to STEP 9.\r\n\r\n---\r\n\r\n## STEP 9: Restart the Gateway\r\n\r\n```bash\r\nopenclaw gateway restart\r\n```\r\n\r\nIf it fails, try once more with:\r\n\r\n```bash\r\nopenclaw gateway --force\r\n```\r\n\r\nIf both fail:\r\n\r\n> (CN) Gateway 没能自动重启。请你手动跑一下 `openclaw gateway restart`。重启完告诉我，我来验证。\r\n> (EN) Gateway didn't restart cleanly. Please run `openclaw gateway restart` manually, then tell me when it's done so I can verify.\r\n\r\nWait ~3 seconds before STEP 10.\r\n\r\n---\r\n\r\n## STEP 10: Verify\r\n\r\n```bash\r\nopenclaw openviking status --json\r\n```\r\n\r\nExpected output:\r\n\r\n```json\r\n{\r\n  \"configured\": true,\r\n  \"slotActive\": true,\r\n  \"health\": { \"ok\": true },\r\n  \"config\": { \"baseUrl\": \"...\", \"agent_prefix\": \"...\" }\r\n}\r\n```\r\n\r\n### Decision\r\n\r\n- `configured: true` **and** `slotActive: true` **and** `health.ok: true` → **success.** Send the success message below.\r\n- `configured: true` but `slotActive: false` → if you previously skipped `--force-slot`, ask the user about replacing now and retry STEP 7 with `--force-slot`. Otherwise it's a gateway restart issue — back to STEP 9.\r\n- `configured: true` but `health.ok: false` → server became unreachable. Tell the user; the config will start working as soon as the server is back.\r\n- `configured: false` → setup didn't actually persist. Show full status JSON to the user and stop.\r\n\r\n### Success message\r\n\r\n> (CN) 🎉 全部搞定！OpenViking 长期记忆已经接好了。\r\n>\r\n> 工作方式：\r\n> - **每一轮**：你的对话会被自动归档到 OpenViking session 里\r\n> - **`\u002Fcompact` 时**：归档消息会被抽取成长期记忆，写到 `~\u002F.openviking\u002Fdata\u002F` 下\r\n> - **后续会话**：每次回复前我都会自动搜一下相关记忆并带进上下文\r\n>\r\n> 想验证一下吗？跟我聊几句包含可记忆事实的话（例如\"我的邮箱是 test@example.com\"），然后调一下 `\u002Fcompact`，再开新对话问\"我的邮箱是？\"，应该就能召回了。\r\n\r\n> (EN) 🎉 All set! OpenViking long-term memory is connected.\r\n>\r\n> How it works:\r\n> - **Every turn**: our messages are auto-archived into an OpenViking session\r\n> - **On `\u002Fcompact`**: archived messages are extracted into long-term memories under `~\u002F.openviking\u002Fdata\u002F`\r\n> - **Future sessions**: relevant memories are auto-retrieved and injected before my replies\r\n>\r\n> Want to verify? Tell me a few facts (e.g. \"my email is test@example.com\"), run `\u002Fcompact`, then start a new chat and ask \"what's my email?\" — it should recall.\r\n\r\n---\r\n\r\n# Part 2 — Reference\r\n\r\n## How It Works\r\n\r\nThe context-engine pipeline has three distinct stages — keep them apart, especially when telling users when memories actually appear in `~\u002F.openviking\u002Fdata\u002F`:\r\n\r\n- **Archive \u002F capture (context-engine `afterTurn`)**: at the end of a user turn, the plugin commits user\u002Fassistant messages to the OpenViking session via `POST \u002Fapi\u002Fv1\u002Fsessions\u002F...\u002Fmessages`. This is **archive only** — no memory extraction yet. You'll see session message counts grow on the server, but no new files under `viking:\u002F\u002Fuser\u002F...\u002Fmemories\u002F`.\r\n- **Memory extraction (on `\u002Fcompact`)**: memory extraction runs when the user invokes OpenClaw's `\u002Fcompact` command. The server-side extraction pipeline reads the archived session and writes new memories. The plugin's `after_compaction` hook is currently reserved; the extraction itself is driven by the server. **No `\u002Fcompact`, no new memory files.**\r\n  - `captureMode: \"semantic\"` (default): server extraction pipeline filters all qualifying text.\r\n  - `captureMode: \"keyword\"`: only text matching trigger words (e.g. \"remember\", \"preference\") is considered.\r\n- **Auto-Recall (context-engine `assemble()`)**: before prompt context is assembled, the plugin queries OpenViking for relevant memories and injects them into context. Recall works even when there are no extracted memories yet — you just won't see anything come back.\r\n\r\n**Practical implication for testing**: if you write down a fact and immediately try to recall it without `\u002Fcompact`, the plugin will only retrieve it as recent session context (archived messages), not as a long-term memory. To verify long-term memory cross-session, you must run `\u002Fcompact` first.\r\n\r\n## Available Tools\r\n\r\nThese are the plugin tools the agent can call once installed.\r\n\r\n### `memory_recall` — Search Memories\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `query` | Yes | Search query text |\r\n| `limit` | No | Maximum number of results (defaults to plugin config) |\r\n| `scoreThreshold` | No | Minimum relevance score 0–1 (defaults to plugin config) |\r\n| `targetUri` | No | Search scope URI (defaults to plugin config) |\r\n\r\nExample: user asks \"What programming language did I say I like?\"\r\n\r\n### `memory_store` — Manual Store\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `text` | Yes | Information text to store |\r\n| `role` | No | Session role (default `user`) |\r\n| `sessionId` | No | Existing OpenViking session ID |\r\n\r\nExample: user says \"Remember my email is xxx@example.com\".\r\n\r\n### `memory_forget` — Delete Memories\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `uri` | No | Exact memory URI (direct delete) |\r\n| `query` | No | Search query (find then delete) |\r\n| `targetUri` | No | Search scope URI |\r\n| `limit` | No | Search limit (default 5) |\r\n| `scoreThreshold` | No | Minimum relevance score |\r\n\r\nExample: user says \"Forget my phone number\".\r\n\r\n## Configuration Schema\r\n\r\nThese are the keys under `plugins.entries.openviking.config` in `openclaw.json`. The setup wizard \u002F `ov-install` sets the first few; the rest are tunables.\r\n\r\n| Field | Default | Description |\r\n|---|---|---|\r\n| `mode` | `\"remote\"` (forced by plugin) | Always remote in this skill. Don't set manually. |\r\n| `baseUrl` | `http:\u002F\u002F127.0.0.1:1933` | OpenViking server URL. |\r\n| `apiKey` | — | API key. Optional if server has no auth. |\r\n| `agent_prefix` | `\"\"` | Prefix for routing memories per agent. Letters \u002F digits \u002F `_` \u002F `-`. |\r\n| `accountId` | — | Required when `apiKey` is a root key. |\r\n| `userId` | — | Required when `apiKey` is a root key. |\r\n| `targetUri` | `viking:\u002F\u002Fuser\u002Fmemories` | Default search scope URI. |\r\n| `timeoutMs` | (plugin default) | HTTP timeout for OpenViking calls. |\r\n| `autoCapture` | `true` | Auto-archive turn messages to OpenViking session at `afterTurn` (extraction itself runs on `\u002Fcompact`, not here). |\r\n| `captureMode` | `\"semantic\"` | Filter mode used by the server-side extraction pipeline: `semantic` or `keyword`. |\r\n| `captureMaxLength` | `24000` | Max text length per archived turn. |\r\n| `autoRecall` | `true` | Auto-recall and inject memories before reply. |\r\n| `recallLimit` | `6` | Max memories injected per recall. |\r\n| `recallScoreThreshold` | `0.15` | Min relevance score to inject. |\r\n| `recallMaxInjectedChars` | (plugin default) | Hard cap on injected character count. |\r\n| `recallPreferAbstract` | (plugin default) | Prefer abstract memories over raw. |\r\n| `recallTokenBudget` | (plugin default) | Token budget for injected memories. |\r\n| `isolateUserScopeByAgent` | (plugin default) | Multi-tenant scoping toggle. |\r\n| `isolateAgentScopeByUser` | (plugin default) | Multi-tenant scoping toggle. |\r\n| `agentScopeMode` | (plugin default) | Agent scope strategy. |\r\n| `bypassSessionPatterns` | — | Glob patterns for sessions skipped by capture. |\r\n| `ingestReplyAssist` | (plugin default) | Reply-assist ingestion toggle. |\r\n| `emitStandardDiagnostics` | (plugin default) | Verbose diagnostic logs. |\r\n| `logFindRequests` | (plugin default) | Log retrieval requests. |\r\n\r\nTo change a value:\r\n\r\n```bash\r\nopenclaw config set plugins.entries.openviking.config.\u003Cfield> \u003Cvalue>\r\nopenclaw gateway restart\r\n```\r\n\r\n## Multi-Tenant (Root API Keys)\r\n\r\nSome OpenViking deployments use a single **root** API key shared across tenants. In that case the plugin needs both `accountId` and `userId` so it can scope memories correctly. The setup wizard detects this automatically and returns:\r\n\r\n```\r\nRoot API key detected. Missing: --account-id, --user-id\r\n```\r\n\r\nWhen you see this:\r\n\r\n1. Ask the user for both values (they come from the OpenViking admin).\r\n2. Retry STEP 7 with both flags:\r\n\r\n```bash\r\nopenclaw openviking setup --base-url BASE_URL --api-key API_KEY --account-id ACCOUNT_ID --user-id USER_ID --json\r\n```\r\n\r\nA **user key** (issued per tenant) does not need these flags.\r\n\r\n## Multi-Instance (`--workdir` \u002F `OPENCLAW_STATE_DIR`)\r\n\r\nIf the user runs multiple OpenClaw instances (e.g. testing several agents in parallel), each has its own state dir.\r\n\r\nTo target a non-default instance:\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --workdir ~\u002F.openclaw-second --base-url ... --api-key ...\r\n```\r\n\r\n`ov-install` writes a helper env file when the state dir is non-default:\r\n\r\n- Unix: `~\u002F.openclaw\u002Fopenviking.env` containing `export OPENCLAW_STATE_DIR='...'`\r\n- Windows: `~\u002F.openclaw\u002Fopenviking.env.bat` and `.ps1` setting the same variable\r\n\r\nSource it before running `openclaw` commands so they hit the correct state:\r\n\r\n**Unix:**\r\n```bash\r\nsource ~\u002F.openclaw\u002Fopenviking.env\r\nopenclaw status\r\n```\r\n\r\n**Windows (PowerShell):**\r\n```powershell\r\n. \"$HOME\u002F.openclaw\u002Fopenviking.env.ps1\"\r\nopenclaw status\r\n```\r\n\r\nOr pass `--workdir` directly to each `openclaw` invocation (note: not all `openclaw` subcommands honor `--workdir` consistently — when in doubt, prefer the env var).\r\n\r\n## Daily Operations\r\n\r\n```bash\r\n# Start or restart OpenClaw gateway after config changes\r\nopenclaw gateway restart\r\n\r\n# Check overall status\r\nopenclaw status\r\nopenclaw openviking status --json\r\n\r\n# Read current OpenViking slot\r\nopenclaw config get plugins.slots.contextEngine\r\n\r\n# Disable OpenViking memory (keep config, deactivate slot)\r\nopenclaw config set plugins.slots.contextEngine legacy\r\nopenclaw gateway restart\r\n\r\n# Re-enable\r\nopenclaw config set plugins.slots.contextEngine openviking\r\nopenclaw gateway restart\r\n```\r\n\r\n## Uninstall\r\n\r\n### Preferred: via OpenClaw plugin manager\r\n\r\n```bash\r\nopenclaw plugins uninstall openviking\r\nopenclaw config set plugins.slots.contextEngine legacy\r\nopenclaw gateway restart\r\n```\r\n\r\n### If installed through backup `ov-install`\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --uninstall\r\n```\r\n\r\nThis will:\r\n\r\n1. Stop the OpenClaw gateway.\r\n2. Back up `openclaw.json`.\r\n3. Remove all OpenViking plugin config from `openclaw.json` (`plugins.entries.openviking`, `plugins.allow`, `plugins.installs.openviking`, `plugins.slots.contextEngine`).\r\n4. Move the plugin directory to `disabled-extensions\u002F` as backup.\r\n5. Remove the helper env files (`openviking.env`, `.bat`, `.ps1`).\r\n\r\nAdd `--base-url dummy` for fully non-interactive mode (skips the confirmation prompt).\r\n\r\n### Manual\r\n\r\n```bash\r\nopenclaw gateway stop\r\nopenclaw config set plugins.slots.contextEngine legacy\r\n# Then edit ~\u002F.openclaw\u002Fopenclaw.json and remove openviking from\r\n#   plugins.entries\r\n#   plugins.allow\r\n#   plugins.installs\r\nopenclaw gateway restart\r\n```\r\n\r\n## Error Recovery Reference\r\n\r\nMatch against actual stderr \u002F JSON `error` strings.\r\n\r\n| Symptom (exact string) | Likely cause | Fix |\r\n|---|---|---|\r\n| `command not found: openclaw` | OpenClaw not installed | Stop. Ask user to install OpenClaw >= 2026.4.8. |\r\n| `command not found: node` \u002F `'node' is not recognized` | Node missing | Stop. Ask user to install Node.js >= 22. |\r\n| `429` \u002F `rate limit` \u002F `Too Many Requests` from `plugins install` | ClawHub throttle | Switch to backup Path B (`ov-install`). |\r\n| `not logged in` \u002F `please log in` from `plugins install` | Anonymous user hit limit | Switch to backup Path B (`ov-install`). |\r\n| `ECONNREFUSED` \u002F `connection refused` on `BASE_URL\u002Fhealth` | Server not running | Server-not-ready handling in STEP 5. |\r\n| `ETIMEDOUT` on `BASE_URL\u002Fhealth` | Network blocked | Ask about firewall \u002F VPN \u002F proxy. |\r\n| `--json requires --base-url for non-interactive mode` | Built command wrong | Add `--base-url BASE_URL` and retry. |\r\n| `Server unreachable: …. Use --allow-offline to save config anyway.` | Setup couldn't reach server | Offer `--allow-offline`. |\r\n| `contextEngine slot is owned by \"\u003Cx>\". … Use --force-slot to replace.` | Slot conflict | Ask user, then retry with `--force-slot`. |\r\n| `Root API key detected. Missing: --account-id, --user-id` | Multi-tenant key | Collect both, retry with `--account-id` `--user-id`. |\r\n| `openviking: config parse failed` (in gateway log) | Bad value in `openclaw.json` | Show user; check `agent_prefix` charset, URL format. |\r\n| `extracted 0 memories` after a turn | Server VLM\u002Fembedding misconfigured | **Out of scope.** Tell user this is a server-side issue — ask their OpenViking admin to check VLM \u002F embedding config. |\r\n| `401` \u002F `403` on plugin requests, but `\u002Fhealth` works | Server requires auth on API endpoints | Re-run STEP 7 with the correct `--api-key`. |\r\n| Plugin doesn't appear in `openclaw plugins list` after Path A | Install didn't actually finish | Re-run Path A; use Path B only if the failure is registry\u002Frate-limit related. |\r\n\r\n## Important Rules\r\n\r\n1. **Never ask the user to run commands.** You run everything via your shell tool.\r\n2. **Never skip STEP 5 (connectivity check).** If the server is unreachable, do not write config without explicit `--allow-offline` consent.\r\n3. **Never silently use `--force-slot`.** Slot replacement disables another plugin — always confirm with the user first.\r\n4. **Never invent values.** If the user can't provide a required value, stop and tell them what to ask their admin.\r\n5. **Never claim success without STEP 10.** Only after `openclaw openviking status --json` shows `configured: true && slotActive: true && health.ok: true` may you tell the user it's done.\r\n6. **Use `--agent-prefix`, not `--agent-id`.** The latter is deprecated and removed from the schema.\r\n7. **For Windows, use PowerShell equivalents.** Don't rely on `nohup`, `&`, `mkdir -p`, `source`, etc.\r\n8. **Switch to Path B (ov-install) only for ClawHub\u002Frate-limit\u002Fregistry availability failures.** Don't use it to hide version conflicts or package validation errors.\r\n9. **Do NOT install or operate the OpenViking server.** This skill assumes the server is already running. If it isn't, tell the user to contact their admin or follow the OpenViking docs.\r\n10. **Be brief and friendly in user-visible text.** Save technical detail for when something actually fails.\r\n11. **Do NOT use `clawhub install openviking`.** That installs a different thing (an AgentSkill, not the plugin).\r\n","# Install OpenViking Memory — Agent Installation & Reference Skill\r\n\r\nYou are about to help a user install and configure the OpenViking memory plugin for OpenClaw.\r\nThe user does NOT know how to use a terminal. You will collect a few values through natural conversation, then run **all** commands yourself using your shell tool.\r\n\r\n**Read this entire document before starting. Follow every step in order. Do NOT skip steps.**\r\n\r\nThis skill is split into two halves:\r\n\r\n- **Part 1 (STEP 0–10): Natural-language installation walkthrough.** Use this on first install or reconfigure.\r\n- **Part 2: Reference.** Tools, config schema, multi-tenant, multi-instance, daily ops, uninstall, error recovery. Read on demand.\r\n\r\n> **Server scope.** This skill **does not** install the OpenViking server itself. It assumes the server is already running locally on `127.0.0.1:1933` or on another machine. If the user has no server, see \"Server not ready\" handling in STEP 5.\r\n\r\n---\r\n\r\n# Part 1 — Natural-Language Installation Walkthrough\r\n\r\n## STEP 0: Detect Language\r\n\r\nIf the user's first message contains Chinese characters, respond in **Chinese** throughout.\r\nOtherwise respond in **English**.\r\nAll user-facing messages below have (CN)\u002F(EN) variants — use the matching one.\r\n\r\nDo NOT show this step to the user.\r\n\r\n---\r\n\r\n## STEP 1: Detect Operating System (silently)\r\n\r\nRun this command and remember the result. Do NOT show it to the user.\r\n\r\n```bash\r\nuname -s 2>\u002Fdev\u002Fnull || echo WINDOWS\r\n```\r\n\r\n- Output contains `Darwin` → `OS=mac`\r\n- Output contains `Linux` → `OS=linux`\r\n- Output is `WINDOWS` or the command fails → `OS=windows`\r\n\r\n---\r\n\r\n## STEP 2: Check Prerequisites (silently)\r\n\r\nRun silently:\r\n\r\n```bash\r\nnode -v\r\nopenclaw --version\r\n```\r\n\r\n**If `node` is missing:**\r\n\r\n> (CN) 你的系统没有安装 Node.js。OpenClaw 和 OpenViking 插件需要 Node.js >= 22。请先安装 Node.js，然后再回来找我。\r\n> (EN) Node.js is not installed. OpenClaw and the OpenViking plugin require Node.js >= 22. Please install Node.js first, then come back.\r\n\r\n**Stop. Do NOT continue.**\r\n\r\n**If `openclaw` is missing:**\r\n\r\n> (CN) 你的系统没有安装 OpenClaw。请先安装 OpenClaw（>= 2026.4.8），然后再回来找我。\r\n> (EN) OpenClaw is not installed. Please install OpenClaw (>= 2026.4.8) first, then come back.\r\n\r\n**Stop. Do NOT continue.**\r\n\r\nIf both exist, proceed to STEP 3 silently.\r\n\r\n---\r\n\r\n## STEP 3: Greet and Ask for 3 Values\r\n\r\nSend this message:\r\n\r\n> (CN) 好，我来帮你接入 OpenViking 长期记忆。装好之后，我会自动记住对话里的重要信息，下次聊也能回忆起来。\r\n>\r\n> 我需要 3 条信息，不知道的可以问你的管理员：\r\n> 1. **OpenViking 服务地址** —— 例如 `https:\u002F\u002Fov.example.com` 或 `http:\u002F\u002F192.168.1.100:1933`，本机服务可以直接说\"本机\"\r\n> 2. **API Key** —— 用来鉴权；服务没开认证可以说\"没有\"\r\n> 3. **Agent 标识前缀**（可选） —— 用于区分多个 agent 的记忆命名空间，留空就用默认\r\n>\r\n> 先告诉我服务地址吧？\r\n\r\n> (EN) I'll set up OpenViking long-term memory for you. Once configured, I'll automatically remember important info from our chats and recall it later.\r\n>\r\n> I need 3 things (ask your admin if unsure):\r\n> 1. **OpenViking server URL** — e.g. `https:\u002F\u002Fov.example.com` or `http:\u002F\u002F192.168.1.100:1933`. For a local server, just say \"local\".\r\n> 2. **API Key** — for auth. Say \"none\" if the server has no auth.\r\n> 3. **Agent prefix** (optional) — used to namespace memories across agents. Leave blank for default.\r\n>\r\n> What's the server URL?\r\n\r\n---\r\n\r\n## STEP 4: Collect Values\r\n\r\nCollect 3 values through natural conversation. Be flexible: if the user gives several at once, parse them all. If they correct something, accept the new value.\r\n\r\n### 4a. `BASE_URL` (REQUIRED)\r\n\r\n- \"local\" \u002F \"本机\" \u002F \"localhost\" → use `http:\u002F\u002F127.0.0.1:1933`.\r\n- `ov.example.com` without protocol → prepend `https:\u002F\u002F`.\r\n- Strip trailing `\u002F`, `\u002Fhealth`, or `\u002Fapi`.\r\n- After normalization must start with `http:\u002F\u002F` or `https:\u002F\u002F`.\r\n- If the user says they don't know, ask them to check with the admin or look at how the server was started. **Do NOT make up a URL.**\r\n\r\n### 4b. `API_KEY` (OPTIONAL)\r\n\r\n> (CN) API Key 是什么？服务没开认证就直接说\"没有\"。\r\n> (EN) What's the API Key? Say \"none\" if the server has no auth.\r\n\r\n- \"no\" \u002F \"none\" \u002F \"没有\" \u002F \"空\" \u002F empty → `API_KEY=\"\"` (you will skip the flag later).\r\n- Otherwise store as-is.\r\n\r\n### 4c. `AGENT_PREFIX` (OPTIONAL)\r\n\r\n> (CN) 想给这个 agent 一个记忆前缀吗？留空就用默认。只能用字母、数字、`_`、`-`。\r\n> (EN) Want to set an agent prefix? Leave blank for the default. Letters, digits, `_`, `-` only.\r\n\r\n- Empty \u002F \"default\" \u002F \"默认\" → leave unset (plugin defaults to `\"\"`).\r\n- Otherwise validate against `\u002F^[A-Za-z0-9_-]+$\u002F`. If invalid, ask again.\r\n\r\n### 4d. (Conditional) Multi-Tenant Root-Key Fields\r\n\r\nOnly ask for these if STEP 7 detects a root key (`Root API key detected. Missing: --account-id, --user-id`). Don't ask up front.\r\n\r\n- `ACCOUNT_ID`\r\n- `USER_ID`\r\n\r\nSee **Reference: Multi-Tenant** for what these mean.\r\n\r\n---\r\n\r\n## STEP 5: Pre-flight Connectivity Check (silently)\r\n\r\nTell the user briefly:\r\n\r\n> (CN) 我先测一下能不能连上服务……\r\n> (EN) Let me test the connection to your server...\r\n\r\nRun:\r\n\r\n**If OS=windows:**\r\n\r\n```powershell\r\ntry { (Invoke-WebRequest -Uri \"BASE_URL\u002Fhealth\" -TimeoutSec 10 -UseBasicParsing -ErrorAction Stop).StatusCode } catch { $_.Exception.Response.StatusCode.value__ }\r\n```\r\n\r\n**If OS=mac or OS=linux:**\r\n\r\n```bash\r\ncurl -sS -o \u002Fdev\u002Fnull -w \"%{http_code}\" --connect-timeout 10 \"BASE_URL\u002Fhealth\"\r\n```\r\n\r\nReplace `BASE_URL` with the actual value.\r\n\r\n| Status | Meaning | Action |\r\n|---|---|---|\r\n| `200` | Server reachable, no auth on `\u002Fhealth` | Proceed to STEP 6. |\r\n| `401` \u002F `403` | Server reachable but `\u002Fhealth` requires auth | Proceed to STEP 6 — the wizard's key probe will sort it out. |\r\n| `000` \u002F timeout \u002F connection refused | Server unreachable | **Server-not-ready handling** below. |\r\n| Anything else | Unexpected | Show status code to the user, go back to STEP 4a. |\r\n\r\n### Server-not-ready handling\r\n\r\nThis skill **does not install or operate the OpenViking server**. If the user's server is unreachable, present the situation honestly and offer two paths:\r\n\r\n> (CN) ❌ 我连不上 `BASE_URL`。可能是：\r\n> 1) 服务还没启动 —— 请联系你的 OpenViking 服务管理员把它起起来；如果是你自己负责，请参考 OpenViking 官方文档（`https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking`）的 server 启动指引。\r\n> 2) 地址不对 —— 你可以重新告诉我正确的地址。\r\n> 3) 网络不通（防火墙 \u002F VPN \u002F 内网）—— 你确认一下网络。\r\n>\r\n> 也可以选择\"先把配置写下来\"，等服务起来就自动生效，要这么办吗？\r\n\r\n> (EN) ❌ Cannot reach `BASE_URL`. Likely cause:\r\n> 1) **Server isn't running** — please ask your OpenViking admin to start it. If you own the server, follow the OpenViking official docs (`https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking`) to start it. **This skill does not install or run the server.**\r\n> 2) **Wrong URL** — give me the correct URL.\r\n> 3) **Network blocked** (firewall \u002F VPN \u002F private network) — please verify connectivity.\r\n>\r\n> Or I can save the config now (`--allow-offline`) so it will activate automatically once the server is up. Want me to do that?\r\n\r\nIf the user fixes the URL → back to STEP 4a.\r\nIf the user wants `--allow-offline` → remember `ALLOW_OFFLINE=true` and continue to STEP 6.\r\nIf the user gives up \u002F cannot fix → stop here. Do NOT continue with a broken state.\r\n\r\n---\r\n\r\n## STEP 6: Install the Plugin\r\n\r\nThe plugin can be installed two ways. **Always try Path A first.** Use Path B only as a backup when Path A fails because ClawHub is unavailable, rate-limited, or authentication blocks anonymous install. For version conflicts, dependency errors, or other non-registry failures, stop and show the user the error instead of switching paths silently.\r\n\r\n### Path A — Primary: `openclaw plugins install` (uses ClawHub)\r\n\r\nTell the user:\r\n\r\n> (CN) 现在开始装插件……\r\n> (EN) Installing the plugin now...\r\n\r\nRun:\r\n\r\n```bash\r\nopenclaw plugins install @openviking\u002Fopenclaw-plugin\r\n```\r\n\r\nTrigger fallback to Path B only if the output contains any of these strings:\r\n\r\n- `429`\r\n- `rate limit` \u002F `rate-limited` \u002F `Too Many Requests`\r\n- `not logged in` \u002F `please log in` \u002F `please login` \u002F `unauthorized` \u002F `401` \u002F `403` together with `clawhub`\r\n- `ETIMEDOUT` \u002F `ECONNRESET` on a `clawhub`-related host\r\n- generic message indicating the registry refused an anonymous client\r\n\r\nBefore falling back, also try the explicit registry prefix once:\r\n\r\n```bash\r\nopenclaw plugins install clawhub:@openviking\u002Fopenclaw-plugin\r\n```\r\n\r\nIf the install **succeeds**, jump to STEP 7.\r\n\r\nIf both attempts fail with one of the fallback-eligible errors above, go to Path B. If the failure is a version conflict, missing dependency, package validation error, or another non-registry error, stop and show the last 30 lines to the user.\r\n\r\n### Path B — Backup: `ov-install` (bypasses ClawHub)\r\n\r\nTell the user:\r\n\r\n> (CN) ClawHub 现在好像被限流、不可用，或者当前账号不能安装。我改用备用路径，通过 npm 下载并部署插件包。\n> (EN) ClawHub looks rate-limited, unavailable, or blocked for this account. I'll use the backup path and install the plugin package from npm.\n\r\nRun the installer with `npx` (no global install needed):\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --base-url BASE_URL [--api-key API_KEY] [--agent-prefix AGENT_PREFIX] [--account-id ACCOUNT_ID] [--user-id USER_ID]\r\n```\r\n\r\nBuild the flag list according to what the user gave you:\r\n\r\n- Always pass `--base-url BASE_URL`.\r\n- Pass `--api-key API_KEY` only if `API_KEY` is non-empty.\r\n- Pass `--agent-prefix AGENT_PREFIX` only if the user gave one.\r\n- `--account-id` \u002F `--user-id` only if the root-key path requires them.\r\n\r\n`ov-install` will, in one shot:\n1. Download the `@openviking\u002Fopenclaw-plugin` package from npm into a temporary staging dir.\n2. Copy the package into the OpenClaw `extensions\u002F` dir and install plugin dependencies.\n3. Register the plugin in `openclaw.json` (via `openclaw plugins enable` or direct write).\n4. Run `openclaw openviking setup --json --base-url … [--api-key …]` for the user.\n5. Return a non-zero exit if setup needs explicit `--allow-offline` or `--force-slot` consent.\n\r\nThis means **STEP 7 is effectively done by `ov-install`**. After `ov-install` exits 0, jump straight to **STEP 9** (gateway restart) and **STEP 10** (verify).\r\n\r\nIf `ov-install` exits non-zero, capture the last 30 lines of its output, show them to the user, and stop. Don't retry blindly.\r\n\r\n---\r\n\r\n## STEP 7: Configure (only on Path A — Path B did this for you)\r\n\r\nRun the setup wizard non-interactively. Build flags from collected values:\r\n\r\n```bash\r\nopenclaw openviking setup --base-url BASE_URL --json [--api-key API_KEY] [--agent-prefix AGENT_PREFIX] [--account-id ACCOUNT_ID] [--user-id USER_ID] [--allow-offline] [--force-slot]\r\n```\r\n\r\nRules:\r\n\r\n- `--base-url BASE_URL` is **required** under `--json`. Without it, the wizard prints `--json requires --base-url for non-interactive mode`.\r\n- `--api-key` only if `API_KEY` is non-empty.\r\n- `--agent-prefix` only if the user gave one. Use **`--agent-prefix`**, not `--agent-id` (deprecated and removed).\r\n- `--account-id` \u002F `--user-id` only after STEP 7 root-key detection (see below).\r\n- `--allow-offline` only if the user explicitly approved it in STEP 5.\r\n- `--force-slot` **never** in the first attempt. Add only after the user confirms (see slot_blocked handling below).\r\n\r\n### Parse the JSON output\r\n\r\nThe wizard prints a single JSON object:\r\n\r\n```json\r\n{\r\n  \"success\": true | false,\r\n  \"action\": \"configured\" | \"existing\" | \"error\" | \"slot_blocked\",\r\n  \"config\": { \"mode\": \"remote\", \"baseUrl\": \"...\", \"apiKey\": \"...\", \"agent_prefix\": \"...\", \"accountId\": \"...\", \"userId\": \"...\" },\r\n  \"health\": { \"ok\": true, \"status\": 200 },\r\n  \"keyProbe\": { \"keyType\": \"user_key\" | \"root_key\" | \"none\", \"ok\": true },\r\n  \"slot\": { \"ok\": true, \"owner\": \"openviking\" },\r\n  \"error\": \"...\"\r\n}\r\n```\r\n\r\n### Decision matrix\r\n\r\n| Condition | Action |\r\n|---|---|\r\n| `success: true` and `action: \"configured\"` or `\"existing\"` | Done. Proceed to STEP 9. |\r\n| `success: false` and `action: \"slot_blocked\"` | **Slot conflict — see below.** |\r\n| `success: false` and `error` contains `\"Server unreachable\"` | Connectivity broke between STEP 5 and STEP 7. Offer `--allow-offline`; if accepted, retry. Otherwise back to STEP 4a. |\r\n| `success: false` and `error` contains `\"Root API key detected\"` and `\"Missing: --account-id, --user-id\"` | **Root-key path — see below.** |\r\n| `success: false` and `error` contains `\"Invalid API key\"` \u002F `keyProbe.keyType: \"none\"` with `ok: false` | API key wrong. Back to STEP 4b. |\r\n| `success: false` and any other `action: \"error\"` | Show `error` to the user, stop. Do NOT pretend success. |\r\n\r\n### Slot conflict (`slot_blocked`)\r\n\r\nThe error text looks like:\r\n\r\n> `contextEngine slot is owned by \"\u003Cother-plugin>\". Config was saved but slot was NOT changed. Use --force-slot to replace.`\r\n\r\n**Do NOT silently use `--force-slot`.** Ask the user:\r\n\r\n> (CN) 你的 OpenClaw 当前 contextEngine 槽被 `\u003Cother-plugin>` 占着。如果用 OpenViking 替换它，`\u003Cother-plugin>` 就不再生效。要替换吗？\r\n> (EN) Your `contextEngine` slot is currently owned by `\u003Cother-plugin>`. Activating OpenViking will disable it. Replace?\r\n\r\nIf the user agrees, retry the same setup command with `--force-slot` appended. If they decline, tell them config has been saved but the slot is unchanged, and stop.\r\n\r\n### Root-key path\r\n\r\nThe error text looks like:\r\n\r\n> `Root API key detected. Missing: --account-id, --user-id. Provide both to enable multi-tenant scoping.`\r\n\r\nAsk the user:\r\n\r\n> (CN) 你给的是 root 级 API Key，需要再补两个值才能用：账户 ID（accountId）和用户 ID（userId）。这两个一般是 OpenViking 服务管理员配的，不知道就问他们。\r\n> (EN) Your API key is a root key, which needs two more values: `accountId` and `userId`. Both come from your OpenViking server admin — ask them if unsure.\r\n\r\nAfter collecting, retry the setup command with `--account-id` and `--user-id` appended.\r\n\r\n---\r\n\r\n## STEP 8: (Reserved — done inside STEP 7 or by `ov-install`)\r\n\r\nThe setup wizard already wrote `plugins.entries.openviking.config.*` and (if successful) set `plugins.slots.contextEngine = \"openviking\"`. There is no separate STEP 8 — go to STEP 9.\r\n\r\n---\r\n\r\n## STEP 9: Restart the Gateway\r\n\r\n```bash\r\nopenclaw gateway restart\r\n```\r\n\r\nIf it fails, try once more with:\r\n\r\n```bash\r\nopenclaw gateway --force\r\n```\r\n\r\nIf both fail:\r\n\r\n> (CN) Gateway 没能自动重启。请你手动跑一下 `openclaw gateway restart`。重启完告诉我，我来验证。\r\n> (EN) Gateway didn't restart cleanly. Please run `openclaw gateway restart` manually, then tell me when it's done so I can verify.\r\n\r\nWait ~3 seconds before STEP 10.\r\n\r\n---\r\n\r\n## STEP 10: Verify\r\n\r\n```bash\r\nopenclaw openviking status --json\r\n```\r\n\r\nExpected output:\r\n\r\n```json\r\n{\r\n  \"configured\": true,\r\n  \"slotActive\": true,\r\n  \"health\": { \"ok\": true },\r\n  \"config\": { \"baseUrl\": \"...\", \"agent_prefix\": \"...\" }\r\n}\r\n```\r\n\r\n### Decision\r\n\r\n- `configured: true` **and** `slotActive: true` **and** `health.ok: true` → **success.** Send the success message below.\r\n- `configured: true` but `slotActive: false` → if you previously skipped `--force-slot`, ask the user about replacing now and retry STEP 7 with `--force-slot`. Otherwise it's a gateway restart issue — back to STEP 9.\r\n- `configured: true` but `health.ok: false` → server became unreachable. Tell the user; the config will start working as soon as the server is back.\r\n- `configured: false` → setup didn't actually persist. Show full status JSON to the user and stop.\r\n\r\n### Success message\r\n\r\n> (CN) 🎉 全部搞定！OpenViking 长期记忆已经接好了。\r\n>\r\n> 工作方式：\r\n> - **每一轮**：你的对话会被自动归档到 OpenViking session 里\r\n> - **`\u002Fcompact` 时**：归档消息会被抽取成长期记忆，写到 `~\u002F.openviking\u002Fdata\u002F` 下\r\n> - **后续会话**：每次回复前我都会自动搜一下相关记忆并带进上下文\r\n>\r\n> 想验证一下吗？跟我聊几句包含可记忆事实的话（例如\"我的邮箱是 test@example.com\"），然后调一下 `\u002Fcompact`，再开新对话问\"我的邮箱是？\"，应该就能召回了。\r\n\r\n> (EN) 🎉 All set! OpenViking long-term memory is connected.\r\n>\r\n> How it works:\r\n> - **Every turn**: our messages are auto-archived into an OpenViking session\r\n> - **On `\u002Fcompact`**: archived messages are extracted into long-term memories under `~\u002F.openviking\u002Fdata\u002F`\r\n> - **Future sessions**: relevant memories are auto-retrieved and injected before my replies\r\n>\r\n> Want to verify? Tell me a few facts (e.g. \"my email is test@example.com\"), run `\u002Fcompact`, then start a new chat and ask \"what's my email?\" — it should recall.\r\n\r\n---\r\n\r\n# Part 2 — Reference\r\n\r\n## How It Works\r\n\r\nThe context-engine pipeline has three distinct stages — keep them apart, especially when telling users when memories actually appear in `~\u002F.openviking\u002Fdata\u002F`:\r\n\r\n- **Archive \u002F capture (context-engine `afterTurn`)**: at the end of a user turn, the plugin commits user\u002Fassistant messages to the OpenViking session via `POST \u002Fapi\u002Fv1\u002Fsessions\u002F...\u002Fmessages`. This is **archive only** — no memory extraction yet. You'll see session message counts grow on the server, but no new files under `viking:\u002F\u002Fuser\u002F...\u002Fmemories\u002F`.\r\n- **Memory extraction (on `\u002Fcompact`)**: memory extraction runs when the user invokes OpenClaw's `\u002Fcompact` command. The server-side extraction pipeline reads the archived session and writes new memories. The plugin's `after_compaction` hook is currently reserved; the extraction itself is driven by the server. **No `\u002Fcompact`, no new memory files.**\r\n  - `captureMode: \"semantic\"` (default): server extraction pipeline filters all qualifying text.\r\n  - `captureMode: \"keyword\"`: only text matching trigger words (e.g. \"remember\", \"preference\") is considered.\r\n- **Auto-Recall (context-engine `assemble()`)**: before prompt context is assembled, the plugin queries OpenViking for relevant memories and injects them into context. Recall works even when there are no extracted memories yet — you just won't see anything come back.\r\n\r\n**Practical implication for testing**: if you write down a fact and immediately try to recall it without `\u002Fcompact`, the plugin will only retrieve it as recent session context (archived messages), not as a long-term memory. To verify long-term memory cross-session, you must run `\u002Fcompact` first.\r\n\r\n## Available Tools\r\n\r\nThese are the plugin tools the agent can call once installed.\r\n\r\n### `memory_recall` — Search Memories\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `query` | Yes | Search query text |\r\n| `limit` | No | Maximum number of results (defaults to plugin config) |\r\n| `scoreThreshold` | No | Minimum relevance score 0–1 (defaults to plugin config) |\r\n| `targetUri` | No | Search scope URI (defaults to plugin config) |\r\n\r\nExample: user asks \"What programming language did I say I like?\"\r\n\r\n### `memory_store` — Manual Store\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `text` | Yes | Information text to store |\r\n| `role` | No | Session role (default `user`) |\r\n| `sessionId` | No | Existing OpenViking session ID |\r\n\r\nExample: user says \"Remember my email is xxx@example.com\".\r\n\r\n### `memory_forget` — Delete Memories\r\n\r\n| Parameter | Required | Description |\r\n|---|---|---|\r\n| `uri` | No | Exact memory URI (direct delete) |\r\n| `query` | No | Search query (find then delete) |\r\n| `targetUri` | No | Search scope URI |\r\n| `limit` | No | Search limit (default 5) |\r\n| `scoreThreshold` | No | Minimum relevance score |\r\n\r\nExample: user says \"Forget my phone number\".\r\n\r\n## Configuration Schema\r\n\r\nThese are the keys under `plugins.entries.openviking.config` in `openclaw.json`. The setup wizard \u002F `ov-install` sets the first few; the rest are tunables.\r\n\r\n| Field | Default | Description |\r\n|---|---|---|\r\n| `mode` | `\"remote\"` (forced by plugin) | Always remote in this skill. Don't set manually. |\r\n| `baseUrl` | `http:\u002F\u002F127.0.0.1:1933` | OpenViking server URL. |\r\n| `apiKey` | — | API key. Optional if server has no auth. |\r\n| `agent_prefix` | `\"\"` | Prefix for routing memories per agent. Letters \u002F digits \u002F `_` \u002F `-`. |\r\n| `accountId` | — | Required when `apiKey` is a root key. |\r\n| `userId` | — | Required when `apiKey` is a root key. |\r\n| `targetUri` | `viking:\u002F\u002Fuser\u002Fmemories` | Default search scope URI. |\r\n| `timeoutMs` | (plugin default) | HTTP timeout for OpenViking calls. |\r\n| `autoCapture` | `true` | Auto-archive turn messages to OpenViking session at `afterTurn` (extraction itself runs on `\u002Fcompact`, not here). |\r\n| `captureMode` | `\"semantic\"` | Filter mode used by the server-side extraction pipeline: `semantic` or `keyword`. |\r\n| `captureMaxLength` | `24000` | Max text length per archived turn. |\r\n| `autoRecall` | `true` | Auto-recall and inject memories before reply. |\r\n| `recallLimit` | `6` | Max memories injected per recall. |\r\n| `recallScoreThreshold` | `0.15` | Min relevance score to inject. |\r\n| `recallMaxInjectedChars` | (plugin default) | Hard cap on injected character count. |\r\n| `recallPreferAbstract` | (plugin default) | Prefer abstract memories over raw. |\r\n| `recallTokenBudget` | (plugin default) | Token budget for injected memories. |\r\n| `isolateUserScopeByAgent` | (plugin default) | Multi-tenant scoping toggle. |\r\n| `isolateAgentScopeByUser` | (plugin default) | Multi-tenant scoping toggle. |\r\n| `agentScopeMode` | (plugin default) | Agent scope strategy. |\r\n| `bypassSessionPatterns` | — | Glob patterns for sessions skipped by capture. |\r\n| `ingestReplyAssist` | (plugin default) | Reply-assist ingestion toggle. |\r\n| `emitStandardDiagnostics` | (plugin default) | Verbose diagnostic logs. |\r\n| `logFindRequests` | (plugin default) | Log retrieval requests. |\r\n\r\nTo change a value:\r\n\r\n```bash\r\nopenclaw config set plugins.entries.openviking.config.\u003Cfield> \u003Cvalue>\r\nopenclaw gateway restart\r\n```\r\n\r\n## Multi-Tenant (Root API Keys)\r\n\r\nSome OpenViking deployments use a single **root** API key shared across tenants. In that case the plugin needs both `accountId` and `userId` so it can scope memories correctly. The setup wizard detects this automatically and returns:\r\n\r\n```\r\nRoot API key detected. Missing: --account-id, --user-id\r\n```\r\n\r\nWhen you see this:\r\n\r\n1. Ask the user for both values (they come from the OpenViking admin).\r\n2. Retry STEP 7 with both flags:\r\n\r\n```bash\r\nopenclaw openviking setup --base-url BASE_URL --api-key API_KEY --account-id ACCOUNT_ID --user-id USER_ID --json\r\n```\r\n\r\nA **user key** (issued per tenant) does not need these flags.\r\n\r\n## Multi-Instance (`--workdir` \u002F `OPENCLAW_STATE_DIR`)\r\n\r\nIf the user runs multiple OpenClaw instances (e.g. testing several agents in parallel), each has its own state dir.\r\n\r\nTo target a non-default instance:\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --workdir ~\u002F.openclaw-second --base-url ... --api-key ...\r\n```\r\n\r\n`ov-install` writes a helper env file when the state dir is non-default:\r\n\r\n- Unix: `~\u002F.openclaw\u002Fopenviking.env` containing `export OPENCLAW_STATE_DIR='...'`\r\n- Windows: `~\u002F.openclaw\u002Fopenviking.env.bat` and `.ps1` setting the same variable\r\n\r\nSource it before running `openclaw` commands so they hit the correct state:\r\n\r\n**Unix:**\r\n```bash\r\nsource ~\u002F.openclaw\u002Fopenviking.env\r\nopenclaw status\r\n```\r\n\r\n**Windows (PowerShell):**\r\n```powershell\r\n. \"$HOME\u002F.openclaw\u002Fopenviking.env.ps1\"\r\nopenclaw status\r\n```\r\n\r\nOr pass `--workdir` directly to each `openclaw` invocation (note: not all `openclaw` subcommands honor `--workdir` consistently — when in doubt, prefer the env var).\r\n\r\n## Daily Operations\r\n\r\n```bash\r\n# Start or restart OpenClaw gateway after config changes\r\nopenclaw gateway restart\r\n\r\n# Check overall status\r\nopenclaw status\r\nopenclaw openviking status --json\r\n\r\n# Read current OpenViking slot\r\nopenclaw config get plugins.slots.contextEngine\r\n\r\n# Disable OpenViking memory (keep config, deactivate slot)\r\nopenclaw config set plugins.slots.contextEngine legacy\r\nopenclaw gateway restart\r\n\r\n# Re-enable\r\nopenclaw config set plugins.slots.contextEngine openviking\r\nopenclaw gateway restart\r\n```\r\n\r\n## Uninstall\r\n\r\n### Preferred: via OpenClaw plugin manager\r\n\r\n```bash\r\nopenclaw plugins uninstall openviking\r\nopenclaw config set plugins.slots.contextEngine legacy\r\nopenclaw gateway restart\r\n```\r\n\r\n### If installed through backup `ov-install`\r\n\r\n```bash\r\nnpx -y openclaw-openviking-setup-helper@latest --uninstall\r\n```\r\n\r\nThis will:\r\n\r\n1. Stop the OpenClaw gateway.\r\n2. Back up `openclaw.json`.\r\n3. Remove all OpenViking plugin config from `openclaw.json` (`plugins.entries.openviking`, `plugins.allow`, `plugins.installs.openviking`, `plugins.slots.contextEngine`).\r\n4. Move the plugin directory to `disabled-extensions\u002F` as backup.\r\n5. Remove the helper env files (`openviking.env`, `.bat`, `.ps1`).\r\n\r\nAdd `--base-url dummy` for fully non-interactive mode (skips the confirmation prompt).\r\n\r\n### Manual\r\n\r\n```bash\r\nopenclaw gateway stop\r\nopenclaw config set plugins.slots.contextEngine legacy\r\n# Then edit ~\u002F.openclaw\u002Fopenclaw.json and remove openviking from\r\n#   plugins.entries\r\n#   plugins.allow\r\n#   plugins.installs\r\nopenclaw gateway restart\r\n```\r\n\r\n## Error Recovery Reference\r\n\r\nMatch against actual stderr \u002F JSON `error` strings.\r\n\r\n| Symptom (exact string) | Likely cause | Fix |\r\n|---|---|---|\r\n| `command not found: openclaw` | OpenClaw not installed | Stop. Ask user to install OpenClaw >= 2026.4.8. |\r\n| `command not found: node` \u002F `'node' is not recognized` | Node missing | Stop. Ask user to install Node.js >= 22. |\r\n| `429` \u002F `rate limit` \u002F `Too Many Requests` from `plugins install` | ClawHub throttle | Switch to backup Path B (`ov-install`). |\r\n| `not logged in` \u002F `please log in` from `plugins install` | Anonymous user hit limit | Switch to backup Path B (`ov-install`). |\r\n| `ECONNREFUSED` \u002F `connection refused` on `BASE_URL\u002Fhealth` | Server not running | Server-not-ready handling in STEP 5. |\r\n| `ETIMEDOUT` on `BASE_URL\u002Fhealth` | Network blocked | Ask about firewall \u002F VPN \u002F proxy. |\r\n| `--json requires --base-url for non-interactive mode` | Built command wrong | Add `--base-url BASE_URL` and retry. |\r\n| `Server unreachable: …. Use --allow-offline to save config anyway.` | Setup couldn't reach server | Offer `--allow-offline`. |\r\n| `contextEngine slot is owned by \"\u003Cx>\". … Use --force-slot to replace.` | Slot conflict | Ask user, then retry with `--force-slot`. |\r\n| `Root API key detected. Missing: --account-id, --user-id` | Multi-tenant key | Collect both, retry with `--account-id` `--user-id`. |\r\n| `openviking: config parse failed` (in gateway log) | Bad value in `openclaw.json` | Show user; check `agent_prefix` charset, URL format. |\r\n| `extracted 0 memories` after a turn | Server VLM\u002Fembedding misconfigured | **Out of scope.** Tell user this is a server-side issue — ask their OpenViking admin to check VLM \u002F embedding config. |\r\n| `401` \u002F `403` on plugin requests, but `\u002Fhealth` works | Server requires auth on API endpoints | Re-run STEP 7 with the correct `--api-key`. |\r\n| Plugin doesn't appear in `openclaw plugins list` after Path A | Install didn't actually finish | Re-run Path A; use Path B only if the failure is registry\u002Frate-limit related. |\r\n\r\n## Important Rules\r\n\r\n1. **Never ask the user to run commands.** You run everything via your shell tool.\r\n2. **Never skip STEP 5 (connectivity check).** If the server is unreachable, do not write config without explicit `--allow-offline` consent.\r\n3. **Never silently use `--force-slot`.** Slot replacement disables another plugin — always confirm with the user first.\r\n4. **Never invent values.** If the user can't provide a required value, stop and tell them what to ask their admin.\r\n5. **Never claim success without STEP 10.** Only after `openclaw openviking status --json` shows `configured: true && slotActive: true && health.ok: true` may you tell the user it's done.\r\n6. **Use `--agent-prefix`, not `--agent-id`.** The latter is deprecated and removed from the schema.\r\n7. **For Windows, use PowerShell equivalents.** Don't rely on `nohup`, `&`, `mkdir -p`, `source`, etc.\r\n8. **Switch to Path B (ov-install) only for ClawHub\u002Frate-limit\u002Fregistry availability failures.** Don't use it to hide version conflicts or package validation errors.\r\n9. **Do NOT install or operate the OpenViking server.** This skill assumes the server is already running. If it isn't, tell the user to contact their admin or follow the OpenViking docs.\r\n10. **Be brief and friendly in user-visible text.** Save technical detail for when something actually fails.\r\n11. **Do NOT use `clawhub install openviking`.** That installs a different thing (an AgentSkill, not the plugin).\r\n",{"name":5,"tags":24,"version":31,"metadata":32,"description":40},[25,26,27,28,29,30],"install","setup","memory","openviking","rag","long-term-memory","2.0.1",{"emoji":33,"homepage":34,"openclaw":35},"🦣","https:\u002F\u002Fgithub.com\u002Fvolcengine\u002FOpenViking",{"requires":36},{"bins":37},[38,39],"node","openclaw","Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures important facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites check, plugin install through OpenClaw's plugin manager first, with ov-install only as a backup path, wizard-based configuration, slot activation, gateway restart, verification, plus multi-tenant root-key support, multi-instance, and uninstall. Trigger when the user says any of: \"install OpenViking\", \"set up memory\", \"configure memory plugin\", \"add long-term memory\", \"connect to OpenViking server\", \"RAG\", \"semantic memory\", \"帮我装 OpenViking\", \"配置记忆插件\", \"安装记忆功能\", \"接入 OpenViking\", \"我有一台 OpenViking 服务器\". The user does NOT need to know any CLI commands — the agent runs everything and only asks for a few values. This skill assumes the OpenViking server is already running. If the server is not ready, the skill tells the user to contact their admin or set it up via the OpenViking docs — it does NOT install the server.\n","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fi\u002Finstall-openviking-memory",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill install-openviking-memory",{"tool":56,"command":57},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill install-openviking-memory",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill install-openviking-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fi\u002Finstall-openviking-memory\u002FSKILL.md",true,[],[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]