home/categories/framework-internals/letta-ai-letta-code-src-skills-builtin-defragmenting-memory-skill-md
framework-internalsdevelopment
defragmenting-memory
Defragments and cleans up agent memory blocks. Use when memory becomes messy, redundant, or poorly organized. Backs up memory, uses a subagent to clean it up, then restores the cleaned version.
maintainer
letta-ai
Updated 1/20/2026
Stars
863
Forks
105
quick start
Installation and usage
Defragments and cleans up agent memory blocks. Use when memory becomes messy, redundant, or poorly organized. Backs up memory, uses a subagent to clean it up, then restores the cleaned version.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use defragmenting-memory