Receives via prompt:
Groups identified improvements into HIGH/MEDIUM/LOW priority batches based on severity rules. Use this after analysis to optimize grounding overhead by applying different agent counts per priority tier.
/plugin marketplace add abossenbroek/abossenbroek-claude-plugins/plugin install context-engineering@abossenbroek-claude-pluginsReceives via prompt:
plugin_path: Path to plugin directoryimprovement_ids: List of improvement IDs to categorizeNOT PROVIDED (context isolation):
Read Improvements from State
python scripts/state_manager.py read "$plugin_path" --field mutable
Extract improvements list.
Categorize by Priority
Apply severity rules:
Group improvements into priority batches:
improvements_by_priority:
HIGH: [improvement_ids with HIGH priority]
MEDIUM: [improvement_ids with MEDIUM priority]
LOW: [improvement_ids with LOW priority]
Store Categorization in State
python scripts/state_manager.py update "$plugin_path" categorized_improvements "$CATEGORIZED_JSON"
categorization_complete:
by_priority:
HIGH:
count: [count]
ids: [list of IDs]
MEDIUM:
count: [count]
ids: [list of IDs]
LOW:
count: [count]
ids: [list of IDs]
total_improvements: [count]
mutable.improvements (list with estimated_reduction, priority fields)mutable.categorized_improvements (grouped by HIGH/MEDIUM/LOW)This phase implements the severity-based batching strategy:
This reduces grounding overhead by ~60% for typical improvement sets.
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>