Установка
SKILL.md
Memory Consolidation
You are performing a memory consolidation pass. Your goal is to review all stored memories for this user and improve their overall quality. Think of this as compressing raw observations into clean, durable knowledge.
Available Tools
memory_search
Semantic search across stored memories.
query(required): search querylimit: max resultsuserId,agentId: scope overridesscope:"all"(default),"session", or"long-term"categories: filter by category array
memory_add
Store new facts in long-term memory.
facts(required): array of facts — ALL must share the same categorycategory:"identity","preference","decision","rule","project","configuration","technical","relationship"importance: 0.0–1.0
memory_get
Retrieve a single memory by ID.
memoryId(required): the memory ID
memory_list
List all stored memories for a user or agent.
userId,agentId: scope overridesscope:"all"(default),"session", or"long-term"
memory_update
Update an existing memory's text in place. Atomic and preserves edit history.
memoryId(required): the memory ID to updatetext(required): the new text (replaces old)
memory_delete
Delete memories by ID, query, or bulk.
memoryId: specific memory ID to deleteall: delete ALL memories (requiresconfirm: true)userId,agentId: scope overrides
memory_event_list
List recent background processing events (platform mode only).
memory_event_status
Get status of a specific background event.
event_id(required): the event ID to check
Follow these four phases in order. Do not skip phases.
Phase 1: Orient
Survey the current memory landscape before making any changes.
- Call
memory_listto load all stored memories. - Count memories by category. Note the total.
- Identify the oldest and newest memories by their timestamps.
- Note any obvious problems visible in the list: duplicates, very short entries, entries without temporal anchors.
Do not modify anything in this phase. The goal is to understand what you are working with.
Phase 2: Gather Targets
Identify which memories need action. Use the tools to investigate.
Search for recent additions:
Call memory_search with a created_at filter to find memories added since the last consolidation. These are the most likely to need merging or cleanup.
Classify each target into one of these actions:
- DELETE: contains credentials, expired by TTL, pure noise, raw tool output, standalone timestamps
- MERGE: two or more memories express the same fact in different words, or a series tracks incremental changes to the same entity
- REWRITE: vague, missing temporal anchor, uses first person instead of third, wrong category, overly verbose
Phase 3: Consolidate
Execute the actions identified in Phase 2. Work in this priority order:
3a. Delete dangerous and expired entries
Delete immediately using memory_delete:
- Credentials, API keys, tokens, passwords, secrets (matching known credential prefixes and auth patterns injected by the plugin at runtime)
- Pure timestamps with no context
- Raw tool output stored as memory
- Heartbeat or cron execution records
- Generic acknowledgments stored as memory ("ok", "got it")
- Operational memories older than 7 days
- Project memories older than 90 days
3b. Merge duplicates
When two or more memories express the same fact:
- Pick the most complete version as the base
- Call
memory_updateon the best version to incorporate missing details from the others - Call
memory_deleteon the redundant entries
memory_update is preferred over forget-then-store because it is atomic and preserves edit history.
When merging, follow these rules:
- Keep the user's original words for opinions and preferences
- Preserve temporal anchors from both versions
- Do not exceed 50 words in the merged result
- The merged memory must be self-contained (understandable without the deleted ones)
3c. Rewrite unclear entries
When a memory needs improvement but is not a duplicate:
- Call
memory_updatewith the improved text
Rewrite when:
- Memory uses first person ("I prefer") instead of third ("User prefers")
- Memory lacks a temporal anchor for time-sensitive information
- Memory is vague ("likes python") and can be made specific ("User prefers Python for backend development")
- Memory has the wrong category assignment
- Memory is over 50 words and can be compressed without losing information
Phase 4: Report
After completing all operations, summarize what you did:
Consolidation complete.
- Reviewed: [total count]
- Deleted (credentials/secrets): [count]
- Deleted (expired/stale): [count]
- Merged: [count] groups into [count] memories
- Rewritten: [count]
- Final count: [total remaining]
- Issues found: [any notable problems or observations]
Quality Targets
After consolidation, the memory store should have:
- Zero memories containing credentials or secrets
- Zero duplicate memories (same fact in different words)
- All project and operational memories have temporal anchors ("As of YYYY-MM-DD")
- All memories use third person voice
- All memories are correctly categorized
- Each memory is 15-50 words, self-contained, and atomic (one fact per memory)
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: memory-dream](https://darkplay.ru/ai/skills/mem0ai-mem0-memory-dream)
Описание
Протокол консолидации памяти. Проверяет все сохранённые воспоминания, объединяет дубликаты, удаляет шум и учётные данные, переписывает неясные записи и применяет истечение срока TTL. Используй, когда пользователь просит очистить, консолидировать или просмотреть свои воспоминания. Также срабатывает автоматически после достаточной активности (настраивается).
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
Cpp Revieweraffaan-m · Ревьюер C++: безопасность памяти, современные идиомы, конкурентность, производительность.
Performance Optimizeraffaan-m · Специалист по производительности: узкие места, профилирование, память и бандлы.
Swift Revieweraffaan-m · Ревьюер Swift-кода: протокол-ориентированный дизайн, ARC, Swift Concurrency.
claude-memthedotmack · Система постоянной памяти для Claude Code — сжатие контекста между сессиями.
MCP Memory Server (official)modelcontextprotocol · Эталонный сервер памяти на графе знаний из официального репозитория MCP-серверов.
ruflo-agentdbruvnet · Контроллеры памяти AgentDB с векторным поиском HNSW, эмбеддингами RuVector и причинными…
ruflo-rag-memoryruvnet · Память RuVector с поиском HNSW, AgentDB и семантическим извлечением.
ruflo-rvfruvnet · Формат RVF для переносимой памяти агентов, сохранения сессий и кросс-платформенного…
mem0mem0ai · Слой памяти Mem0 для ИИ-приложений. Добавляет постоянную память, персонализацию и…
hindsight-memoryvectorize-io · Автоматическая долговременная память для Claude Code через Hindsight.Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton