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…
Save a deliberate work checkpoint to Basic Memory with the story, changed files, verification, decisions, blockers, and the next action. Use when the user asks to checkpoint, wrap up, hand off, or remember the state of the work.
Claude Code
$ npx -y skills add basicmachines-co/basic-memory --skill bm-checkpoint --agent claude-code
Codex
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a codex -y
Cursor
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a cursor -y
Gemini CLI
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a gemini-cli -y
GitHub Copilot
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a github-copilot -y
OpenCode
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a opencode -y
Windsurf
$ npx skills add basicmachines-co/basic-memory --skill bm-checkpoint -a windsurf -y
name: bm-checkpoint description: Save a deliberate work checkpoint to Basic Memory with the story, changed files, verification, decisions, blockers, and the next action. Use when the user asks to checkpoint, wrap up, hand off, or remember the state of the work. argument-hint: (optional short topic for the checkpoint title)
Create a durable handoff note for the current work. Use this when the user asks to checkpoint, wrap up, hand off, remember the state of the work, or before a long context transition. This is the deliberate, high-signal counterpart to the automatic PreCompact checkpoint.
When no project is pinned, discover projects with `bm_project_list()` and pass the selected project's external ID as `project` on note/search calls. With several addressable projects, these calls require an explicit scope even when a default is configured.
Resolve config: read the `basicMemory` block with the same precedence the hooks use. 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 it per key:
Apply the `bm-writing` skill before drafting the note.
Gather evidence:
Do not claim a test passed unless you ran it or the user supplied the result.
A checkpoint is a durable handoff, not a status dump or commit-by-commit changelog. Tell the story for a human or agent returning later.
Write the note with `bm_write`, routed to `primaryProject` (pass it as `project`, which accepts a name, workspace-qualified name, or `external_id` UUID). For the `general` profile:
New notes use `agent` and `session_id`, not `claude_session_id`. Existing notes with the legacy field remain valid; do not rewrite them. Session identity is the pair of agent and session ID, never a bare ID shared across hosts.
For the `coding` profile, write `note_type: coding_session` (frontmatter `type: coding_session`) and use the same common frontmatter plus these schema-required fields:
When the current branch has a pull request, also add the typed optional fields `pull_request_number`, `pull_request_title`, `pull_request_url`, lowercase `pull_request_state`, `pull_request_base`, and `pull_request_head`. Resolve the pull request with a read-only GitHub query (e.g. `gh pr view --json ...`); omit those fields when no PR exists. Write the number as a quoted string, for example `pull_request_number: "123"`, so exact metadata queries behave consistently across storage backends. Never infer or copy repository/PR identity only from conversation text. Stop if the required coding fields cannot be proven.
Begin the body with `# <exact note title>`.
Use these sections, omitting optional ones that add no value:
need — the constraint discovered, the boundary made explicit, the shortcut to avoid
Use observations to distill durable facts for structured recall rather than duplicating every narrative sentence:
project memory, not merely supporting detail
Do not create separate Decisions, Blockers, or Next Action sections with plain bullets. Omit empty categories instead of writing placeholder text such as "None."
Relations are not observations. Put them under `## Relations` using Basic Memory relation syntax, for example `- relates_to [[Exact existing note title]]`. Never write `[
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…
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…
Quickly capture a thought, fact, or reminder into Basic Memory as a lightweight note. Use when the user says "remember that…",…
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…