Context Window Management

Community

Keep context lean and handoffs seamless.

Authorjason-hchsieh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Context is finite; without deliberate management, long-running AI sessions suffer from context bloat, misalignment between agents, and risky handoffs. This skill provides a disciplined approach to maintain coherence across phases and ensure reliable transitions between agent instances.

Core Features & Use Cases

  • Monitor context usage across phases and apply compression when usage crosses defined thresholds.
  • Spawn fresh agents for long-running sessions to prevent context overflow and preserve critical decisions in the progress file.
  • Support per-worktree isolation and explicit checkpoints to enable seamless handoffs and robust recovery.

Quick Start

Describe current session context usage, compress context beyond 50%, spawn a fresh agent when usage exceeds 80%, and update .workflow/state/progress.md accordingly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Context Window Management
Download link: https://github.com/jason-hchsieh/mycelium/archive/main.zip#context-window-management

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.