Bamdra Memory Upgrade Operator
Use this skill when the user wants to install, uninstall, repair, or upgrade the Bamdra memory suite and a normal openclaw plugins install @bamdra/bamdra-openclaw-memory flow is blocked by:
- - INLINECODE1
- INLINECODE2 errors from stale INLINECODE3
- old bundled skills preventing new skill files from being copied
- partial installs where
bamdra-openclaw-memory, bamdra-user-bind, and bamdra-memory-vector are out of sync
Operating Goal
Perform a safe Bamdra suite lifecycle operation without leaving ~/.openclaw/openclaw.json broken.
The bundled script supports these modes:
- -
upgrade: backup config, clear stale Bamdra references, move old plugin and skill directories aside, then run INLINECODE9 - INLINECODE10 : run install without first moving old plugin directories
- INLINECODE11 : backup config, remove Bamdra plugin references from config, and move Bamdra plugin and skill directories into a backup folder
Default Commands
Upgrade to the latest published suite:
CODEBLOCK0
Install a specific published version:
CODEBLOCK1
Uninstall the suite safely:
CODEBLOCK2
Optional Flags
- -
--package <npm-spec> to install a specific version - INLINECODE13 to target a non-default OpenClaw home
- INLINECODE14 to restart the gateway after a successful install
Behavior Rules
- - prefer the script over manual deletion or ad-hoc
openclaw.json edits - mention the backup directory after success
- after install or upgrade, remind the user to restart OpenClaw if
--restart-gateway was not used - do not manually edit unrelated plugin config while doing this work
- do not delete backup directories unless the user explicitly asks
User-Facing Examples
- - “升级一下 Bamdra memory 套件”
- “修复 openclaw plugins install 时的 plugin already exists”
- “安全卸载 bamdra-openclaw-memory 套件”
- “重新安装 bamdra 套件,但不要把 openclaw.json 弄坏”
Bamdra Memory Upgrade Operator
当用户想要安装、卸载、修复或升级Bamdra内存套件,且常规的 openclaw plugins install @bamdra/bamdra-openclaw-memory 流程被以下情况阻塞时,使用此技能:
- - plugin already exists(插件已存在)
- 因过时的 openclaw.json 导致的 plugin not found(插件未找到)错误
- 旧的捆绑技能阻止新技能文件被复制
- 部分安装导致 bamdra-openclaw-memory、bamdra-user-bind 和 bamdra-memory-vector 不同步
操作目标
安全执行Bamdra套件的生命周期操作,避免破坏 ~/.openclaw/openclaw.json。
捆绑脚本支持以下模式:
- - upgrade(升级):备份配置,清除过时的Bamdra引用,将旧的插件和技能目录移走,然后运行 openclaw plugins install
- install(安装):直接运行安装,无需先移动旧的插件目录
- uninstall(卸载):备份配置,从配置中移除Bamdra插件引用,并将Bamdra插件和技能目录移动到备份文件夹
默认命令
升级到最新发布的套件:
bash
node ./scripts/upgrade-bamdra-memory.cjs upgrade
安装特定发布版本:
bash
node ./scripts/upgrade-bamdra-memory.cjs upgrade --package @bamdra/bamdra-openclaw-memory@0.3.18
安全卸载套件:
bash
node ./scripts/upgrade-bamdra-memory.cjs uninstall
可选标志
- - --package :安装特定版本
- --openclaw-home :指定非默认的OpenClaw主目录
- --restart-gateway:安装成功后重启网关
行为规则
- - 优先使用脚本,而非手动删除或临时编辑 openclaw.json
- 成功操作后提示备份目录位置
- 安装或升级后,如果未使用 --restart-gateway,提醒用户重启OpenClaw
- 操作过程中不要手动编辑不相关的插件配置
- 除非用户明确要求,否则不要删除备份目录
用户示例
- - 升级一下 Bamdra memory 套件
- 修复 openclaw plugins install 时的 plugin already exists
- 安全卸载 bamdra-openclaw-memory 套件
- 重新安装 bamdra 套件,但不要把 openclaw.json 弄坏