🎯

ac-context-compactor

🎯Skill

from adaptationio/skrillz

VibeIndex|
What it does

Compacts and preserves critical context when session approaches memory limits, enabling seamless continuation and information retention.

ac-context-compactor

Installation

Install skill:
npx skills add https://github.com/adaptationio/skrillz --skill ac-context-compactor
1
AddedJan 25, 2026

Skill Details

SKILL.md

Manage and compact context for long sessions. Use when context is filling up, creating handoff summaries, optimizing context usage, or preparing for session continuation.

Overview

# AC Context Compactor

Manage context usage and create compact summaries for session continuation.

Purpose

Monitors context usage and creates compact summaries when approaching limits, enabling seamless session continuation without losing critical information.

Quick Start

```python

from scripts.context_compactor import ContextCompactor

compactor = ContextCompactor(project_dir)

if await compactor.should_compact():

summary = await compactor.create_compact_summary()

```

Context Management

```

Context threshold: 85%

β”‚

β”œβ”€β”€ Below 85%: Continue normally

β”œβ”€β”€ At 85%: Create compact summary

└── Above 90%: Force handoff

```

Compaction Strategy

  1. Preserve: Critical state and progress
  2. Summarize: Completed features
  3. Extract: Key decisions and context
  4. Compress: Verbose information

Summary Structure

```json

{

"session_summary": {

"features_completed": ["auth-001", "auth-002"],

"current_feature": "api-001",

"progress_percentage": 45.5

},

"key_decisions": [

"Using JWT for auth",

"PostgreSQL for database"

],

"active_context": {

"current_file": "src/api/routes.py",

"current_task": "Implementing user endpoint"

},

"next_actions": [

"Complete user endpoint",

"Add authentication middleware"

]

}

```

Integration

  • Used by: ac-session-manager for auto-continuation
  • Triggers: ac-handoff-creator when compacting

API Reference

See scripts/context_compactor.py for full implementation.

More from this repository10

🎯
analysis🎯Skill

Performs comprehensive analysis of code, skills, processes, and data to extract actionable insights, identify patterns, and drive data-driven improvements.

🎯
auto-claude-troubleshooting🎯Skill

Automatically diagnoses and resolves Auto-Claude installation, configuration, and runtime issues across different platforms and environments.

🎯
xai-auth🎯Skill

Authenticates and configures xAI Grok API access using Twitter/X account credentials, enabling seamless integration with OpenAI-compatible SDK methods.

🎯
xai-financial-integration🎯Skill

Retrieve and integrate xAI Grok sentiment with financial data APIs to generate comprehensive market insights and analysis.

🎯
xai-crypto-sentiment🎯Skill

xai-crypto-sentiment skill from adaptationio/skrillz

🎯
twelvedata-api🎯Skill

Retrieves comprehensive financial market data including stocks, forex, crypto, and technical indicators using the Twelve Data API.

🎯
xai-x-search🎯Skill

Enables real-time Twitter/X searches using Grok API to extract insights, track trends, monitor accounts, and analyze social discussions.

🎯
xai-agent-tools🎯Skill

Enables autonomous agents to search X, web, execute code, and analyze documents with server-side tool management.

🎯
auto-claude-optimization🎯Skill

Optimizes Claude AI performance by reducing token usage, managing API costs, and improving build speed through intelligent model and context selection.

🎯
auto-claude-setup🎯Skill

Automates comprehensive installation and setup of Auto-Claude across Windows, macOS, Linux, and WSL with multi-platform support and dependency management.