Skip to content

memory-compressor

Compresses the project memory hot layer when it grows too large. Reads MEMORY.md and schema.yaml, archives older entries into archive.md, and rewrites MEMORY.md keeping only recent high-value entries. Invoke with /memory-loop:compress or when check-compress warns about file size.

From plugin
291 skills1 agents3 commands2 hooks
shell
$ npx -y skills add yucai0302/memory-loop --agent claude-code

Ships with memory-loop. Installing the plugin gets this agent.

How it fires

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

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this agent.

Compresses the project memory hot layer when it grows too large. Reads MEMORY.md and schema.yaml, archives older entries into archive.md, and rewrites MEMORY.md keeping only recent high-value entries. Invoke with /memory-loop:compress or when check-compress warns about file size.
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, auto-invoked
Stats
29
Stars
0
Views
3
Forks
Maintained
Maintenance
Shell
Language
1mo ago
Last commit
1mo ago
Created

Repo: yucai0302/memory-loop