---
name: memory
description: Store and retrieve information across conversations. Use for persistence, context, and knowledge management.
---

# Memory Skill

Use this skill when you need to:
- Remember information for later
- Store context across conversations
- Share data between agents
- Search through stored knowledge

## Tools

### Personal Memory (per-agent)
- **get**: Retrieve a value by key.
- **set**: Store a value with a key.
- **search**: Search stored values by query.

### Shared Memory (all agents)
- **shared_get**: Get a value from shared memory.
- **shared_set**: Store a value in shared memory.

## Usage Pattern

### Remember Something
1. Use `memory.set` to store with a descriptive key
2. Use namespaces to organize related data

### Recall Something
1. Use `memory.get` if you know the exact key
2. Use `memory.search` if you need to find by content

### Share Between Agents
1. Use `memory.shared_set` to make data available to all agents
2. Use `memory.shared_get` in other agents to retrieve

## Tips

- Use descriptive keys for easy retrieval
- Use namespaces to avoid key collisions
- Shared memory is useful for agent coordination
