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.md
source 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
  • plugin not found
    errors from stale
    openclaw.json
  • 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
    openclaw plugins install
  • install
    : run install without first moving old plugin directories
  • uninstall
    : 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:

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

  • --package <npm-spec>
    to install a specific version
  • --openclaw-home <path>
    to target a non-default OpenClaw home
  • --restart-gateway
    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 弄坏”