AI AGENT ADDONS
AI & Agent Building
1,205installs

When AI agents have long conversations, they can use up millions of words of memory. Compression helps keep the conversation short so the agent can still work well. But simple compression can lose important details.

The real goal is tokens per task not tokens per request. Losing a file path or error message makes the agent waste time re-fetching information. Smart methods like structured summaries save space while keeping key facts.

This skill explains three ways to compress: anchored iterative summarization, opaque compression, and regenerative full summary. Each one balances saving memory against losing details.

Add Context Compression skill to your workflow

Global

mkdir -p ~/.claude/skills/context-compression

Project

mkdir -p .claude/skills/context-compression

Source Repository

Stars
41,937
Forks
6,705
Watchers
41,937
License
MIT
Last Push
3 months ago
Created
8 months ago