Night Market Skill — ported from claude-night-market/conserve. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
python
def select_optimal_modules(context_situation, task_complexity):
if context_situation == "CRITICAL":
return ['mecw-assessment', 'subagent-coordination']
elif task_complexity == 'high':
return ['mecw-principles', 'subagent-coordination']
else:
return ['mecw-assessment']
UtilizationStatusAction< 30%LOWContinue normally30-50%MODERATEMonitor, apply principles> 50%CRITICALImmediate optimization required
Behavior Change: Large bash command and tool outputs are saved to disk instead of being truncated; file references are provided for access.
ScenarioBefore 2.1.2After 2.1.2Large test outputTruncated, partial dataFull output via file referenceVerbose build logsLost after 30K charsComplete, accessible on-demandContext pressureLess from truncationSame - only loaded when read
head, tail, or grep on file references.modules/mecw-principles.md for core concepts, the 50% rule, and quick-start code examples.modules/mecw-assessment.md for risk identification.modules/subagent-coordination.md for decomposition patterns.modules/context-waiting.md for deferred loading strategies.If context usage remains high after optimization, check for large files that were read entirely rather than selectively. If MECW assessments fail, ensure that your environment provides accurate token count metadata. For permission errors when writing output logs to /tmp, verify that the project's temporary directory is writable.