# memory-management

memory-management — a skill that retains user information between conversations—coding habits, projects, schedules, personal details.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 2 repo stars
- Author: zcf0508
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/zcf0508/mem-mcp/tree/HEAD/SKILL.md
- Updated: 2026-02-10
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/zcf0508-memory-management

## What it does

This skill gives your AI assistant a long-term memory. When you start a new conversation or shift to a different task, it automatically retrieves stored information about you—your preferred languages, active projects, working hours, tool preferences. Ask it to remember something like "I work best in the morning until 2 PM" and it saves it for future reference.

The skill includes commands to list all saved memories, fetch specific ones with keywords, write new entries, and manage priorities. Memories can be marked P0 (never forgotten), P1 (kept 90 days), or P2 (kept 30 days); old ones are archived but searchable. Each query runs once per topic to avoid slowdowns.

Works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Memory is isolated per user—your data stays private. The skill asks for consent before saving sensitive information, unless you explicitly request it.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add zcf0508/mem-mcp --skill memory-management -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/zcf0508-memory-management/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/zcf0508-memory-management/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add zcf0508/mem-mcp --skill memory-management -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/zcf0508-memory-management/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add zcf0508/mem-mcp --skill memory-management -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/zcf0508-memory-management/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install zcf0508/mem-mcp zcf0508-memory-management
```

2. **Manually: put the files in place**
- File: `.github/skills/zcf0508-memory-management/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add zcf0508/mem-mcp --skill memory-management -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/zcf0508/mem-mcp
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/zcf0508-memory-management/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add zcf0508/mem-mcp --skill memory-management -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/zcf0508/mem-mcp/tree/HEAD/SKILL.md

## When to use it
- preserve coding style and development habits across multiple projects
- keep the assistant updated about your timezone and working schedule
- automatically restore context when you return to a previous project
- save personal preferences or details as you mention them

## Example prompts
- Remember that I prefer TypeScript with Vitest for testing
- Save that I work from 9 AM to 2 PM in Moscow time
- What do you remember about my coding habits from earlier conversations?

## Similar
- [c-memory](https://affpapa.org/en/nevibecode/skills/c-memory.md) — skill · ★ 179 repo stars
- [context-memory](https://affpapa.org/en/nevibecode/plugins/context-memory.md) — plugin · ★ 1013 repo stars
- [agentdb-persistent-memory-patterns](https://affpapa.org/en/nevibecode/skills/agentdb-persistent-memory-patterns.md) — skill · 1 install
- [memory-continue](https://affpapa.org/en/nevibecode/skills/memory-continue.md) — skill · 1500 installs
- [memory-reflect](https://affpapa.org/en/nevibecode/skills/basicmachines-co-memory-reflect.md) — skill · 760 installs
- [memory](https://affpapa.org/en/nevibecode/skills/orchestkit-memory.md) — skill · 757 installs

## Other versions with the same name
- [memory-management · anthropics](https://affpapa.org/en/nevibecode/skills/memory-management.md) — 7800 installs
- [memory-management · aaron-he-zhu](https://affpapa.org/en/nevibecode/skills/memory-management-2.md) — 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
