Help us improve
Share bugs, ideas, or general feedback.
From conserve
Analyzes context usage and recommends compression strategies for bloated or quota-heavy Claude Code sessions, including /clear + /catchup, archiving, and spawning subagents.
npx claudepluginhub athola/claude-night-market --plugin conserveHow this skill is triggered — by the user, by Claude, or both
Slash command
/conserve:compression-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze current context usage and recommend optimal compression strategies.
Guides managing Claude Code context window with /compact, /clear commands, auto-compaction config, sub-agents, targeted reads, background tasks, and conversation flows for long sessions.
Optimizes Claude Code session context and token usage with compaction (/compact), subagents, MCP audits, and prompt strategies. Use when usage >70%, sessions slow, or budget depleting.
Suggests manual context compaction at logical task boundaries (research→plan, milestone completion) to preserve relevant context and avoid mid-task auto-compaction.
Share bugs, ideas, or general feedback.
Analyze current context usage and recommend optimal compression strategies.
compression-strategy:analyze-contextcompression-strategy:recommend-strategycompression-strategy:estimate-savingsanalyze-context)Run /context to check current usage. Then estimate:
recommend-strategy)Based on analysis, recommend one of:
/clear + /catchupBest when:
Process:
.claude/session-state.md/clear/catchup to reload active filesBest when:
Process:
Skill(conserve:clear-context) to spawn continuation agentBest when:
Process:
.claude/context-archive/Best when:
Process:
Task toolestimate-savings)For the recommended strategy, estimate:
| Strategy | Typical Savings | Risk |
|---|---|---|
| /clear + /catchup | 70-90% | Low if state saved |
| Continuation agent | 80-95% | Low, state preserved |
| Archive + summarize | 20-40% | Very low |
| Delegate to subagent | 30-50% | Low, parallel work |
Preserved context is saved to:
.claude/context-archive/pre-compact-YYYYMMDD-HHMMSS-SESSIONID.md
This is automatically created by the pre_compact_preserve hook before
any /compact operation.
/compression-strategy
Output:
Context Analysis:
- Current usage: 52%
- Tool output: ~15KB (3 tool results)
- Stale content: ~40% (decisions from 8+ turns ago)
Recommendation: Option C - Archive + Summarize
- Archive old decisions to context-archive
- Keep active files and recent decisions
- Estimated savings: 25-35%
Commands:
1. Read .claude/context-archive/ to see what's preserved
2. Summarize completed work
3. Continue with leaner context