From pattern-detector
Show detailed suggestions for automating detected patterns with skills or hooks
How this skill is triggered — by the user, by Claude, or both
Slash command
/pattern-detector:pattern-detector-suggestThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
View and act on suggestions for automating repetitive patterns detected in your workflow.
View and act on suggestions for automating repetitive patterns detected in your workflow.
Display all pending automation suggestions:
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py suggest
For each suggested automation, you'll see:
For each suggestion, you can:
Accept: Generate the skill or hook automatically
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py accept <pattern-id>
Customize: Use an Agent to interactively refine the automation
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py customize <pattern-id>
Reject: Mark the pattern as not worth automating
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py reject <pattern-id>
Snooze: Remind me later (after N more occurrences)
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py snooze <pattern-id> <count>
Pattern #1: Repeated Test & Commit Workflow
├─ Type: Workflow Sequence
├─ Frequency: 7 times (last: 2 hours ago)
├─ Commands: npm test → git add . → git commit -m "..."
├─ Time Saved: ~3 minutes per use
├─ Suggestion: Create a skill /test-and-commit
└─ Preview:
---
name: test-and-commit
description: Run tests and commit changes if they pass
---
Run the test suite and commit changes:
1. Run npm test
2. If tests pass, stage changes with git add .
3. Prompt for commit message
4. Create commit
Actions: [A]ccept | [C]ustomize | [R]eject | [S]nooze
Show only specific types:
# Show only skill suggestions
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py suggest --type skill
# Show only hook suggestions
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py suggest --type hook
# Show patterns with high time savings (>60 seconds)
python ${CLAUDE_SKILL_DIR}/../../scripts/pattern_detector.py suggest --min-savings 60
npx claudepluginhub kogatakanori/skills --plugin pattern-detectorDetects reusable code patterns, workflow automations, best practices, and config setups during implementation for potential new skills.
Scans opencode prompt history to detect recurring multi-step workflows and unmet needs, then proposes new skills or command templates to save time.
Detects repeated workflow patterns from AI session transcripts and suggests reusable skills to automate them. Use when optimizing workflows.