claudeindex
Plugin

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.

Installation

1

Add the marketplace

/plugin marketplace add yrzhe/claude-skills
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.

Details & Metadata