Agent skill

Basic Memory Onboarding

by basicmachines-co in basicmachines-co/basic-memory

Guides a newcomer to Basic Memory through designing a personal knowledge system, then teaches its use and sets up their assistant to load it each session.

AGPL-3.0Auto-check passedKnowledge Management

Install Basic Memory Onboarding

skills CLI
$ npx skills add basicmachines-co/basic-memory --skill memory-onboarding -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install basicmachines-co/basic-memory memory-onboarding --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memory-onboarding .claude/skills/memory-onboarding && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memory-onboarding
GitHub stars
4.1k
Token cost
~3.4k tokens
SKILL.md length
1,812 words
Files
6 (incl. references)
Skills in repo
49
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Guides a newcomer to Basic Memory through designing a personal knowledge system, then teaches its use and sets up their assistant to load it each session.

  • Works in 7 steps: Preflight → Interview → Blueprint → …
  • Starting out with Basic Memory and needing help to structure a project
  • SKILL.md covers Why this approach, Speak Plainly — the User…, Workflow overview and Phase 0 — Preflight, plus 8 more sections
  • Reaches docs.basicmemory.com

What it does

The agent interviews the person, proposes a structure, builds it with schemas and instruction notes, teaches them to use it and wires it into their assistant. Basic Memory turns markdown files into a knowledge graph, and the skill installs four things from the start: schemas that keep each note type consistent, observations and relations that make notes queryable, instruction notes that hold the system's rules and load at session start, and a small startup router note.

Two parts are never optional: every note type gets a schema and every note carries an Observations section with at least one categorized fact. When a design is scaled down, folders, indexes and required fields are cut instead. The agent speaks plainly and explains terms like schema only when they matter. It works with any LLM or assistant platform, and references cover assistant setup, conventions, domain playbooks and schema design, with an evals file bundled.

When your agent uses it

  • Starting out with Basic Memory and needing help to structure a project
  • Turning an empty or messy project into folders, schemas and conventions
  • Getting an assistant to remember context between sessions

Example prompts

  • “I just installed Basic Memory; help me set up a knowledge system for my freelance clients.”
  • “My Basic Memory project is a pile of loose notes. Propose a structure and migrate it.”
  • “Set up my assistant so it loads my Basic Memory rules at the start of every session.”

Requirements

  • A Basic Memory project that the assistant can read and write

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Preflight
  2. Interview
  3. Blueprint
  4. Build
  5. Assistant setup
  6. Teach
  7. Grow

What it can do on your machine

Read from SKILL.md and the folder at commit 6982cfc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.basicmemory.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Basic Memory Onboarding loads about 3.4k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 130 tokens; SKILL.md has 1,812 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~130
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~12k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from basicmachines-co/basic-memory at commit 6982cfc, republished under its AGPL-3.0 licence (© basicmachines-co). 1,812 words, ~3,440 tokens.

Download SKILL.mdSave it as .claude/skills/memory-onboarding/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
memory-onboarding
description
Guide someone new to Basic Memory through designing and building a personal knowledge system: interview them, propose a structure, build it with schemas and instruction notes, teach them to use it, and set up their assistant to load it every session. Use when a user is new to Basic Memory or wants help getting started, asks how to structure a project (folders, schemas, conventions), has an empty or messy project that needs structure, or wants their assistant to remember context between sessions.

Basic Memory Onboarding

You are guiding a person who is new to Basic Memory through building a knowledge system that fits their life — then teaching them to use it and wiring it into their AI assistant so every future session starts already knowing the rules.

This skill works with any LLM or assistant platform. Where platform-specific setup is needed (system prompts, project instructions), identify what YOUR environment supports and adapt the generic patterns in references/assistant-setup.md.

Why this approach

Basic Memory is markdown files parsed into a knowledge graph. A pile of unstructured notes is barely better than a folder of text files. The compounding value comes from four things this skill installs from day one:

  1. Schemas — note types with defined fields, so every task/contact/expense note looks the same and can be queried structurally.
  2. Observations and relations — categorized facts (- [status] active) and typed links (- depends_on [[Other Note]]) that turn prose into a graph.
  3. Instruction notes — the rules of the system live inside the system, as notes the assistant loads at session start. The knowledge base becomes self-describing.
  4. A startup router — one small note that tells any assistant, on any platform, exactly what to load for each kind of task.

Two of these are never optional, at any scale: every note type in the blueprint gets a schema, and every note written carries an Observations section with at least one [category] fact. When you scale a design down for light use, cut folders, indexes, and required fields — never the schema itself, never observations. A one-field schema and a one-line observation cost seconds; retrofitting structure onto hundreds of unstructured notes later is the failure mode this skill exists to prevent.

Speak Plainly — the User Doesn't Know the Jargon

The person you're onboarding has likely never heard the words "schema", "observation", "frontmatter", or "knowledge graph" — and they never need to learn them to benefit from any of them. The structure is for you; the conversation is for them.

  • Introduce each concept in plain words at the moment it becomes relevant: a schema is "a template that keeps every note of the same kind consistent, so I can reliably answer things like 'what's overdue?'"; observations are "the key facts on a note, tagged so they're easy to find later"; relations are "links between notes, so one thing leads to the next".
  • The user never writes syntax. You handle the [category] lines, wiki-links, and validation under the covers — they just talk. Say this explicitly; it's reassuring.
  • One concept at a time, and only when it earns its place. If you catch yourself defining three terms in one breath, stop explaining and build something with their data instead — the example teaches better than the definition.

Workflow overview

Phase 0  Preflight        — verify tools, pick/create project, assess existing content
Phase 1  Interview        — what do they want to track? (suggest if they don't know)
Phase 2  Blueprint        — propose full structure; iterate until approved
Phase 3  Build            — schemas → templates → instruction notes → indexes → seed notes
Phase 4  Assistant setup  — persistent instructions that load the router every session
Phase 5  Teach            — hands-on exercises with their real data
Phase 6  Grow             — suggest expansions and a maintenance cadence

Do not skip the approval gate between Phase 2 and Phase 3. Building the wrong structure is worse than building nothing — the user will have to unlearn it.

Phase 0 — Preflight

Before asking the user anything:

  1. Confirm Basic Memory tools are available (write_note, read_note, search_notes, list_directory, and ideally schema_infer/schema_validate). If they aren't, stop and help the user connect Basic Memory first.
  2. List their projects (list_memory_projects). Ask which project to build in, or whether to create a fresh one. Every subsequent call must pass this project explicitly — mixed-project writes are one of the most common and painful setup errors.
  3. Check for existing content (list_directory at root, depth 2). Three situations:
    • Empty — greenfield, proceed normally.
    • A few scattered notes — proceed, and plan to fold existing notes into the new structure during Phase 3.
    • Substantial existing content — this is a restructure, not an onboarding. Still use this skill, but Phase 1 becomes "what's working and what isn't", and Phase 2 must map old → new locations before anything moves.
  4. Check the live docs when unsure. Basic Memory's documentation is agent-readable: fetch https://docs.basicmemory.com/llms.txt for an index, and any page as clean markdown via its raw/....md URL (e.g. raw/reference/mcp-tools-reference.md, raw/concepts/schema-system.md). Tool names and parameters evolve — when this skill and the docs disagree, the docs are canonical.

Phase 1 — Interview

Ask one question at a time, conversationally. Never present a wall of questions. What you need to learn:

  1. Domains — what do they want to keep track of? If they have ideas, dig into each: what specifically, how often, what does "done" look like?
  2. If they have no idea, offer a concrete menu and ask what resonates (multi-select). Good starting domains, roughly in order of broad appeal:
    • Tasks & projects — todos, deadlines, multi-step projects
    • Notes & journal — daily notes, ideas, things learned
    • People & contacts — who they know, context per person, follow-ups
    • Research — topics they're digging into, sources, findings
    • Finances — subscriptions, expenses, accounts, renewals
    • Procedures — how-tos they keep re-figuring-out (home, work, tech)
    • Health & habits — workouts, symptoms, routines
    • Assets — home inventory, devices, warranties, serial numbers For each domain they pick, references/domain-playbooks.md has a starter kit: folders, a schema, naming conventions, and an example note. Read it before proposing the blueprint.
  3. Volume and cadence — a system for 5 notes a week looks different from one for 50. Light use → fewer folders, fewer required fields.
  4. One real example per domain — "tell me about a task on your plate right now" / "one subscription you pay for". These become the seed notes in Phase 3 and make every later phase concrete instead of hypothetical.
  5. What they've tried before — if a previous system failed, find out why. Design against that failure.

Start with 2–3 domains even if they're excited about six. A small system that works grows; a sprawling empty scaffold dies. Note the deferred domains for Phase 6.

Phase 2 — Blueprint

Read references/conventions.md and references/schema-guide.md now if you haven't. Then present ONE document (in chat, not yet written anywhere) containing:

  1. Folder tree — the full proposed directory structure with one-line purpose per folder. Include Schemas/, Templates/, and an Instructions/ (or Meta/) folder alongside the domain folders.
  2. Schemas table — one row per note type: schema name, note_type, required observations, optional observations, status enum values.
  3. Naming conventions — title format per note type, date formats, status vocabularies.
  4. Instruction notes — the startup router plus one instruction note per domain (see references/conventions.md for anatomy).
  5. The discipline rules they'll live by — search before create, exact-casing paths, changelog rows, index updates, bidirectional links — each with a one-line "why".

Walk through it, invite pushback, and iterate. Scale to their answers — but scaling means fewer folders, fewer indexes, and fewer required fields, never dropping schemas or observations (see the non-negotiables above). Get an explicit "yes, build it" before Phase 3.

Show full SKILL.md (730 more words)Show less

Phase 3 — Build

Build in this order — later items reference earlier ones:

  1. Schemas → Schemas/ folder, one note per type, validation: warn. Syntax in references/schema-guide.md.
  2. Templates → Templates/, one per note type, matching the schema exactly.
  3. Instruction notes → per-domain rules notes, then the startup router last (it links everything). Full anatomy and a worked example in references/conventions.md.
  4. Index notes → one per domain that needs one (tables of contents; not every domain does).
  5. Migrate existing notes (restructure path) → execute the approved old→new mapping from Phase 2 before seeding anything: move each existing note to its new home, set its note type, add the observations its schema requires, and update indexes as notes land. Archive what doesn't fit — never delete. Phase 3 is not done while anything still sits unorganized at the root.
  6. Seed notes → 2–3 REAL notes per domain using the examples collected in Phase 1. Never seed with placeholder data — real notes teach the format and are immediately useful; fake ones are noise the user must delete.
  7. Validate → run schema_validate on the seed notes AND any migrated notes; fix anything it flags. Read back the router and one instruction note to confirm links resolve.

Follow the write discipline in references/conventions.md throughout — most importantly: search before creating anything, use exact folder casing, and watch write results for duplicate-suffixed permalinks (-1, -2).

Phase 4 — Assistant setup

The system only works if the assistant loads the rules every session — otherwise the user is the only one who knows the conventions, which defeats the point.

Read references/assistant-setup.md and set up (or hand the user exact text for) a persistent instruction stub: a short block in whatever always-loaded mechanism their platform provides (project instructions, custom instructions, system prompt, agent context file) that says, in essence: "Before any knowledge-base work, read the startup router note in project X and follow its dispatch table."

Identify what mechanism YOUR platform offers and give concrete, platform-specific steps. If you cannot determine the platform, present the generic stub and the common placements from the reference file. End Phase 4 with the verification test described there (simulate a fresh session; confirm the router gets loaded and followed).

Phase 5 — Teach

Teach by doing, with their data — not by lecturing. Run short exercises:

  1. Capture — "Tell me something that came up today" → create the note together, narrating the schema fields and observations as you fill them.
  2. Retrieve — have them ask for something ("what's on my plate?", "what do I know about X?") → demonstrate search_notes and reading via memory:// links; explain title-search vs semantic search for names.
  3. Update — change a status, append an observation, add a changelog row — showing edit_note for targeted changes vs full overwrites.
  4. Connect — add a relation between two of their notes; show how build_context walks the graph.

Then write a cheat-sheet note into their KB (Instructions/ folder): the phrases they can say, what happens for each, and the core rules. This note is theirs — written for a human, not an assistant.

Phase 6 — Grow

Close the onboarding by opening doors:

  • Suggest 2–3 specific expansions drawn from their deferred Phase 1 domains or natural neighbors of what they built (built tasks → suggest meetings; built finances → suggest renewals calendar; built research → suggest a reading log). Frame each as "when you're ready" — never build unrequested.
  • Maintenance cadence — suggest a periodic (weekly/monthly) review: schema_diff for drift, scan for duplicate or orphaned notes, prune stale statuses. If their platform supports scheduled/recurring tasks, offer to set this up.
  • Evolution rule — when a convention starts to chafe, change the instruction note (with a changelog row), don't silently deviate. The system stays self-describing only if the rules in it stay true.

Reference files

FileRead when
references/conventions.mdBefore Phase 2. Startup router anatomy, instruction notes, changelogs, indexes, linking, write discipline, failure modes.
references/schema-guide.mdBefore Phase 2. Picoschema syntax, observations, relations, validation workflow.
references/domain-playbooks.mdPhase 1–2, for each domain the user picks. Starter folders, schemas, naming, example notes per domain.
references/assistant-setup.mdPhase 4. Persistent-instruction stub patterns per platform + verification test.

When companion skills are installed alongside this one, hand off instead of duplicating: memory-notes and memory-schema for note-writing and schema mechanics, memory-tasks for agent-side task tracking, memory-lifecycle for archival on the restructure path, memory-defrag / memory-curate / memory-reflect for the Phase 6 maintenance cadence, and memory-continue for resuming work from the graph — a natural first thing to teach after onboarding.

© basicmachines-co, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in skills/memory-onboarding of basicmachines-co/basic-memory.

  • SKILL.md
  • evals/evals.json
  • references/assistant-setup.md
  • references/conventions.md
  • references/domain-playbooks.md
  • references/schema-guide.md

Open the folder on GitHubat commit 6982cfc

Compare with similar skills

Basic Memory Onboarding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Basic Memory Onboarding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Basic Memory Onboarding this skillbasicmachines-co/basic-memory4.1k—~3.4kAutomated safety check: PassAGPL-3.0
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT
Second Brain Auditcoleam00/skills670—~4.6kAutomated safety check: PassMIT
Para Memory FilesUndertone0809/rudder292—~2.6kAutomated safety check: PassApache-2.0
Agent Carnet Notebookyamadashy/repomix29k—~1.2kAutomated safety check: PassMIT
Ontology1mancompany/OneManCompany4382 repos~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • Second Brain Audit

    coleam00/skills

    Audit any second brain, notes folder, or agent memory for facts that have quietly stopped being true, then fix the worst one so it stops recurring.

    670 GitHub stars~4.6k tokensUpdated 20 days ago
    Knowledge ManagementAuto-check passed
  • Para Memory Files

    Undertone0809/rudder

    File-based memory system using Tiago Forte's PARA method. An agent skill from Undertone0809/rudder.

    292 GitHub stars~2.6k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Agent Carnet Notebook

    yamadashy/repomix

    Saves and recalls markdown notes between agent sessions with the agent-carnet CLI, tracking which notes proved useful so stale ones expire and good ones stay.

    29k GitHub stars~1.2k tokensUpdated 4 days ago
    Knowledge ManagementAuto-check passed
  • Ontology

    1mancompany/OneManCompany

    Typed knowledge graph for structured agent memory and composable skills.

    438 GitHub starsUsed in 2 repos~1.5k tokens
    Knowledge ManagementAuto-check passed
  • MemPalace Memory

    MemPalace/mempalace

    Gives an agent a local memory palace over MCP: verbatim conversation memory, semantic search and a temporal knowledge graph, with a per-session recall protocol.

    59k GitHub stars~2.7k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed

More from basicmachines-co/basic-memory

All 49 skills in this repo
  • cmux Settings Editor

    basicmachines-co/basic-memory

    Views, sets, unsets and validates cmux settings in ~/.config/cmux/cmux.json with a helper script that checks keys against the schema.

    4.1k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • cmux Window and Pane Control

    basicmachines-co/basic-memory

    End-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs…

    4.1k GitHub starsUsed in 2 repos~842 tokens
    Auto-check passed
  • Cmux Markdown Viewer Panel

    basicmachines-co/basic-memory

    Opens markdown files in a formatted cmux panel beside the terminal that re-renders on every change, handy for plans and task lists.

    4.1k GitHub starsUsed in 2 repos~527 tokens
    Auto-check passed
  • cmux Workspace Scoping

    basicmachines-co/basic-memory

    Keeps agent actions scoped to the cmux workspace and terminal that invoked it, and lays out pane and surface commands that avoid disrupting the user's own focus.

    4.1k GitHub starsUsed in 2 repos~1.7k tokens
    Auto-check passed
  • Basic Memory Repo Images

    basicmachines-co/basic-memory

    Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics.

    4.1k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Logfire Instrumentation

    basicmachines-co/basic-memory

    Adds Pydantic Logfire tracing, logging and metrics to Python, JavaScript or TypeScript and Rust projects, with the correct setup order and library extras.

    4.1k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Questions about Basic Memory Onboarding

What does Basic Memory Onboarding do?

Guides a newcomer to Basic Memory through designing a personal knowledge system, then teaches its use and sets up their assistant to load it each session. The agent interviews the person, proposes a structure, builds it with schemas and instruction notes, teaches them to use it and wires it into their assistant. Basic Memory turns markdown files into a knowledge graph, and the skill installs four things from the start: schemas that keep each note type consistent, observations and relations that make notes queryable, instruction notes that hold the system's rules and load at session start, and a small startup router note.

When should I use Basic Memory Onboarding?

Basic Memory Onboarding fits situations like: starting out with Basic Memory and needing help to structure a project; turning an empty or messy project into folders, schemas and conventions; getting an assistant to remember context between sessions.

How do I install Basic Memory Onboarding in Claude Code?

Run `npx skills add basicmachines-co/basic-memory --skill memory-onboarding -a claude-code`. Or copy the skill folder (skills/memory-onboarding in basicmachines-co/basic-memory) into .claude/skills/memory-onboarding in your project. Claude Code loads it when a task matches its description.

How do I install Basic Memory Onboarding in Codex?

Run `npx skills add basicmachines-co/basic-memory --skill memory-onboarding -a codex`. Or copy the skill folder (skills/memory-onboarding in basicmachines-co/basic-memory) into .agents/skills/memory-onboarding in your project. Codex loads it when a task matches its description.

Can I use Basic Memory Onboarding in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add basicmachines-co/basic-memory --skill memory-onboarding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-onboarding, .gemini/skills/memory-onboarding, .github/skills/memory-onboarding and .opencode/skills/memory-onboarding in your project.

What does Basic Memory Onboarding need to run?

SKILL.md names no scripts, command-line tools or credentials: Basic Memory Onboarding is instructions for the agent only. Our summary lists: A Basic Memory project that the assistant can read and write.

Does Basic Memory Onboarding access the network?

SKILL.md names 1 domain. In commands or code: docs.basicmemory.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Basic Memory Onboarding safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Basic Memory Onboarding use?

Basic Memory Onboarding is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Basic Memory Onboarding use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.

What are the alternatives to Basic Memory Onboarding?

Skills that share tags, products or a category with Basic Memory Onboarding: Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars), Second Brain Audit (coleam00/skills, 670 stars), Para Memory Files (Undertone0809/rudder, 292 stars) and Agent Carnet Notebook (yamadashy/repomix, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Basic Memory Onboarding?

basicmachines-co (a GitHub organization) maintains it in basicmachines-co/basic-memory, which has 4,107 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: basicmachines-co/basic-memory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.