bm-setup
БесплатноБез исполняемых скриптовНе проверенSet up the Basic Memory plugin for this project — a short guided interview that configures the project mapping, seeds note schemas, learns or suggests…
от basicmachines-co★ 4 799 звёзд на GitHubОб этом скилле
Basic Memory setup
Run a short, adaptive interview (~2-3 minutes) and then write the configuration.
Be conversational and skip questions whose answer is already obvious from
context (e.g. if bm_project_list() shows a single local project and no cloud
workspaces, don't ask about cloud/teams — just confirm). Suggest a sensible default
for every question so the user can accept with one word. Don't do any writes until
the interview is done and you've confirmed the plan.
Prerequisite check
First confirm the Basic Memory MCP server is connected — call
bm_project_list(). If that tool isn't available or errors, Basic Memory isn't
wired into Claude Code yet. Stop and walk the user through it first (everything
below depends on it):
- Install it:
uv tool install basic-memory --prerelease=allow(orpip install basic-memory), a version exposing the 1.0bm_*tools. Keep--prerelease=allowwith uv: published releases pin a FastMCP pre-release, and without the flag uv silently installs an older Basic Memory release. - Connect it:
claude mcp add basic-memory -- uvx --prerelease=allow basic-memory mcp, then restart the session so the MCP server loads.
Re-check bm_project_list() before continuing — don't start the interview until
it succeeds.
Interview
Ask only what you can't infer. Cover:
Focus / how you'll use it. "What will this project mostly be — code/dev, research, writing, knowledge capture, planning, or a mix?" This answer drives the folder structure you suggest (step 4) and is stored so the SessionStart brief can surface it. If you infer it instead of asking, state the use-case you assumed and the structure it implies so the user can correct it in one word.
A code/dev answer makes this a coding setup (
sessionProfile: "coding"): verify the directory is inside a Git repository, resolve a stablerepositoryidentifier such asowner/namefrom the origin remote or GitHub CLI, show it to the user, and ask for confirmation. Do not guess when the remote is missing or ambiguous, and do not infercodingmerely because the current directory is a Git checkout — for mixed use, ask whether this repository should capture Git and pull-request context. The coding profile seeds the Coding Session schema so deliberate checkpoints carry required, queryable Git identity (repository, branch, SHA, and working directory), plus typed pull-request fields when a PR exists.Project mapping. "Do you already have a Basic Memory project for this, or should I create one?"
- Existing → show
bm_project_list()and let them pick. That name becomesprimaryProject. - New → propose a name (default: this repo's directory name) and create it with
bm_project_create(name="<name>", path="<path>").- Local project (default): path defaults to
~/basic-memory/<name>/; any connected Basic Memory server can create it. - Cloud project (the user wants capture in a cloud workspace): pass the
workspaceselector (a slug frombm_project_list()) and a cloud-style path like/<name>, and create it with a cloud-connected MCP server. A purely local server (uvx --prerelease=allow basic-memory mcp) treats the path as a local directory and fails to create it (e.g. read-only/). When both a local and a cloud server are connected, route creation and the schema seeding through the cloud one, and pinprimaryProjectto the new project'sexternal_idUUID (collision-proof across workspaces).
- Local project (default): path defaults to
- Existing → show
Cloud / teams (skip if there are no extra workspaces). Run
bm_project_list(). If the user belongs to more than one workspace, they likely have a team workspace alongside their personal/default one. Usebm_project_list()to see the projects in each (note: project names collide across workspaces, so always use the workspace-qualified name, e.g.my-team-2/notes, or theexternal_idUUID — never a bare name).- Read from the team (recommended): ask which team projects to pull into the
session brief for recall. Store their qualified names in
secondaryProjects. These are read-only — recall reads across them; nothing is written to them. Cap: the SessionStart brief reads only the first 6 shared projects per session (a latency/output bound), in list order. If the user wants more than six, order the most relevant first and tell them the rest are configured but not read each session. - Share target (optional): if the user wants a place to publish notes to the
team via
/basic-memory:bm-share, add it toteamProjectsas"<qualified-name>": { "promoteFolder": "shared" }. Sharing is always a manual gesture — auto-capture never writes to a team project.
Keep
primaryProjecta project the user owns for their own capture; team projects are for reading- Read from the team (recommended): ask which team projects to pull into the
session brief for recall. Store their qualified names in
Установить bm-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bm-setup?
Set up the Basic Memory plugin for this project — a short guided interview that configures the project mapping, seeds note schemas, learns or suggests placement conventions, and enables capture reflexes. Use when the user runs /basic-memory:bm-setup, says "set up basic memory", or asks to configure/bootstrap the plugin.
Как установить скилл bm-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bm-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic