write_memory
Store reusable project knowledge as markdown memories, with optional file-glob associations, so agents can automatically retrieve and apply the right context when working on relevant files.
Instructions
Write or overwrite a memory in a workspace's .plumb/memories/ directory.
The memory is a markdown file at /.plumb/memories/.md. If 'description' or 'paths' is provided, frontmatter is prepended automatically — list_memories will surface the description, and relevant_memories / hint injection use paths globs to attach the memory to files.
Memory names must match [A-Za-z0-9_-]+. Choose specific names that describe the memory's topic (e.g. 'auth-architecture', 'test-conventions', 'gotchas-cache-invalidation').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Memory name (alphanumeric, _, - only). | |
| paths | No | Optional workspace-relative file globs this memory applies to, e.g. internal/auth/** or cmd/server/*.go. Stored as frontmatter and used by relevant_memories plus hint injection. | |
| content | No | Markdown body to save. | |
| workspace | No | Absolute workspace path. Defaults to the daemon's resolved workspace. | |
| description | No | One-line summary (optional). Stored as frontmatter. |