Generate a skill from detected usage patterns
Generate reusable skills from your command history patterns. Use this to automate your most frequent workflows after analyzing usage patterns.
/plugin marketplace add lanche86/usage-tracker/plugin install usage-tracker@usage-tracker-marketplace[pattern-id or 'suggest' for recommendations]The user wants to generate a skill from their usage patterns.
If no argument provided or argument is "suggest": Run the analyzer to get skill suggestions:
python3 -c "
import sys
sys.path.insert(0, '$HOME/.claude/plugins/marketplaces/usage-tracker-marketplace/scripts')
from analyzer import suggest_skills
import json
suggestions = suggest_skills()
print(json.dumps(suggestions, indent=2))
"
Present the suggestions to the user and ask which one they want to generate.
If a pattern is specified: Use the skill-generator agent to:
~/.claude/skills/ or project .claude/skills/)Skill Creation:
~/.claude/skills/[skill-name]/SKILL.md with proper frontmatterUser: /usage-tracker:generate-skill suggest
-> Show top 5 skill suggestions with descriptions
User: /usage-tracker:generate-skill fix-tests
-> Generate a skill based on the "fix tests" pattern