AIPM
Theme

AIPM package

Huawei Cloud Openviking Agent Integration

@huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0

|

Scanned · flagged · Dec 4, 2026

GitHub stars: ★ 59

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/huawei-cloud-openviking-agent-integration <your description>

About

Integrate / unbind OpenViking long-term memory for coding agents running in bwrap sandboxes (`/root/job-envs/sandboxes/`). Every agent uses its **native mechanism** (MCP, HTTP memory provider, TS extension hooks, settings.json), so integration survives agent upgrades. Writes are **template-level persistent**: config is injected into `/root/template/<agent>/start.sh`, so sandbox `stop + start` preserves the integration.

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

|

Skill instructions

Huawei Cloud Agent Integration (OpenViking Long-Term Memory)

Integrate / unbind OpenViking long-term memory for coding agents running in bwrap sandboxes (/root/job-envs/sandboxes/). Every agent uses its native mechanism (MCP, HTTP memory provider, TS extension hooks, settings.json), so integration survives agent upgrades. Writes are template-level persistent: config is injected into /root/template/<agent>/start.sh, so sandbox stop + start preserves the integration.

Supported Agents

AgentMechanism
CodeArts CLI@openviking/opencode-plugin → .codeartsdoer/
OpenCode@openviking/opencode-plugin (npm mirror → GitHub fallback)
OpenClawclawhub:@openviking/openclaw-plugin + contextEngine slot (disables session-memory hook, denies memory_search)
HermesBuilt-in memory.provider: openviking (HTTP REST, no MCP)
WorkSwarmDual-channel: native provider + MCP (15 tools) + code-mode patch
KimiCodehooks + MCP (session lifecycle) — config.toml [[hooks]] → ov-kimi-hook.sh + MCP via mcp.json
DeepSeek Harness@openviking/dsh-memory-plugin bundle (on-demand from GitHub)
Prime Agent@openviking/pi-coding-agent-extension (on-demand from GitHub)

Per-agent config paths and details: references/agent-configs.md.

Prerequisites

  • OpenViking server healthy: curl -s http://127.0.0.1:1933/health → healthy.
  • Target sandbox exists under /root/job-envs/sandboxes/.
  • Host tools: curl, python3, bash; npm for OpenCode/OpenClaw; pip install --upgrade "mcp>=2.0" for verify_mcp.sh.
  • No Huawei Cloud IAM required — operates on local bwrap sandboxes only.

参数 (Parameters)

FlagRequiredMeaning
--agent <name>Yes (unless --all)Target agent
--allYes (unless --agent)Operate on all 8 agents
--endpoint <url>NoOpenViking URL (default http://127.0.0.1:1933)
--api-key <key>NoFor auth-mode servers. Never echo in chat. Must be consumed by an agent config or verify_mcp.sh; an unconsumed --api-key is reported as a warning.
--dry-runNoShow changes without applying
--yes / -yNoSkip confirmation (automation only)
--jsonNostatus.sh: machine-readable output

核心命令

功能命令
查看状态scripts/status.sh(--json / --agent <name>)
验证 MCPscripts/verify_mcp.sh
集成scripts/integrate.sh --agent <name> [--endpoint URL] [--dry-run] [--yes](或 --all)
解绑scripts/unbind.sh --agent <name> [--dry-run] [--yes](或 --all)

Workflow

bash
SKILL_DIR=/root/.agents/skills/huawei-cloud-openviking-agent-integration
$SKILL_DIR/scripts/status.sh          # per-agent: template+live / template only / live only / none
$SKILL_DIR/scripts/verify_mcp.sh      # full MCP handshake (initialize → tools/list → health)
$SKILL_DIR/scripts/integrate.sh --agent <name> [--yes]
$SKILL_DIR/scripts/unbind.sh  --agent <name> [--yes]
  1. Status first — never claim integrated before status.sh confirms (do not fabricate state).
  2. Verify MCP — verify_mcp.sh before integration.
  3. Integrate / Unbind — each requires explicit confirm (or --yes); --dry-run previews safely.
  4. States: template + live = active; template only = activates on restart; live only = lost on restart (warn user).

Authorization & Safety

  • integrate.sh / unbind.sh require explicit confirmation; never edit agent configs directly — go through the skill scripts.
  • Every config modification creates .bak.<timestamp> (keep 5) for rollback.
  • --api-key values must never appear in output.

能力边界(Cannot Do)

本技能只做"OpenViking 记忆 ↔ 编码 agent 的集成/解绑/状态/验证"。以下操作明确不做,遇到请改走对应路径或明确报错:

  • 不直接读写 agent 配置文件、sandbox 内业务数据或用户代码——一律通过 scripts/integrate.sh / unbind.sh 等入口执行。
  • 不删除、不修改用户自装的第三方包/目录/数据。卸载只清理 OpenViking 自身产物(@openviking/* 插件、注入的配置段、OV 专属目录);node_modules 整目录删除等越界行为是缺陷,不执行。
  • 服务器不可达/健康检查失败时不报告成功:integrate.sh、unbind.sh、verify_mcp.sh 均先做健康门禁,失败即失败(exit 非 0),绝不假成功。
  • --dry-run 只预览改动,不写任何持久文件;预览后续真实执行仍需确认。
  • --api-key 必须被某个 agent 配置或验证流程实际消费;若传入却无处消费,脚本会告警(而非静默忽略)。
  • 不做 embedding 模型切换、向量库重建、服务器自身配置变更——那是 huawei-cloud-openviking-embedding-switch 等技能的范围。
  • 不支持在集成/解绑过程中创建或修改 OpenViking 账号、用户、权限体系。
  • 不承诺"查看 → 已集成":一律以 status.sh 实测结果为准,禁止凭模板猜测 live 状态。

References

DocumentWhen to read
agent-configs.mdPer-agent config paths/formats, MCP tools, server info
notes.mdGuardrails, env vars, sandbox restart, plugin sources, troubleshooting, adding a new agent

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/huaweicloud/huawei-cloud-openviking-agent-integration/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

HUAWEI CLOUD

This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Keep exploring

HUAWEI CLOUD/huawei-cloud-terraform-generator

Generate Huawei Cloud Terraform configurations and execute deployment with user-guided approval. Use this skill when users want to create Huawei Cloud infrastructure as Terraform, whether they ask explicitly for Terraform or describe goa...

Published by HUAWEI CLOUD

skillScanned · flagged★ 67Imported · UnverifiedAll toolsDec 5, 2026, 1:04 AM588.5 KBMIT

HUAWEI CLOUD/huawei-cloud-network-query

Queries Huawei Cloud network resources (VPC/EIP/ELB/NAT/VPN/DNS). Covers VPCs, subnets, security groups, firewalls, route tables, flow logs, EIPs, bandwidths, load balancers, listeners, pools, health monitors, NAT gateways, SNAT/DNAT rul...

Published by HUAWEI CLOUD

skillScanned · no issues★ 67Imported · UnverifiedAll toolsDec 5, 2026, 1:04 AM117.4 KBMIT

HUAWEI CLOUD/huawei-cloud-obs-stats

|

Published by HUAWEI CLOUD

skillScanned · flagged★ 67Imported · UnverifiedAll toolsDec 5, 2026, 1:04 AM25.5 KBMIT

Package FAQ

Install and compatibility

How to install
Run aipm add @huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0 in a project that has AIPM initialized.
Supported tools
@huaweicloud/huawei-cloud-openviking-agent-integration@1.0.0 supports All tools.

Before installing

AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.