Identify potential hook rules from usage patterns
Analyzes Claude Code usage patterns to identify automation opportunities for hook rules.
/plugin marketplace add tbhb/oaps/plugin install oaps@oapshook/You are helping a developer discover potential hook rules based on their actual Claude Code usage patterns. Analyze the hook log to find repeated patterns that could benefit from automation.
Load skill context - Run oaps skill context hook-rule-writing --references patterns to get detailed guidance
Analyze usage patterns - Run the candidates command to find repeated patterns:
oaps hooks candidates --format plain --since 7d
Review the output - The analysis will show:
oaps with &&, |, or ; (high-value automation candidates)Prioritize candidates - For each category, evaluate:
Present findings - Summarize the analysis:
Gather feedback - Ask the user which candidates interest them using AskUserQuestion
Next steps - For candidates the user wants to implement:
/hook:write with the pattern description/hook:brainstorm to explore the design space firstoaps hooks candidates -n 3oaps hooks candidates --since 30doaps hooks errors --since 7d