/basemind:bm-statuslinefrom basemind
One-time setup that wires the basemind status line into Claude Code user settings and confirms it renders.
Ships in basemind. Installing the plugin adds it to Claude Code.
Wire the basemind status line into the user's global Claude Code settings, then confirm it renders.
Run this once per machine to enable the basemind status line in Claude Code. Re-run only if the bar goes blank after an unusual settings edit.
Invoke /bm-statusline. Use your tools to do this directly — do not ask the user to hand-edit
any files.
Confirm the plugin is installed. Check that at least one of these exists:
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/statusline.sh (if that var is set)~/.claude/plugins/marketplaces/basemind/.claude-plugin/statusline.sh~/.claude/plugins/cache/basemind/basemind/*/.claude-plugin/statusline.shIf none exists, tell the user the basemind plugin isn't installed and stop.
Update ~/.claude/settings.json (treat a missing file as {}). Set its
statusLine key to this version-independent resolver — do NOT hardcode a
version-pinned path, which breaks on the next basemind update when the old
version dir is pruned:
{ "type": "command",
"command": "bash -c 's=$(ls -d \"$HOME\"/.claude/plugins/cache/basemind/basemind/*/.claude-plugin/statusline.sh 2>/dev/null | sort -V | tail -1); [ -f \"$s\" ] || s=\"$HOME/.claude/plugins/marketplaces/basemind/.claude-plugin/statusline.sh\"; [ -f \"$s\" ] && exec bash \"$s\" || printf \"%s\" \"◆ basemind: run /bm-statusline\"'",
"refreshInterval": 5 }
How it resolves, in order: the highest-versioned cached copy (sort -V, not
mtime — an older dir touched more recently must never win; this also makes the bar
track the newest version the moment /plugin update installs it), else the
marketplace clone, else a one-line hint so the bar is never blank. It re-resolves
at every render, so version bumps never break it and script improvements land
automatically. Copy the command string
verbatim (it self-resolves — $HOME is expanded by the bash -c it runs
under, not the settings field). Preserve every other key and verify the file is
still valid JSON afterward.
Confirm it renders by running the resolver once:
printf '{"workspace":{"current_dir":"%s"}}' "$PWD" | bash -c 's=$(ls -d "$HOME"/.claude/plugins/cache/basemind/basemind/*/.claude-plugin/statusline.sh 2>/dev/null | sort -V | tail -1); [ -f "$s" ] || s="$HOME/.claude/plugins/marketplaces/basemind/.claude-plugin/statusline.sh"; [ -f "$s" ] && exec bash "$s" || printf "%s" "◆ basemind: run /bm-statusline"'
Tell the user it's enabled, and that any other running sessions need a relaunch to pick it up.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
6 commands in this plugin
/bmAsk basemind anything about the current codebase — outlines, refs, callers, git history, blame, diffs, docs, memory./bm-doctorDiagnose and recover basemind when it isn't working (MCP tools missing/erroring, "no index", dead server) — runs CLI checks and gives the client-specific way to reconnect the server./bm-initOnboard (or refresh) basemind in this repo — write basemind.toml and inject a "prefer basemind over grep/read/git" rules block into a rules file you choose (CLAUDE.local.md / AGENTS.local.md / CLAUDE.md / AGENTS.md / ai-rulez).npx claudepluginhub jamon8888/basemind --plugin basemindOther plugins' commands for the same job