Skip to main content
Back to registry

context-compression

sickn33/antigravity-awesome-skills

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 optimization target is tokens per task: total tokens consumed to complete a task, including re-fetching costs when compression...

Installs203
Install command
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill context-compression
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
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 optimization target is tokens per task: total tokens consumed to complete a task, including re-fetching costs when compression loses critical information. Activate this skill when: Context compression trades token savings against information loss. Three production-ready approaches exist: Anchored Iterative Summarization : Maintain structured, persistent summaries with explicit sections for session intent, file modifications, decisions, and next steps. When compression triggers, summarize only the newly-truncated span and merge with the existing summary. Structure forces preservation by dedicating sections to specific information types. Opaque Compression : Produce compressed representations optimized for reconstruction fidelity.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does context-compression do?

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 optimization target is tokens per task: total tokens consumed to complete a task, including re-fetching costs when compression...

Is context-compression good?

context-compression does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does context-compression work with?

context-compression currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to context-compression?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install context-compression?

npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill context-compression

Related skills

More from sickn33/antigravity-awesome-skills

Related skills

Alternatives in Software Engineering