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…
Orient Claude from Basic Memory before substantial repo work by reading active tasks, open decisions, recent checkpoints, and repo conventions. Use when resuming old work or when the user asks where things stand.
Claude Code
$ npx -y skills add basicmachines-co/basic-memory --skill bm-orient --agent claude-code
Codex
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a codex -y
Cursor
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a cursor -y
Gemini CLI
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a gemini-cli -y
GitHub Copilot
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a github-copilot -y
OpenCode
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a opencode -y
Windsurf
$ npx skills add basicmachines-co/basic-memory --skill bm-orient -a windsurf -y
name: bm-orient description: Orient Claude from Basic Memory before substantial repo work by reading active tasks, open decisions, recent checkpoints, and repo conventions. Use when resuming old work or when the user asks where things stand. argument-hint: (no arguments — reads the graph and summarizes)
Use this before substantial work in a repo, before resuming an old thread, or when the user asks where things stand. The SessionStart hook already briefs the start of a session; this is the deliberate mid-session version with deeper reads.
1. 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. Use `primaryProject`, `secondaryProjects`, `recallTimeframe`, `sessionProfile`, `repository`, and `placementConventions`. If no config is present, continue against the default Basic Memory project and mention that setup has not been run. Scope queries to `primaryProject` by passing it as `project`, including when it is an `external_id` UUID.
2. Query the primary project with `bm_search`:
`since=<recallTimeframe>`
"repository": "<configured repository>"}`, with `since=<recallTimeframe>`, when `sessionProfile` is `coding`
Always query `"type": "session"`; include `"type": "coding_session"` for a coding profile only with the configured `repository` metadata filter. Never run an unscoped coding-session query; if the repository is missing, report that setup is incomplete. Merge and deduplicate the results, sort them newest first, and prefer the highest-signal checkpoint regardless of which producer wrote it. `coding_session` carries schema-required, queryable Git context; `session` covers general checkpoints and PreCompact captures. Do not query lifecycle trace: `bm hook flush` archives it locally rather than promoting it into the graph.
3. Query configured `secondaryProjects` read-only for open decisions. Do not write to shared projects during orientation.
4. Read the highest-signal hits before summarizing. Prefer notes that match the current repository, branch, Git SHA, pull request, named route, issue, or file path. For coding sessions, use structured metadata filters before text search.
5. Present a compact orientation:
Keep the summary evidence-backed. Include permalinks for notes you rely on.
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…
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…