Skip to content
Development
Command

/compress

Compress project memory. Archives older entries from MEMORY.md into archive.md to keep the hot layer lean. Run when memory-loop warns about file size.

From plugin
memory-loop
323 skills1 agent3 commands2 hooks
Install
> /plugin marketplace add yucai0302/memory-loop
> /plugin install memory-loop@memory-loop

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/compress

Context preview

What this command does when you run it.

Compress project memory. Archives older entries from MEMORY.md into archive.md to keep the hot layer lean. Run when memory-loop warns about file size.

Command definition

compress.md
description: "Compress project memory. Archives older entries from MEMORY.md into archive.md to keep the hot layer lean. Run when memory-loop warns about file size."

Invoke the `memory-compressor` agent to compress `.claude/memory/MEMORY.md`.

The agent will: 1. Read the current memory and schema compression settings 2. Move older Decisions and Completed entries to `.claude/memory/archive.md` 3. Rewrite MEMORY.md keeping only recent high-value entries 4. Report what was archived

Ships withmemory-loop

Persistent project-scoped memory for Claude Code. Auto-loads on session start, structured by schema, hot/cold layered.

Get the whole plugin
Stats
32
Stars
3
Forks
Maintained
Maintenance
Shell
Language
3mo ago
Last commit
3mo ago
Created

Repo: yucai0302/memory-loop

Other commands on memory-loop.