PlugMyPlugin
← Browse

memory-compactor

sharooncs ★ 0

Memory Compactor monitors MEMORY.md file size and warns Claude when it grows beyond a configurable line threshold (default 30 lines), since only the first 200 lines are read by Claude Code's auto-memory system. It automatically fires a PostToolUse hook after Write or Edit operations to memory directories, extracting the file path and injecting a compaction warning into Claude's context when the threshold is exceeded.

Productivity free prompt pack

Install

> /plugin marketplace add sharooncs/claude-memory-compactor
> /plugin install memory-compactor

Source: https://github.com/sharooncs/claude-memory-compactor

What it's made of

1 skill

Commands
0
Agents
0
Skills
1
MCP servers
0
Hooks
0

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
none
Talks to
nothing external detected

Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (sharooncs).