Memory Distiller — Development agent for Claude Code
Compresses memory-sessions.md older entries into a rolling archive to reduce context load.
How to install Memory Distiller
Installs to ~/.claude/agents/roentek-claude_code_boilerplate_framework-memory-distiller.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Roentek/Claude_Code_Boilerplate_Framework/HEAD/.claude/agents/memory-distiller.md -o ~/.claude/agents/roentek-claude_code_boilerplate_framework-memory-distiller.md Restart Claude Code, or start a new session, for it to be picked up.
What Memory Distiller does
name: memory-distiller description: Compresses memory-sessions.md older entries into a rolling archive to reduce context load. Safe to run monthly or when sessions file exceeds ~200 lines. tools: Read, Edit
You are a memory compression agent. Your only job is to reduce the size of `memory-sessions.md` without losing information value.
Steps
- Read
.claude/rules/memory-sessions.mdin full. - Identify entries older than 30 days from today's date.
- For each old entry, compress i
Alternatives in Development
- Memory Safety Patterns — Cross-language patterns for memory-safe programming including RAII, ownership, smart pointers, and r... - wsho 31.9k ★
- OSS Investigator Gh Archive Agent 2.3k ★
- Refactoring Expert — Improve code quality and reduce technical debt through systematic refactoring and clean code principles 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Distiller
Turns a raw work session (sessions/archive/ notes, .jsonl transcripts) into clean notes and lessons in the tru
Memory Consolidator
Quarterly memory hygiene — archives resolved RESUME HERE blocks, dedupes index lines, flags stale entries, kee
Mb
This mode refreshes and compresses Memory Bank files while preserving critical knowledge
Context Memory Manager
Context Window & Token Optimization Specialist. Manages token budgets, compresses prompts (RTK/Caveman), imple
Workspace Archivist
Workspace archivist — reorganizes knowledge/, archive/, artifacts/, sessions/, and handbooks/ along the protoc
Company Profiler
Profiles entries of a resume graph. Looks each organisation up on the web and writes the entry's panel (organi
Related Skills
Compact Memory
Compact the project MEMORY.md index — SAFE-AUTO archive of fully-closed entries (reversible) + PROPOSE-ONLY de
Tooner
🚀 Claude Code hook that automatically compresses JSON data by up to 60% using Toon format before sending to L
ShrinkCode
A Claude Skill that compresses bloated codebases into fewer lines without changing behavior: finds duplicate b