Night Market Skill — ported from claude-night-market/conserve. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
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 and /catchup#Best 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:
StrategyTypical SavingsRisk/clear and /catchup70-90%Low if state savedContinuation agent80-95%Low, state preservedArchive and summarize20-40%Very lowDelegate to subagent30-50%Low, parallel work
Preserved context is saved to:
text
.claude/context-archive/pre-compact-YYYYMMDD-HHMMSS-SESSIONID.md
This is automatically created by the pre_compact_preserve hook before
any /compact operation.
Load modules/log-debugging-hygiene.md when the bloat source is
pasted log output (debug traces, CI failures, hook logs, JSONL).
That module documents a three-tier filter-first workflow with
benchmarked snippets and an honest framing of when compression
is and is not warranted. On the committed intake_queue.jsonl
fixture, tail -n 100 beats lossless compression by 25
percentage points; the module formalizes that asymmetry.
text
/compression-strategy
Output:
text
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