smart-compaction

Community

Keep essential context, trim the noise.

Authorerhankaraarslan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill compactly summarizes lengthy session context, preserving essential decisions, ADRs, and open tasks while removing noisy, non-critical details to stay within context limits.

Core Features & Use Cases

  • Automatic context compaction: triggers via the PreCompact hook to create a concise, decision-focused snapshot.
  • Manual compaction: invoked with the /compact command to create on-demand context summaries.
  • Audit-ready outputs: updates CLAUDE.md and the feature list to reflect current state and next steps.
  • Decision preservation: ensures active feature, ADRs, and critical file paths remain accessible after compaction.

Quick Start

Trigger automatic compaction via the PreCompact hook or issue a manual compact using /compact. Review the CLAUDE.md updates and update the feature-list.json after the pass. Save and proceed with the new compacted context for subsequent sessions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: smart-compaction
Download link: https://github.com/erhankaraarslan/agent_yazilim_ekibi/archive/main.zip#smart-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.