auto-skill discover
Analyze your current project to discover relevant patterns and suggest skills. Auto-Skill scans local workflow patterns and optionally queries external skill sources like Skills.sh.Usage
Options
Path to the project to analyze. Defaults to the current working directory.
Disable Mental CLI integration for semantic analysis
Disable Skills.sh external skill discovery
Maximum number of skill suggestions to return
Output results in JSON format
How It Works
Project Context Analysis
Analyzes files, languages, and frameworks in the specified project directory
Local Pattern Detection
Scans your recent workflow history for repeated tool sequences and successful patterns
Discovery Methods
Local Pattern Detection
Analyzes your workflow history to detect:- Repeated sequences - Same tool calls 3+ times
- Success patterns - High success rate on similar tasks
- Error recovery - Successful self-correction workflows
- Design patterns - Architectural patterns (MVC, Factory, TDD, etc.)
External Skill Discovery
Searches 27,000+ community skills from:- Skills.sh registry - Verified community skills
- RFC 8615 well-known endpoints - Organization skill catalogs
- GitHub repositories - Skills with
SKILL.mdfiles
Hybrid Recommendations
Combines local and external discovery to suggest:- Graduation candidates - Local patterns matching proven external skills
- Enhancement opportunities - External skills that complement your workflow
- Best practices - Battle-tested patterns from the community
Examples
Discover for Current Project
Auto-Skill needs some workflow history before it can detect patterns. Use your coding agent normally, and patterns will appear after 3+ occurrences.
Discover for Specific Project
Disable External Discovery
- Offline development
- Private/sensitive projects
- Faster discovery (local-only)
Disable Mental Integration
Limit Results
JSON Output
Pattern Detection Criteria
Patterns are detected when they meet these thresholds (configurable in~/.claude/auto-skill.local.md):
Minimum repetitions to detect a pattern
Minimum confidence score (0.0-1.0) to suggest
Days of history to analyze
Confidence Scoring
Suggestions are scored based on:| Confidence | Source | Meaning |
|---|---|---|
| 50% | External | Relevant based on project context |
| 75% | Local | Proven pattern in your workflow |
| 85% | Graduated | Battle-tested (used 5+ times, 80%+ success) |
| 90%+ | Hybrid | Local pattern + matching community skill |
Related Commands
Graduate Skills
Promote local patterns to permanent skills
View Telemetry
Check which patterns are most effective