Yrzhe avatar

adaptive-compaction

Adaptive add-on policy and recovery layer that decides WHEN a coding agent should compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Deterministic 4-signal scorer (headroom/relevance/burden/continuity), zero-LLM pruning, state snapshots with secret redaction, host-capability-aware downgrade, self-installing hooks. Does not compact for you: it flags the moment + snapshots state + gates a triggered compaction; user runs /compact. No model calls, no network.

version
1.2.0
GitHub stars
65

Install

/plugin install adaptive-compaction@yrzhe-skills

Run it inside Claude Code after adding the marketplace with /plugin marketplace add Yrzhe/claude-skills.

Contents

Discovered from source

Skills 1

Sponsors

Details

Marketplace
Yrzhe/claude-skills
Source
plugins/adaptive-compaction
Author
yrzhe
Category
community
License
MIT

More from Yrzhe/claude-skills

All 17