Agent Memory
Stores and retrieves relevant past interactions to inform future decisions and actions within a conversation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add agent-memory npx -- -y @trustedskills/agent-memory
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": [
"-y",
"@trustedskills/agent-memory"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The agent-memory skill enables AI agents to retain and recall information across interactions, improving context awareness and continuity in conversations. It allows agents to store key details such as user preferences, previous responses, or task progress for later reference.
When to use it
- When an agent needs to remember a user's preference from a prior conversation.
- During multi-step tasks where the agent must refer back to earlier inputs or decisions.
- In scenarios requiring personalized interactions based on historical data.
Key capabilities
- Persistent memory storage across sessions
- Retrieval of stored information for context-aware responses
- Customizable memory retention duration and scope
Example prompts
- "Remember that the user prefers dark mode."
- "What was the last task I asked you to complete?"
- "Recall my previous request regarding project timelines."
Tips & gotchas
- Ensure memory is cleared or reset when appropriate to avoid outdated information influencing responses.
- Use this skill in conjunction with other agent tools for a more robust interaction flow.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.