From ccpp
Guides context window management and token optimization in Claude sessions using /compact, /clear, and handoff patterns to maintain performance beyond 80-100k tokens.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccpp:compact-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
컨텍스트는 신선한 우유와 같습니다. 시간이 지나면 상합니다.
컨텍스트는 신선한 우유와 같습니다. 시간이 지나면 상합니다.
작업 시작
↓
3-5개 작업 완료
↓
/compact (토큰 압축)
↓
3-5개 작업 완료
↓
/compact
↓
3-5개 작업 완료
↓
/compact
↓
/handoff (HANDOFF.md 생성)
↓
/clear (초기화)
↓
새 세션에서 HANDOFF.md 읽기
200k 토큰까지 쓸 수 있지만, 80-100k 넘으면 품질 저하!
npx claudepluginhub jh941213/my-cc-harness --plugin ccppSuggests manual context compaction at logical intervals via a pre-tool hook, preserving context through task phases rather than relying on arbitrary auto-compaction.
Suggests manual /compact at logical intervals (e.g., after research, before implementation) to preserve context through task phases. Activates when context pressure builds or after milestones, using a hook script to track tool calls.
Manages context window and token budget with compaction strategies, MCP audits, subagent delegation, and prompt engineering tips.