mm:consolidate
БесплатноБез исполняемых скриптовНе проверенScans memories for recurring patterns and proposes consolidation (merge, identity update, or shadow candidate)
от mirror-mind-ai★ 21 звезда на GitHubОб этом скилле
mm-consolidate
Consolidation as integration — the operation that promotes raw extracted memories into structural identity content (CV7.E4.S3).
Memories accumulate over time. Patterns repeat. The same insight lands in five conversations as five isolated memories, none of which reaches the identity layer where it could actually change how the mirror responds. Consolidation is the bridge. This skill surfaces those clusters, proposes a structural move, and waits for explicit acknowledgment before writing anything.
Promotion mechanism: manual-by-acknowledgment. The scan is automatic; the promotion is not. Every proposal must be reviewed and accepted (or rejected) before it changes the database. This is intentional — identity updates are meaningful acts.
Usage
/mm:consolidate [--journey <slug>] [--layer <layer>] [--limit <n>]
/mm:consolidate apply <proposal_id>
/mm:consolidate reject <proposal_id>
/mm:consolidate list [--status pending|accepted|rejected]
1. Scan for proposals
The scan answers from TypeScript against the live provider (CV22.DS8.TS2). Each cluster is one model call bounded by the extraction timeout (
MEMORY_LLM_TIMEOUT_EXTRACTION, 60 s) with bounded retries, and every successful call leaves a pricedllm_callsrow before its proposal is parsed. A call that fails is logged by class (outcome=transport_failed kind=…) infront-door.logbeside the database.
mirror consolidate scan \
[--journey <slug>] \
[--layer <layer>] \
[--limit 5] \
[--threshold 0.75]
This clusters semantically similar memories and calls the LLM to propose one of:
- merge: distill a redundant cluster into one sharper memory
- identity_update: encode a persistent pattern into an identity layer (ego/behavior, etc.)
- shadow_candidate: mark a tension/avoidance cluster for the mm-shadow pass
Each proposal is printed and stored with status='pending'.
Default filters: no journey or layer filter (all memories). Threshold 0.75. Limit 5 proposals.
2. Present each proposal to the user
For each proposal, show:
- The source memories (title, type, date)
- The proposed action and target (if identity_update: which layer/key)
- The rationale
- The proposed content
Ask: accept as-is / edit / reject?
3. Apply or reject
Accept as-is:
mirror consolidate apply <proposal_id>
Accept with edited content:
mirror consolidate apply <proposal_id> \
--content "User-revised version of the proposed content"
Reject:
mirror consolidate reject <proposal_id>
What happens on acceptance:
- merge: creates a merged memory; source memories advance to
integrated - identity_update: appends to the identity layer; source memories advance to
acknowledged - shadow_candidate: source memories advance to
candidatefor the next mm-shadow pass
Rejected proposals leave source memories unchanged.
4. List consolidation history
mirror consolidate list [--status pending|accepted|rejected] [--limit 20]
Notes
- The skill uses the same model as extraction (Gemini Flash via OpenRouter). LLM calls are
logged to
llm_callswhenMEMORY_LOG_LLM_CALLS=1. - Proposal IDs can be abbreviated to their first 8 characters.
- Memories with
readiness_state='integrated'are excluded from clustering. - Run with
--threshold 0.65to surface more (and looser) clusters; raise to0.85for tighter ones. - For shadow-specific work, use
mm-shadow(CV7.E4.S4) after candidates are established.
Установить mm:consolidate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mm:consolidate?
Scans memories for recurring patterns and proposes consolidation (merge, identity update, or shadow candidate)
Как установить скилл mm:consolidate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mm:consolidate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic