memory-agents
FreeNo executable scriptsNot checkedCreate, run, and check Basic Memory Cloud agents: notes with type agent whose text is instructions. Use when asked to automate work on notes, run an agent, or…
by basicmachines-co★ 4,799 GitHub starsAbout this skill
Memory Agents
A Basic Memory Cloud agent is a note. Its frontmatter says type: agent, and its
body is the instructions. Running it on another note (the target) starts a
short-lived agent in Cloud that reads the target, works through the Basic Memory
tools, and changes notes as its instructions say.
Agents run in Basic Memory Cloud only, on plans that include them. A local
Basic Memory has no agent tools. Confirm the connected server exposes the bm_agent_*
tools before starting this workflow.
Project scope
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.
When to Use
- The user wants recurring work on their notes done for them: follow up on meetings, link new notes, tidy a folder, write a weekly digest
- Asked to create, change, run, or turn off an agent
- Asked how an agent run went, what it changed, or why it did not run
Tools
| Tool | Does |
|---|---|
bm_agent_list(project="<project>") |
The project's agents and how their recent runs went; with agent, whether that agent can run |
bm_agent_run(agent="<agent>", project="<project>") |
Starts an agent on a note (identifier), a folder, or nothing; returns the run id |
bm_agent_get(run_id="<run id>") |
One run: status, notes changed, and the agent's last reply; changes=True shows the diffs |
bm_agent_runs(project="<project>") |
Recent runs, newest first, optionally for one agent; whole_workspace=True lists every run waiting for review |
bm_agent_mark(decision="kept", run_id="<run id>") |
Mark a run kept or dismissed; with no run_id, kept keeps every waiting run |
Create and edit agents with bm_write and bm_edit. There is no separate
agent tool for that.
Write an Agent
---
title: Meeting follow-up
type: agent
enabled: true
watch:
paths:
- meetings/
---
Load the memory-ingest and memory-tasks skills before you start.
Read the meeting note you run on.
- For each action item, create a task note in `tasks/` with its owner and a
relation back to the meeting note. Check `tasks/` first and link an existing
task instead of making a duplicate.
- Add a `## Summary` section to the meeting note. If it has one, leave it.
Reply with the tasks you created or linked.
Frontmatter:
| Field | Required | Meaning |
|---|---|---|
type |
yes | agent |
title |
yes | The agent's name |
enabled |
yes | false keeps it from running, by hand or by watch |
watch |
no | Starts the agent when a person creates a note under these paths |
description |
no | One line shown with the agent |
watch.paths takes folders (meetings/) or globs over the file path
(meetings/*.md), at most 20, all inside the project. watch.events defaults
to [create], the only event so far. Do not write on: for events: YAML reads
that key as true.
Agents always write: their output is notes, and every change they make is a
note version you can revert. An agent changes notes only in its own project, and
it runs only if both the person who last edited the agent note and the person the
run is for can edit that project. An agent note last edited by another agent
cannot run. An old access key in an agent note is ignored.
Instructions that work
- Scope to the target note. The agent starts from the note it runs on. Say what that note is (a meeting note, a hub note, any note) and how far to look from it.
- Name the skills to load. Agents can load the Basic Memory skills, for
example
Load the memory-curate skill before you start. - Say where new notes go and how to avoid duplicates: check the folder first, link what exists.
- Keep existing content. Ask the agent to read each note before changing it. Cloud already refuses an edit that does not name the revision it read.
- Ask for a reply. The last reply is the run's summary: what it created, linked, or left alone, and anything it was unsure about.
- Keep each run small. A run has about seven minutes, including startup. Split large jobs across several agents or several target notes.
- Instructions are limited to 30,000 characters, frontmatter included.
Ready-made Agents
The Agents page in the Basic Memory web app adds these, each editable after it is added:
| Agent | Run it on |
|---|---|
| Cleanup | A hub or project index note; merges duplicates, archives finished work |
| Curator | A hub or folder note; links the notes around it with named relations |
| Sc |
Install memory-agents in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the memory-agents skill do?
Create, run, and check Basic Memory Cloud agents: notes with type agent whose text is instructions. Use when asked to automate work on notes, run an agent, or see how a run went.
How do I install the memory-agents skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the memory-agents skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic