basic-memory-pi-setup
Set up Basic Memory for a Pi workspace. Use when Basic Memory is not configured, /bm-status…
Write Basic Memory notes that render as charts, tables, boards, and live views with `::bm-*` Comark components. Use when a note reads better as a figure or board, or already has `::bm-*` directives.
$ npx -y skills add basicmachines-co/basic-memory --skill memory-comark --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memory-comarkContext preview
The summary Claude sees to decide when to auto-load this skill.
Write Basic Memory notes that render as charts, tables, boards, and live views with `::bm-*` Comark components. Use when a note reads better as a figure or board, or already has `::bm-*` directives.
name: memory-comark description: "Write Basic Memory notes that render as charts, tables, boards, and live views with `::bm-*` Comark components. Use when a note reads better as a figure or board, or already has `::bm-*` directives."
Basic Memory notes can carry small, safe components written as Comark block directives (`::bm-bars{...}` … `::`). Basic Memory Cloud draws them in Notes, the Wiki, and shared pages. Everywhere else (a local editor, GitHub, an agent's raw read) the same Markdown still reads as an ordinary list, table, or paragraph, so a component never hides content.
Use a component when its shape says more than a sentence or a list would. Keep prose primary: one figure per idea, at most two per section, with a sentence between them that says what the figure shows.
The full vocabulary, every prop, and every data grammar are in [references/components.md](references/components.md). Read it before using a component you have not used before.
Most notes need only these. The reference has the rest (39 in total).
| You want to show | Use | | --- | --- | | One or a few headline numbers | `bm-stat` | | A comparison of a few values | `bm-bars` | | A short ranked list | `bm-rank` | | A small data table | `bm-table` | | Progress toward a whole | `bm-meter` | | A trend without axes | `bm-spark` | | Steps that drop off | `bm-funnel` | | A task list | `bm-check` | | Work in lanes (now, next, later) | `bm-kanban` | | Events in order | `bm-timeline` | | A framed claim or summary | `bm-frame` | | A short path (`a → b → c`) | `bm-flow` | | A real graph, sequence, or state machine | a fenced ```mermaid block (not a component) |
If nothing fits, write prose or a plain Markdown table. Never invent a component: an unknown name such as `::bm-pie` is not drawn and shows as raw text.
Every component opens with `::bm-name{attributes}` on its own line and closes with `::` on its own line.
The queue rewrite more than doubled steady-state throughput.
::bm-bars{title="Throughput" caption="Before and after the queue rewrite"}
- Before: 42/s
- **After: 96/s**
::Rules that matter:
rows, a table for grids. **Bold** marks the current or chosen row, *italic* recedes, ` — note` adds a side note.
escape. Inside a `query`, quote phrases with single quotes: `query="search 'queue rewrite'"`.
`bm-kanban`; people can tick boxes from the rendered note.
component in a code fence (a fenced block stays literal code).
in a warning frame with the original source and registered props; it is never silently dropped.
A checklist and a board:
::bm-check{title="Launch"}
- [x] Freeze the schema
- [ ] Write the migration note — due Friday
::
::bm-kanban{title="Roadmap"}
### Now
- **Billing page**
- [ ] Usage emails
### Next
- *Partner portal*
::A component with a `query` attribute shows current data from the project it lives in. Prefer a live view to a hand-copied number when the note describes its own knowledge base, because copied counts go stale.
::bm-stat{label="Open decisions" query="notes | where type == decision and status == open | count"}
::
::bm-bars{title="Open decisions by owner" query="notes | where type == decision and status != done | group owner | sort count desc"}
::
::bm-table{title="Due soon" query="notes | where tags contains infra and due < 2026-10-15 | fields title, owner, due | sort due"}
::
::bm-timeline{title="Recent edits" query="activity 7d"}
::
::bm-rank{title="Related notes" query="search 'checksum conflict' | limit 5"}
::A pipeline reads left to right: a source (`notes`, `search 'phrase'`, `activity 7d|30d`), then optional stages in order: `where`, `group`, `count` or `sum field`, `fields`, `sort`, `limit` (1–50). The reference lists every operator and which components accept which shapes.
Shapes that work:
or `sum field`, or use a `search` source.
not a single `count`.
`bm-activity` takes `activity 30d | daily`.
Semantics to state honestly in the surrounding prose:
ranked and bounded; call them matches, never "all".
a `none` group.
as numbers and ignore everything else.
In Basic Memory Cloud, `read_note(view="text")` returns the note as a reader sees it: every component as plain Markdown, with live queries run now. Read it back after writing a live view and confirm the view has rows before you state a number in prose. A query over a field no note has renders an empty view.
Elsewhere, only the browser runs the query, so run the equivalent read yourself (for example `search_notes` with metadata filters; see the memory-metadata-search skill).
A live chart's body is its **snapshot**: the rows readers see when live data cannot load. A new live view can leave the body empty; people fill it with **Freeze snapshot** in the editor. If you add snapshot rows yourself, label them as a snapshot in prose and keep them in the chart's row grammar.
AI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Repo: basicmachines-co/basic-memory
Set up Basic Memory for a Pi workspace. Use when Basic Memory is not configured, /bm-status…
Use Basic Memory from Pi for durable continuity. Capture checkpoints with bm_capture, recall…
Guide Basic Memory setup in Tau. Use when a user wants to install or configure the Tau memory…
Save a deliberate work checkpoint to Basic Memory with the story, changed files,…
Capture a durable engineering decision in Basic Memory with rationale, alternatives,…
Orient Claude from Basic Memory before substantial repo work by reading active tasks, open…