cc-front-compaction

Community

Compact Claude context with front-only replay.

Authorchoru-k
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of managing large Claude code contexts by selectively compacting older parts of the conversation, optimizing performance and relevance.

Core Features & Use Cases

  • Front-Only Compaction: Compresses the oldest N% of the conversation history, keeping the most recent interactions readily accessible.
  • Hard Tail Replay Injection: Automatically injects replay information for the compacted sections, ensuring continuity.
  • Use Case: When dealing with lengthy coding sessions in Claude, this skill helps maintain a manageable context window, preventing performance degradation and ensuring the AI can still access crucial earlier parts of the conversation when needed.

Quick Start

Run /cc-front-compaction 30 to compact the oldest 30% of the current Claude session's context.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cc-front-compaction
Download link: https://github.com/choru-k/skills-for-ai/archive/main.zip#cc-front-compaction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.