# Enable Persistent Memory for AI Agents

This skill provides AI agents with persistent, searchable memory to retain architecture decisions, patterns, and knowledge across sessions without manual tracking.

## Install

```bash
npx skillstore add amit rathiesh/sickn33-agent-memory-mcp
```

## Metadata

- - Slug: sickn33-agent-memory-mcp
- - Version: 1.0.1
- - Author: Amit Rathiesh
- - GitHub username: sickn33
- - License: MIT
- - Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/agent-memory-mcp
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: safe
- - Quality score: 81
- - Quality tier: silver
- - Public page: https://skillstore.pages.dev/skills/sickn33-agent-memory-mcp
- - Manifest: https://skillstore.pages.dev/api/skills/sickn33-agent-memory-mcp/manifest

## Capabilities

- Search memories by query, type, or tags using memory\_search tool
- Write and store new knowledge or decisions with memory\_write tool
- Retrieve specific memory content by key using memory\_read tool
- View analytics on memory usage with memory\_stats tool
- Run a local dashboard to visualize memory data

## Use Cases

- Retain Architecture Decisions: Store and retrieve architectural choices made during project setup so future sessions understand why certain patterns were selected.
- Build Pattern Library: Collect and search reusable code patterns, snippets, and best practices discovered during development.
- Track Project Context: Maintain persistent context about project goals, constraints, and conventions across agent sessions.

## Prompt Templates

### Save Architecture Decision

```
Use memory_write to store this architecture decision: key: '{decision_key}', type: 'decision', content: '{decision_content}', tags: ['{tag1}', '{tag2}']
```

### Find Authentication Patterns

```
Search the memory for authentication patterns using memory_search with query: 'authentication', type: 'pattern'
```

### Recall Design Discussion

```
Retrieve the design discussion about '{topic}' using memory_read with key: '{memory_key}'
```

### Review Memory Statistics

```
Show memory statistics using memory_stats to understand what knowledge has been stored
```

## Limitations

- Requires Node.js v18\+ to run
- Must clone external agentMemory repository for full functionality
- Memory is local to the MCP server instance
- Dashboard runs on localhost only

## Best Practices

- Use consistent naming conventions for memory keys to make retrieval predictable
- Add relevant tags when writing memories to improve searchability
- Periodically review memory\_stats to ensure the knowledge base remains organized

## Anti Patterns

- Storing sensitive information like API keys or passwords in memory
- Creating duplicate memories with slightly different keys instead of updating existing ones
- Using overly generic search queries that return too many unrelated results

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-02-24T16:28:40.91\+00:00
- - Summary: All static findings are false positives. The skill contains only documentation with setup instructions \(git clone, npm commands\). The flagged 'external\_commands' are legitimate bash commands in documentation, not executable code. The flagged 'network' URLs are documentation references \(GitHub repo URL, localhost dashboard\). The flagged 'cryptographic' terms \('key', 'risk'\) are common English words used in their normal sense, not cryptographic algorithms.

## Stats

- - Views: 105
- - Downloads: 6
- - Favorites: 1
- - Popularity score: 0
