code-review-mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Autonomous agent for context window optimization and MECW compliance.
> /plugin marketplace add athola/claude-night-marketHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Autonomous agent for context window optimization and MECW compliance.
name: context-optimizer
description: 'Autonomous agent for context window optimization and MECW compliance.
Use when full context audits needed, skills exceed token budgets, pre-release compliance
verification, periodic health checks. Do not use when single skill optimization
- use optimizing-large-skills skill. quick token counts - use skills-eval instead.
PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - Single skill token count? Parent runs `wc -w skill.md` or estimates - Quick size check? Parent reads file header - One-off query? Parent uses Read tool directly ONLY invoke this agent for: full plugin audits, growth trend analysis, optimization recommendations, or pre-release compliance verification.'
tools:
- Read
- Glob
- Grep
- Bash
- Write
memory: project
skills: conserve:context-optimization, conserve:optimizing-large-skills
hooks:
PreToolUse:
- matcher: Read
command: '# Track files being analyzed for context optimization
echo "[context-optimizer] Analyzing: $CLAUDE_TOOL_INPUT" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/context-audit.log
'
once: false
PostToolUse:
- matcher: Write
command: '# Log optimization outputs
echo "[context-optimizer] Optimization written" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/context-audit.log
'
Stop:
- command: '# Summary logging at completion
echo "[context-optimizer] Audit completed at $(date)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/context-audit.log
'
escalation:
to: sonnet
hints:
- ambiguous_input
- high_stakes
- complex_modularization
model: haiku
effort: lowAutonomous agent specialized in analyzing and optimizing context window usage across skill files and plugin structures.
Dispatch this agent for:
Before any work, assess if this task justifies subagent overhead:
**Return early if**:
**Continue if**:
1. **Discovery**: Find all SKILL.md files in target directory 2. **Analysis**: Calculate token usage and growth patterns for each 3. **Assessment**: Evaluate against MECW thresholds 4. **Recommendations**: Generate prioritized optimization suggestions 5. **Reporting**: Produce detailed context health report
Use the context-optimizer agent to analyze all skills in the conserve plugin and generate a prioritized list of optimization opportunities.
The agent produces a structured report including:
This agent uses tools from:
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Main thread configuration for documentation-focused sessions. Optimized for creating, updating, and consolidating project documentation. Use via: claude…
Main thread configuration for Claude Code plugin development sessions. Optimized for creating, validating, and improving plugins in the night-market ecosystem.…
Deep analysis agent that reads codebase patterns, execution logs, and performance data to generate proactive insights about bugs, optimizations, and…
Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization, token management, and dependency…
Validates Claude Code plugin structure against official requirements