Compact Memory Implementation

Developer implementation guide for adding compact memory to an Agent — covers fork agent pattern for compaction, trigger strategy, summary format design, and memory restoration in subsequent sessions. Use when a developer asks how to implement compact memory, context compression, or memory persistence in their agent built with Claude Agent SDK or Anthropic API.

simbajigege Updated 202 repo stars

File contents

simbajigege/book2skills commit 9413161e07

Frequently asked questions

npx get-skill add simbajigege/compact-memory-implementation