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 /c
Published by yrzhe
How to use it
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.
Install through Claude Code: run /plugin marketplace add Yrzhe/claude-skills, open /plugin, choose Discover, then select adaptive-compaction from the added marketplace. Read the permission prompts and choose the installation scope that fits your project.
This is a Claude Code plugin bundle. It extends an existing Claude Code installation and requires access to Claude Code. It is not a standalone workflow engine. Dependencies mentioned in the publisher setup: Claude Code.
The package manifest, project license and setup documentation passed automated static checks. No additional service-account requirement was detected by that scan. The plugin has not been executed or certified account-free. Review any hooks or commands before enabling them.
- Framework
- Claude Code
- Host application
- Claude Code
- Package path
- ./plugins/adaptive-compaction
- Plugin name
- adaptive-compaction
- Requirements
- Claude Code access; no other runtime identified by the setup scan
- Review
- Manifest, license and setup checked; runtime not tested
- Access
- Install in Claude Code
- License
- MIT
