memory-manager
npx machina-cli add skill chinkan/RustFox/memory-manager --openclawFiles (1)
SKILL.md
1.0 KB
Memory Manager
You have persistent memory tools: remember, recall, and search_memory.
When to Remember
Proactively use the remember tool when:
- The user tells you their name, preferences, or important context
- You learn something about their project or workflow
- The user corrects you — remember the correction
- You discover useful facts during tool use
Categories to use:
user_preference— User's stated preferences (language, style, etc.)user_info— Name, role, timezone, etc.project— Project-specific knowledge (architecture, conventions)correction— Things the user corrected you aboutfact— General facts learned during conversation
When to Recall
- At the start of conversations, search memory for relevant user context
- Before making assumptions, check if you've remembered something relevant
- When the user references something from a past conversation
Source
git clone https://github.com/chinkan/RustFox/blob/main/skills/memory-manager/SKILL.mdView on GitHub Overview
Memory Manager helps you store and retrieve important user and project information across chats using remember, recall, and search_memory. This keeps conversations sharp by preserving user preferences, project details, and corrections over time.
How This Skill Works
Store facts with remember under categories like user_preference, user_info, project, correction, and fact. At the start of a chat, recall pulls relevant context, and search_memory can quickly locate earlier insights to inform responses.
When to Use It
- When the user shares their name, preferences, or other important context.
- When you learn something about the user’s project or workflow.
- When the user corrects you — remember the correction.
- When you discover useful facts during tool use.
- At the start of a conversation, recall relevant context before making assumptions.
Quick Start
- Step 1: Identify what to remember and assign a category (user_info, user_preference, project, correction, fact).
- Step 2: Use remember to persist the item with the appropriate category.
- Step 3: Use recall or search_memory at the start and before actions to apply context.
Best Practices
- Always use remember for key user cues (name, preferences) and project details.
- Categorize memories with user_preference, user_info, project, correction, or fact.
- Avoid storing sensitive information unless necessary; confirm with user when in doubt.
- Regularly review memory and prune outdated items.
- Reference memory to avoid repetition and improve relevance.
Example Use Cases
- Remember a user’s preferred language and adjust responses.
- Recall last-week project decisions to stay consistent.
- Store user corrections to avoid repeating mistakes.
- Search memory for a user’s timezone to format timestamps.
- Preload context at the start of a session to personalize guidance.
Frequently Asked Questions
Add this skill to your agents