Skills bamdra-memory-upgrade-operator
Safely install, uninstall, reinstall, or upgrade the Bamdra OpenClaw memory suite when stale config, existing plugin directories, or partial installs break normal `openclaw plugins install` flows.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bamdra/bamdra-memory-upgrade-operator" ~/.claude/skills/clawdbot-skills-bamdra-memory-upgrade-operator && rm -rf "$T"
manifest:
skills/bamdra/bamdra-memory-upgrade-operator/SKILL.mdsource content
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:
plugin already exists
errors from staleplugin not foundopenclaw.json- old bundled skills preventing new skill files from being copied
- partial installs where
,bamdra-openclaw-memory
, andbamdra-user-bind
are out of syncbamdra-memory-vector
Operating Goal
Perform a safe Bamdra suite lifecycle operation without leaving
~/.openclaw/openclaw.json broken.
The bundled script supports these modes:
: backup config, clear stale Bamdra references, move old plugin and skill directories aside, then runupgradeopenclaw plugins install
: run install without first moving old plugin directoriesinstall
: backup config, remove Bamdra plugin references from config, and move Bamdra plugin and skill directories into a backup folderuninstall
Default Commands
Upgrade to the latest published suite:
node ./scripts/upgrade-bamdra-memory.cjs upgrade
Install a specific published version:
node ./scripts/upgrade-bamdra-memory.cjs upgrade --package @bamdra/bamdra-openclaw-memory@0.3.18
Uninstall the suite safely:
node ./scripts/upgrade-bamdra-memory.cjs uninstall
Optional Flags
to install a specific version--package <npm-spec>
to target a non-default OpenClaw home--openclaw-home <path>
to restart the gateway after a successful install--restart-gateway
Behavior Rules
- prefer the script over manual deletion or ad-hoc
editsopenclaw.json - mention the backup directory after success
- after install or upgrade, remind the user to restart OpenClaw if
was not used--restart-gateway - 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 弄坏”