refactor: consolidate agent/editor plugins under integrations/ (#5491)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
---
|
||||
name: remember
|
||||
description: Stores a memory verbatim from user input with appropriate category classification. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a preference, decision, goal, or lesson.
|
||||
---
|
||||
|
||||
# Remember
|
||||
|
||||
Store a fact, preference, or learning directly into Mem0.
|
||||
|
||||
## Execution
|
||||
|
||||
### Step 1: Extract the content
|
||||
|
||||
The user provides the content as an argument: `/mem0-remember <text>`
|
||||
|
||||
If no text was provided, ask: "What should I remember?"
|
||||
|
||||
### Step 2: Classify the memory
|
||||
|
||||
Based on the content, pick the best category:
|
||||
|
||||
| Content signal | Category |
|
||||
|---|---|
|
||||
| "I prefer...", "I like...", "use X instead of Y" | `preferences` |
|
||||
| "we decided...", "always use...", "never..." | `decisions` |
|
||||
| "I learned...", "figured out...", "don't try..." | `lessons` |
|
||||
| "my goal is...", "I want to...", "working toward..." | `goals` |
|
||||
| "I work at...", "my role is...", "my team..." | `work` |
|
||||
| "every day I...", "my workflow is..." | `routines` |
|
||||
| "I'm working on...", "the project involves..." | `projects` |
|
||||
| "John is...", "my manager...", "the team..." | `relationships` |
|
||||
| "my name is...", "I'm from...", "I studied..." | `identity` |
|
||||
| setup, tools, config, environment | `technical` |
|
||||
| anything else | `lessons` |
|
||||
|
||||
### Step 3: Store
|
||||
|
||||
Use the `mem0_memory` tool with:
|
||||
- `action="add"`
|
||||
- `content="<the user's text>"`
|
||||
|
||||
The `/mem0-remember` command stores verbatim — no inference. This is already handled by the command.
|
||||
|
||||
### Step 4: Confirm
|
||||
|
||||
```
|
||||
Remembered as <category>: "<content, first 80 chars>"
|
||||
```
|
||||
|
||||
Append `...` only if content was truncated (longer than 80 chars).
|
||||
Reference in New Issue
Block a user