Home /Claude Skills /compaction-advisor

Compaction Advisor

The project ingeniously leverages Claude's natural language under...
Core Principle:
Compaction Advisor is a smart contextual monitoring plugin for Claude Code, preventing task interruptions caused by automatic compaction through real-time tracking of context window usage. It employs a three-layer protection mechanism: pre-task warnings, checkpoint suggestions during operations, and emergency saves before urgent compactions. This significantly enhances development fluency. Its core value lies in zero-cost health monitoring and intelligent decision-making driven by natural language.
KEY FEATURES
01Real-time Status Monitoring
Persistent status line displays context availability with four-color warning system
02Intelligent Checkpointing
Automatically suggests save points during long tasks with precise /compact command
03Three-Tier Protection
UserPromptSubmit/PostToolUse/PreCompact hooks provide full-cycle coverage
04Zero-Cost Healthy Monitoring
Completely silent when context sufficient, injects only 20-25 tokens during risks
github.com/vignesh07/compaction-advisor
devops·vignesh07·2026-02-02·5·🔱 0
Curated by agent-skills.cc
Installation
Download
HTTPS
git clone https://github.com/vignesh07/compaction-advisor.git
SSH
git clone [email protected]:vignesh07/compaction-advisor.git
GitHub CLI
gh repo clone vignesh07/compaction-advisor
FAQ
Q: What are the installation steps for Compaction Advisor Agent Skills?
1.Status Monitoring: Background scripts continuously calculate and update context availability
2.Hook Trigger: Hooks like UserPromptSubmit read state data upon activation
3.Risk Injection: Inject warning tags (<context-status>) when space critical
4.Intelligent Response: Claude autonomously generates suggestions based on injected info
Q: What are the highlights of Compaction Advisor Agent Skills?
  • Zero token consumption in healthy state maximizes resource saving
  • 100% interruption prevention with three-tier full-cycle protection
  • Natural language understanding instead of brittle pattern matching
  • Fully local execution with scripts averaging <100 lines for security
Q: What are the use cases for Compaction Advisor Agent Skills?
  • Preventing context exhaustion during major code refactoring
  • Auto-saving progress points in multi-file modification tasks
  • Avoiding state loss in critical debugging phases
  • Optimizing Claude efficiency in resource-constrained environments
Q: What are the limitations of Compaction Advisor Agent Skills?
  • Requires jq for JSON processing
  • Exclusive to Claude Code ecosystem
Related Claude Code Skills
system-prompts-and-models-of-ai-tools

x1xhlol/system-prompts-and-models-of-ai-tools

x1xhlol

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Models

300k+ lines of real system prompts let you develop from the perspective of AI tool creators

108.4k28.4k
claude-code

anthropics/claude-code

anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Dramatically boosts development efficiency, handles complex Git operations with simple commands

56.7k4.1k
superpowers

obra/superpowers

obra

An agentic skills framework & software development methodology that works.

Not just coding but organizing development workflow - like getting a free technical lead

45.5k3.4k
cherry-studio

CherryHQ/cherry-studio

CherryHQ

AI Agent + Coding Agent + 300+ assistants: agentic AI desktop with autonomous coding, intelligent automation, and unified access to frontier LLMs.

Integrates top AI services with document processing and coding features, offering commercial-grade experience for free

38.7k3.6k
everything-claude-code

affaan-m/everything-claude-code

affaan-m

Complete Claude Code configuration collection - agents, skills, hooks, commands, rules, MCPs. Battle-tested configs from an Anthropic hackathon winner.

37k stars validate its practical essence, directly improving code quality and development efficiency

33.3k4.1k
awesome-claude-skills

ComposioHQ/awesome-claude-skills

ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

Seamlessly integrates with your toolchain, automates routine tasks so you can focus on creative work

27.3k2.6k