memory-management · zcf0508 — Claude Code skill: remember user context across sessions
memory-management — a skill that retains user information between conversations—coding habits, projects, schedules, personal details.
no license 1 installs ★ 2 updated 2026-02-10
npx skills add zcf0508/mem-mcp --skill memory-management -a claude-codeWhat memory-management 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.
What it helps with
- 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 for the agent
- 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?
How to install memory-management
1Skills CLI (Vercel)
npx skills add zcf0508/mem-mcp --skill memory-management -a claude-code2Manually: put the files in place
~/.claude/skills/zcf0508-memory-management/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/zcf0508-memory-management/
1Skills CLI (Vercel)
npx skills add zcf0508/mem-mcp --skill memory-management -a codex2Manually: put the files in place
.agents/skills/zcf0508-memory-management/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add zcf0508/mem-mcp --skill memory-management -a cursor2Manually: put the files in place
.cursor/skills/zcf0508-memory-management/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install zcf0508/mem-mcp zcf0508-memory-management2Manually: put the files in place
.github/skills/zcf0508-memory-management/SKILL.md1Skills CLI (Vercel)
npx skills add zcf0508/mem-mcp --skill memory-management -a gemini-cli2Platform CLI
gemini skills install https://github.com/zcf0508/mem-mcpManually: put the files in place
.devin/skills/zcf0508-memory-management/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add zcf0508/mem-mcp --skill memory-management -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about memory-management
How do I install memory-management in Claude Code?
Run npx skills add zcf0508/mem-mcp --skill zcf0508-memory-management -a claude-code then edit the file ~/.claude/skills/zcf0508-memory-management/SKILL.md as needed.
What does this skill do?
It stores information about you—coding habits, current projects, schedule, personal details—and retrieves it automatically in new conversations. You can ask the assistant to remember something, and it persists that info in long-term storage.
Which platforms support this skill?
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Each platform has its own installation command.
Similar skills
All skills for Agent setup: memory, context, orchestration →memory-management by other authors comes first.