memory
Installation
SKILL.md
Memory
When to Use
Use this skill when an agent needs to remember something after the current invocation ends:
- "Remember that this customer prefers WhatsApp."
- "What do we already know about this contact?"
- "Store the order I just looked up so the next message doesn't refetch it."
- "Give the bot a long-term memory / knowledge it accumulates."
Two shapes, one API:
| You want to recall by… | Use | Because |
|---|---|---|
| meaning — "how do they like to be contacted?" | memory.add / memory.search |
Text is embedded on write; retrieval is semantic |
| key — "order ORD-12345" | memory.collection(name) |
Exact lookup, JSON in and JSON out |