MinniMemory
Optimizes Claude Code token usage and context window efficiency by compiling project instructions into compact, on-demand memory files.
MinniMemory is an optimization plugin for Claude Code designed to cut token overhead and streamline context window consumption. It audits local instructions and project memory files—such as CLAUDE.md and AGENTS.md—and compiles them into an ultra-lean core loaded on every turn alongside on-demand files fetched only when relevant. Operating strictly on your local machine without external network calls or tracking, MinniMemory provides automated drift detection, prompt-matching context injection, and lossless, byte-for-byte undo support with explicit approval required for all file operations.
主な機能
01Audits and compiles memory files into minimal always-on and on-demand layers
02Operates entirely offline on local files with zero network requests or telemetry
031 GitHub stars
04Provides lossless, byte-for-byte rollbacks with automated local backups
05Uses prompt hooks to inject relevant context sections dynamically per task
06Monitors instruction drift between sessions with built-in doctor checks
ユースケース
01Minimizing token costs and context exhaustion in Claude Code projects with large instruction files
02Keeping team and agent memory synchronized without manually pruning CLAUDE.md
03Selectively loading credential-safe project guides on-demand based on prompt intent