Skip to main content
Back to registry

session-compression

bobmatnyc/claude-mpm-skills

Compress long AI conversations to fit context windows while preserving critical information.

Installs203
Install command
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill session-compression
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Compress long AI conversations to fit context windows while preserving critical information. Session compression enables production AI applications to manage multi-turn conversations efficiently by reducing token usage by 70-95% through summarization, embedding-based retrieval, and intelligent context management. Achieve 3-20x compression ratios with minimal performance degradation. Key Benefits: Use session compression when: Don't use when: Ideal scenarios: Context window: Maximum tokens an LLM can process in a single request (input + output). Current limits (2025): Token estimation: Why compression matters: Compression ratio = Original tokens / Compressed tokens Industry benchmarks: Target ratios by use case: Industry standard pattern: Implementation guidelines: Selects key sentences/phrases without modification. Pros: No hallucination, fast, deterministic Cons: Limited compression (2-3x), may feel disjointed Best for: Legal/compliance, short-term compression Uses LLMs to semantically condense conversation history. Pros: Higher compression (5-10x), coherent, synthesizes information Cons: Risk of hallucination, higher cost, less deterministic Best for: General chat, customer support, multi-session continuity Creates summaries of summaries in a tree structure. Pros: Extreme compression (20x+), handles 1M+ token conversations Cons: Complex implementation, multiple LLM calls,...

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 session-compression do?

Compress long AI conversations to fit context windows while preserving critical information.

Is session-compression good?

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

What agent does session-compression work with?

session-compression currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, openclaw.

What are alternatives to session-compression?

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

How do I install session-compression?

npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill session-compression

Related skills

More from bobmatnyc/claude-mpm-skills

Related skills

Alternatives in Software Engineering