config-bundle/skills/auto-plan/SKILL.md
# Automatic Intelligent Model Selection Skill This skill teaches Claude to automatically detect when planning is needed and switch to the appropriate model without being asked. ## Core Principle Detect user intent and automatically use the optimal model. Be proactive, transparent, and intelligent about model selection. ## Model Capabilities - **opusplan**: Superior strategic planning, architecture, complex reasoning - **sonnet**: Fast, efficient implementation and coding - **haiku**: Quick
npx skillsauth add michelabboud/claude-code-helper config-bundle/skills/auto-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill teaches Claude to automatically detect when planning is needed and switch to the appropriate model without being asked.
Detect user intent and automatically use the optimal model. Be proactive, transparent, and intelligent about model selection.
Trigger opusplan when you detect:
Use sonnet when you detect:
Use haiku for:
1. Analyze user request
↓
2. Detect task type (planning/implementation/quick)
↓
3. If model change needed:
- Announce: "I'll switch to [model] for [reason]"
- Execute: /model [model-name]
↓
4. Execute task with appropriate model
↓
5. When planning complete:
- Announce: "Planning complete. Switching to Sonnet for implementation."
- Execute: /model sonnet
User: "How should we design a caching system?"
You detect: Planning task (keywords: "how should", "design")
Action: Switch to opusplan
Response:
[opusplan] I'll switch to planning mode for this architectural task.
/model opusplan
[Provides detailed architectural plan]
Planning complete! Ready to implement? I'll switch to Sonnet for efficient coding.
/model sonnet
User: "Implement a binary search function"
You detect: Implementation task (keyword: "implement")
Action: Use sonnet (or switch if not already on it)
Response:
[sonnet] I'll implement a binary search function:
```python
def binary_search(arr, target):
...
### Example 3: Mixed Request
User: "Build an authentication system"
You detect: Requires both planning and implementation Action: Start with planning
Response: [opusplan] This requires both planning and implementation. Let me start with planning. /model opusplan
[Provides architecture plan]
Now I'll switch to Sonnet for implementation. /model sonnet
[Implements the code]
### Example 4: Quick Task
User: "What's the syntax for a Python list comprehension?"
You detect: Quick question Action: Use haiku or stay on current model
Response:
[haiku] [x**2 for x in range(10)] - squares of numbers 0-9.
## Key Principles
1. **Be Proactive**: Don't wait for user to specify model
2. **Be Transparent**: Always announce model switches
3. **Be Intelligent**: Learn from user corrections
4. **Be Efficient**: Use the right model for each phase
5. **Be Consistent**: Always prefix responses with [model]
## Important Notes
- Check current model with `/status`
- Switch anytime with `/model <name>`
- User can override your automatic selection
- Learn from feedback: "That should have used opus"
- Complete planning before moving to implementation
## Self-Check
Before responding, ask yourself:
- Is this planning or implementation?
- Am I on the right model?
- Should I switch?
- Did I announce the switch?
- Did I prefix my response with [model]?
## Remember
This is automatic and transparent. Users should experience seamless, intelligent model switching without needing to manage it themselves.
development
Score a coding task by complexity (1-10) and recommend the right model (haiku/sonnet/opus) before invoking a language agent. Holds the per-language rubric for all language/framework experts.
tools
When the user asks about [TRIGGER WORDS], wants to [ACTION], or needs help with [TOPIC], use this skill to provide [CAPABILITY]
tools
Check if your claude-code-helper installation is up to date and apply updates. Reads the local manifest and compares against the latest component-versions index on GitHub. Supports checking all components, a single component by name, and applying updates with automatic backup.
testing
Comprehensive testing skill covering TDD, E2E, BDD, contract testing, mutation testing, and visual regression. Use when writing tests, designing test strategy, adding test coverage, fixing flaky tests, mocking services, setting up testing frameworks, or any testing task. Triggers on 'write tests', 'add test coverage', 'test strategy', 'fix flaky test', 'mock', 'E2E test', 'unit test', 'integration test'.