/memory-bank:bootstrap-memory-bankfrom memory-bank
Use when setting up the memory-bank plugin on a machine, when the GCP reasoning engine needs to be created, or when load_context.py returns no memories and you suspect the engine ID is wrong. Verifies ADC, creates or confirms the reasoning engine, writes the engine ID back to the manifest, and confirms context loads.
Ships in memory-bank. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Provisioning is a script, not a procedure you run by hand. bootstrap.py is
idempotent — it verifies the engine before creating one, so a re-run on a
healthy machine reports OK/SKIPPED rather than making a second engine. It is
non-interactive and safe to run headless; the one yes/no decision (importing
existing Claude Code memories) is a flag this skill sets after asking.
Step 1 — locate the script. The path differs per runtime:
ls -d ~/.claude/scripts/memory-bank/bootstrap.py \
~/.gemini/config/plugins/memory-bank/scripts/bootstrap.py \
~/.claude/plugins/cache/*/memory-bank/*/scripts/bootstrap.py 2>/dev/null
Step 2 — run the first match in this precedence order, which is not the
order ls prints (it sorts):
~/.claude/scripts/memory-bank/bootstrap.py — the version-free symlink
install-symlinks.sh maintains for Claude Code.~/.gemini/config/plugins/memory-bank/scripts/bootstrap.py — where
Antigravity installs the plugin.~/.claude/plugins/cache/ — last resort if the symlink was
never created; prefer the highest version number.First ask whether to import existing memories:
"Do you want to import your existing Claude Code memory files (
~/.claude/memory/*.md) into the GCP Memory Bank?"
Then run the path you chose, adding --import-cc only if they said yes:
python3 <the path you chose> # setup only
python3 <the path you chose> --import-cc # setup, then import ~/.claude/memory
If step 1 printed nothing, stop and report that the memory-bank plugin does not appear to be installed.
Two constraints worth knowing before you "simplify" this: $CLAUDE_PLUGIN_ROOT
is set for hooks only and is empty in a command you run — the script resolves
its own plugin root from __file__, so it does not need it — and a one-liner
using $(…) command substitution gets auto-denied in a headless Antigravity
session, so keep the lookup and the call as two plain commands.
The script prints one line per step and exits 0 when the Memory Bank is ready.
SKIPPED line is normal: Step 5 skips when
no import was requested, and Step 6 skips off Claude Code (Antigravity reaches
the scripts at their install path and needs no ~/.claude symlinks).✗ FAILED line
says which step and what to do. Relay it, apply the fix if it is yours, then
re-run.The failures that need the user:
✗ FAILED mentions | What the user must do |
|---|---|
gcloud is not installed | Install the Google Cloud SDK |
no application-default credentials | Run gcloud auth application-default login |
config.project and config.location must be set | Fill those into the manifest, or export GCP_PROJECT / GCP_LOCATION |
When Step 3 creates an engine, the new ID is written back to the manifest
automatically (a json.dump, not a hand edit) — you do not need to edit
plugin.json yourself.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mlarkin00/plugins --plugin memory-bank8 skills in this plugin
/memories-addAdd a new explicit memory fact to the GCP Reasoning Engine Memory Bank. Use when the user wants to manually add a specific fact, preference, or instruction that should persist across sessions./memories-curateCurate all GCP Memory Bank memories for the current user by invoking the deployed memory-minion agent — deduplicates, rewrites facts for agent-readability, and maintains display names. A summary is reported./memories-deleteDelete a specific memory by ID from the GCP Memory Bank. Use when the user explicitly asks to remove a memory. Always confirm the ID by listing first if uncertain./memories-listList memories stored in the GCP Reasoning Engine Memory Bank. Use when the user wants to see what's in their memory bank, filter by scope, or look up a memory ID before updating or deleting./memories-set-project-scopeRe-scope an existing global memory to the current project in the GCP Memory Bank. Use when a memory that was saved globally should be narrowed to only apply to the current workspace./memories-updateUpdate the fact content of an existing memory in the GCP Memory Bank by ID. Use when the user wants to correct or refine an existing memory. Usually preceded by a memories-list to find the ID.