memory-rollup

Prune stale entries and consolidate Claude Code memory files across projects.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/dtbuchholz/claude-config --skill memory-rollup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-rollup
Source: https://github.com/dtbuchholz/claude-config/tree/main/skills/memory-rollup
Command: npx skills add https://github.com/dtbuchholz/claude-config --skill memory-rollup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the review, pruning, and consolidation of Claude Code's memory files, ensuring that memory remains concise, accurate, and relevant across projects and globally.

Core Features & Use Cases

  • Staleness Detection: Identifies and removes outdated memory entries based on project changes.
  • Consolidation: Merges duplicate entries and moves detailed notes to topic files to keep main memory files concise.
  • Cross-Project Learning: Extracts common patterns across multiple projects for promotion to global memory.
  • Use Case: Regularly run this skill to prevent Claude's memory from becoming bloated with irrelevant or outdated information, improving its focus and efficiency.

Quick Start

Run the memory-rollup skill to audit and clean up all project and global memory files.

Frequently Asked Questions about memory-rollup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Claude Code memory files when they become bloated with outdated information?

To manage Claude Code memory files, you can run a consolidation process that prunes stale entries, evaluates relevance against current project states, and extracts patterns to keep knowledge bases concise and accurate.

What is the best way to extract cross-project learnings for an AI coding assistant?

Extracting cross-project learnings involves scanning multiple project directories, identifying common patterns, and promoting those consolidated insights into a global memory file for the AI coding assistant to reference.

How do I detect and remove stale entries from a project knowledge base?

Detecting stale entries requires scanning project directories and evaluating the current relevance of stored information against the actual current project state, allowing outdated data to be identified and pruned.

When should I consolidate AI tooling memory into topic-specific files?

You should consolidate AI tooling memory into topic-specific files when main memory files become overloaded, merging duplicate entries and moving detailed notes to keep the primary knowledge base concise and efficient.

Does memory-rollup work without external dependencies to maintain long-term knowledge bases?

Yes, memory-rollup works without external dependencies, using internal scripts and references to audit, prune, and consolidate long-term knowledge bases for AI coding assistants across multiple projects.

Why does my AI code assistant keep referencing outdated project patterns?

An AI code assistant references outdated patterns when its memory files are not pruned, requiring a consolidation process to evaluate entry staleness against current project states and remove irrelevant information.