# memory-agents

The memory-agents Claude Code skill creates, runs, and checks Basic Memory Cloud agents. Agents follow instructions on notes and can start when someone creates a note in watched paths.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 268 installs · ★ 4660 repo stars
- Author: basicmachines-co
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/basicmachines-co/basic-memory/tree/HEAD/skills/memory-agents/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/memory-agents

## What it does

The skill helps manage Basic Memory Cloud agents: create or edit their notes, run one against a note or folder, inspect its result, and mark a run as kept or dismissed. An agent reads its target and changes notes according to its instructions. Each change is stored as a version that can be reverted.

Basic Memory Cloud on a plan with agents is required, along with a connected server that exposes `bm_agent_*` tools. Local Basic Memory does not provide those tools. Calls involving notes, folders, or schemas need a project scope. A watch can start an agent when someone creates a note under selected paths, and the agent only changes notes within its own project.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-agents -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/memory-agents/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/memory-agents/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-agents -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/memory-agents/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-agents -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/memory-agents/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install basicmachines-co/basic-memory skills/memory-agents
```

2. **Manually: put the files in place**
- File: `.github/skills/memory-agents/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-agents -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/basicmachines-co/basic-memory --path skills/memory-agents
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/memory-agents/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add basicmachines-co/basic-memory --skill memory-agents -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/basicmachines-co/basic-memory/tree/HEAD/skills/memory-agents/SKILL.md

## When to use it
- write an agent that follows instructions on project notes
- run an agent against a note or folder
- inspect a run's status and changed notes
- find out why an agent run was skipped
- mark an agent run as kept or dismissed

## Example prompts
- Create an agent that turns meeting notes into linked task notes.
- Run Curator on `projects/Launch` in the `work` project.
- Show the latest agent run's status and the notes it changed.

## Similar
- [deep-agents-memory](https://affpapa.org/en/nevibecode/skills/deep-agents-memory.md) — skill · 20000 installs
- [memory-safety-patterns](https://affpapa.org/en/nevibecode/skills/memory-safety-patterns.md) — skill · 11746 installs
- [memory-management](https://affpapa.org/en/nevibecode/skills/memory-management.md) — skill · 7800 installs
- [memory-discipline](https://affpapa.org/en/nevibecode/skills/memory-discipline.md) — skill · 4900 installs
- [memory-leak-debugging](https://affpapa.org/en/nevibecode/skills/memory-leak-debugging.md) — skill · 3700 installs
- [trader-memory-core](https://affpapa.org/en/nevibecode/skills/trader-memory-core.md) — skill · 3700 installs

From the same set: [basicmachines-co/basic-memory](https://affpapa.org/en/nevibecode/by/basicmachines-co/basic-memory.md) — 23 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
