context-compression

When agent sessions generate millions of tokens of conversation history, compression becomes mandatory. The naive approach is aggressive compression to minimize tokens per request.

Content Preview
---
name: context-compression
description: "When agent sessions generate millions of tokens of conversation history, compression becomes mandatory. The naive approach is aggressive compression to minimize tokens per request."
risk: unknown
source: community
---

# Context Compression Strategies

When agent sessions generate millions of tokens of conversation history, compression becomes mandatory. The naive approach is aggressive compression to minimize tokens per request. The correct optimizati
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/context-compression.md \
  https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/context-compression/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/sickn33/antigravity-awesome-skills

Then reference at skills/context-compression/SKILL.md

Related Skills