Memory Compact banner
RobertIlisei RobertIlisei

Memory Compact

Development community

Description

--- description: Distill a bloated .marvin/memory.md into durable-fact files + archive the rest (ADR-0042). --- Compact the active project's project memory into the curated durable-facts layer defined by [ADR-0042](../../docs/decisions/0042-memory-as-durable-facts.md). Run this when `.marvin/memory.md` has grown into an append-log of per-turn Ship dumps (the failure mode: a real project hit 419 KB, ~99% redundant with ADRs/git/changelog). **Operate on the ACTIVE project's `.marvin/`, never MAR

Installation

Installs to ~/.claude/commands/robertilisei-marvin-memory-compact.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/RobertIlisei/MARVIN/HEAD/.claude/commands/memory-compact.md -o ~/.claude/commands/robertilisei-marvin-memory-compact.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository