basic-memory-pi-setup
Set up Basic Memory for a Pi workspace. Use when Basic Memory is not configured, /bm-status shows no project, recall returns…
Promote a note from your personal Basic Memory project to a shared team project, with attribution. Use when the user says "share this with the team", "publish this decision", or runs /basic-memory:bm-share. This is the deliberate way to write to a team workspace — auto-capture
Claude Code
$ npx -y skills add basicmachines-co/basic-memory --skill bm-share --agent claude-code
Codex
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a codex -y
Cursor
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a cursor -y
Gemini CLI
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a gemini-cli -y
GitHub Copilot
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a github-copilot -y
OpenCode
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a opencode -y
Windsurf
$ npx skills add basicmachines-co/basic-memory --skill bm-share -a windsurf -y
name: bm-share description: Promote a note from your personal Basic Memory project to a shared team project, with attribution. Use when the user says "share this with the team", "publish this decision", or runs /basic-memory:bm-share. This is the deliberate way to write to a team workspace — auto-capture never does. argument-hint: <note title or permalink to share>
Copy a note from the personal/primary project into a configured **team project** so teammates can see it. This is the *only* path by which the plugin writes to a shared project — session checkpoints and `/basic-memory:bm-remember` always stay personal.
1. **Resolve config.** Read the `basicMemory` block with the hooks' precedence. For the user-level base, append `settings.json` to the literal value of `CLAUDE_CONFIG_DIR` when that environment variable is present; do not trim it, expand `~`, or treat an empty value as unset. Use `~/.claude/settings.json` only when the variable is absent. Then the project's `.claude/settings.json` and `.claude/settings.local.json` override per key:
These are the allowed share targets. `<project-ref>` is a workspace-qualified name (e.g. `my-team-2/notes`) or an `external_id` UUID.
If `teamProjects` is empty, tell the user there's no share target configured and suggest adding one (or running `/basic-memory:bm-setup`), then stop. Don't invent a target.
2. **Find the source note.** From `$ARGUMENTS` (a title, permalink, or `memory://` URL), `bm_read` it from `primaryProject`. If `$ARGUMENTS` is empty (you were invoked from "share this"), use the note most clearly referenced in the conversation — confirm which one if there's any ambiguity. Capture its title, full content (including frontmatter), and source permalink.
3. **Pick the target.** If `teamProjects` has one entry, use it. If several, ask which team project to share to. Use that entry's `promoteFolder` (default `shared`).
4. **Confirm before writing.** This write is visible to teammates, so show the user what you're about to do — *"Share '<title>' to <target>/<promoteFolder>?"* — and wait for a yes. Never share silently.
5. **Write the shared copy** with `bm_write`:
name or its `external_id` UUID.
(so a shared decision stays `type: decision` and is findable in the team's structured recall), add a `shared_from: <source permalink>` frontmatter field, and add an observation `- [context] Shared from <source permalink>`. Don't overwrite an existing note at the target unless the user says so.
6. **Confirm** in one line: what was shared and the new team permalink, e.g. `Shared → my-team-2/shared/<slug>`.
don't propagate to the other.
want teammates to see — if in doubt, ask.
the `project` argument (qualified name or UUID).
AI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Set up Basic Memory for a Pi workspace. Use when Basic Memory is not configured, /bm-status shows no project, recall returns…
Use Basic Memory from Pi for durable continuity. Capture checkpoints with bm_capture, recall prior Pi checkpoints with bm_recall,…
Guide Basic Memory setup in Tau. Use when a user wants to install or configure the Tau memory extension, choose a memory…
Save a deliberate work checkpoint to Basic Memory with the story, changed files, verification, decisions, blockers, and the next…
Capture a durable engineering decision in Basic Memory with rationale, alternatives, consequences, and affected work. Use when…
Orient Claude from Basic Memory before substantial repo work by reading active tasks, open decisions, recent checkpoints, and…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…