# The memory domain

> How an agent reaches the memory domain: its MCP tools, its CLI commands and its edit operations.

Source: https://stuarty.com/docs/agents/domain-memory/

This page is generated from the registry. Print it with `stuarty agent:docs --print guide:memory`; `stuarty memory` lists the commands of the domain.

The library: memory notes, skills, prompts and search.

## How to reach it

MCP tools: `command_help`, `library`. Tools that take `domain=memory`: `command_help`.

CLI: `stuarty memory` lists the commands of the domain and `stuarty memory <verb>` runs one; the full names stay valid.

- `memory:list`: list the memory notes
- `memory:show`: show a memory note
- `memory:write`: write a memory note: one fact, with what was learned
- `memory:remove`: delete a memory note (a note a person kept stays)
- `skill:list`: list the skills that are reviewed
- `skill:show`: show a skill: its text, its files and the findings of the lint
- `skill:write`: write a skill; it stays unreviewed until a person reads it in the Skills section
- `skill:import`: import a skill from a folder or an archive (.zip, .tar.gz) you already have; it starts unreviewed
- `skill:lint`: run the lint on a skill
- `skill:export`: write skills as folders in the Agent Skills layout, to install them in your own agent
- `prompt:list`: list the prompts
- `prompt:show`: show a prompt and its variables
- `prompt:write`: write a prompt: a reusable text with \{\{variables\}\}
- `prompt:render`: replace the variables of a prompt and print the text; nothing is sent anywhere
- `library:search`: search memory, skills and prompts with one query
- `library:reindex`: rebuild the index of the library from its files

## Operations

No edit operations yet. The domain is reached through the tools and commands above; operations that a later epic registers in it appear here, and `command_help domain=memory` lists them.
