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…
Resume prior work by rebuilding context from the Basic Memory graph via memory:// URLs, recent activity, and search. Use at session start or on 'continue with...', 'back to...', 'where were we?'
Claude Code
$ npx -y skills add basicmachines-co/basic-memory --skill memory-continue --agent claude-code
Codex
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a codex -y
Cursor
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a cursor -y
Gemini CLI
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a gemini-cli -y
GitHub Copilot
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a github-copilot -y
OpenCode
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a opencode -y
Windsurf
$ npx skills add basicmachines-co/basic-memory --skill memory-continue -a windsurf -y
name: memory-continue description: "Resume prior work by rebuilding context from the Basic Memory graph via memory:// URLs, recent activity, and search. Use at session start or on 'continue with...', 'back to...', 'where were we?'"
Resume previous work by reconstructing context from the Basic Memory knowledge graph, so the assistant can pick up across sessions instead of starting cold.
If the project is unknown, discover it with `bm_project_list()`. Pass a nonempty `project` on every note, folder, context and schema call, even with one project or a qualified `memory://` URL. Use the chosen project's name, `workspace/project`, or external ID; `<project>` below is a placeholder for it. Recent activity also requires `project`. Search accepts `project` for one project, `projects` for selected projects, or `all_projects=True` explicitly. Discovery and bundled manuals need no project. Keep the same scope when following returned paths, paginating, or recovering from a refusal.
If it's unclear, ask:
**Known topic — use `bm_context`.** Navigate the graph from a starting point, following relations outward:
bm_context(
identifier="memory://topic-or-note-name",
depth=2, # how many relation hops to follow
since="7d", # only include changes in this window
project="<project>",
)**No clear starting point — use `bm_recent(project="<project>")`.** See what's changed and let it surface the thread:
bm_recent(since="3d", project="<project>")
**Looking for something specific — use `bm_search`.** Find candidate notes by keyword:
bm_search(query="async client refactor", page_size=10, project="<project>")
Once you've identified the relevant notes, read them in full:
bm_read(identifier="note-title-or-permalink", project="<project>")
For long notes, pick before you pay for bodies. `compact=True` drops bodies from search results (and observations from `bm_context`), and a line range or a section reads only the part you need:
bm_search(query="async client refactor", compact=True, project="<project>") bm_read(identifier="note-title-or-permalink", start_line=120, end_line=180, project="<project>") bm_read(identifier="note-title-or-permalink", section="Status", project="<project>")
Summarize what you found, incrementally:
`bm_context` and `bm_read` both accept `memory://` URLs. `bm_read` resolves one exact note; use `bm_context` for wildcard patterns that gather groups of notes.
memory://note-title # a single note by permalink memory://folder/* # all notes in a folder memory://specs/SPEC-24* # pattern / prefix match memory://project/*/requirements # path wildcards
Use a specific note URL to anchor on one starting point; use a wildcard to pull in a whole folder or family of related notes at once.
`bm_context` and `bm_recent(project="<project>")` accept natural-language timeframes:
| Timeframe | Meaning | |-----------|---------| | `"today"` | Current day | | `"yesterday"` | Previous day | | `"3d"` or `"3 days"` | Last 3 days | | `"1 week"` or `"7d"` | Last week | | `"2 weeks"` | Last 2 weeks | | `"1 month"` | Last month |
# 1. Read the spec / project note bm_read(identifier="SPEC-24: Postgres Database Migration", project="<project>") # 2. Pull in related context and recent changes via the graph bm_context(identifier="memory://SPEC-24*", since="7d", project="<project>")
Then summarize: the goals, what's completed, what's pending, and any blockers or open decisions.
# 1. Check recent activity bm_recent(since="3d", project="<project>") # 2. Read notes from the recent sessions it surfaces bm_read(identifier="relevant-note", project="<project>")
Then list the modified notes with brief descriptions and ask which thread to dive into.
# 1. Find the topic bm_search(query="topic keywords", project="<project>") # 2. Build context from the best match, following its relations bm_context(identifier="memory://found-note-permalink", depth=2, project="<project>")
Then present the full picture — the note plus its connected context.
Project names are user-specific. To discover what's available before scoping a search or `memory://` URL:
bm_project_list()
A qualified `memory://` URL (e.g. `memory://research/papers/crdt`) must agree with `project`; the prefix does not replace that required parameter.
For an explicitly broader search, use one of these scopes instead:
bm_search(query="topic keywords", projects=["research", "team/engineering"]) bm_search(query="topic keywords", all_projects=True)
1. **Start broad, then narrow.** Get an overview with `bm_recent(project="<project>")` or a wildcard `bm_context`, then drill into specific notes. 2. **Present incrementally.** Share what you find as you go rather than holding everything until the end. 3. **Follow relations.** The graph's connections are the point — `bm_context` with `depth` surfaces cont
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…