Skip to content
C

context-compression

When agent sessions generate millions of tokens of conversation history

by sickn33Free

47.6K
#1575in AI Skills
0In stores

Description

context-compression is an agent skill for managing agent sessions whose conversation history grows past the context window. It is for sessio…

Highlights

  • Anchored iterative summarisation
  • Tokens-per-task optimisation target
  • Opaque compression trade-offs
  • Evaluation of compression quality
  • Debugging forgotten file changes

Ratings & Reviews

No ratings yet

Be the first to rate context-compression.

People also visit

I

implement

Implement a piece of work based on a spec or set of tickets

AI Skills
Get
B

brand-guidelines

Applies Anthropic's official brand colors and typography

AI Skills
Get
C

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy

AI Skills
Get
I

internal-comms

A set of resources to help me write all kinds of internal communications

AI Skills
Get
M

mcp-builder

Guide for creating high-quality MCP

AI Skills
Get
S

skill-creator

Guide for creating effective skills

AI Skills
Get

context-compression FAQ

What problem does it solve?

Long agent sessions and codebases that exceed the context window.

What should compression optimise?

Tokens per task, including re-fetching costs when compression loses important information, rather than tokens per request.

What is anchored iterative summarisation?

A structured summary with fixed sections, updated by summarising only the newly truncated span and merging it in.

What is the drawback of opaque compression?

It cannot be inspected, so you cannot verify what was preserved.

How do I install it?

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

Is it checked for security?

Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk.

What are the best context-compression alternatives?

Popular alternatives to context-compression include implement, brand-guidelines and canvas-design. See all context-compression alternatives

Developer Stuff

Badges