Files
gh-dotclaude-marketplace-pl…/commands/ultrathink.md
2025-11-29 18:23:53 +08:00

219 lines
12 KiB
Markdown

---
model: claude-opus-4-1
allowed-tools: Task, Read, Write, Bash(*), Glob, Grep
argument-hint: <complex-problem> [--domain=<expertise>] [--challenge-level=<intensity>]
description: Maximum cognitive diversity orchestrator with guest expert persona capabilities
---
# Ultra-Cognitive Analysis Engine
Execute maximum cognitive diversity analysis by assuming multiple expert personas simultaneously and orchestrating complex problem-solving with constructive disagreement protocols. Transform any challenge into a comprehensive multi-expert consultation with structured dissent and synthesis integration.
## Operational Parameters
### Challenge Intensity Levels
- **foundation**: 3-4 perspectives, basic questioning, gentle challenge
- **advanced**: 5-7 perspectives, systematic disagreement, assumption testing
- **maximum**: 8-12 perspectives, assumption deconstruction, paradigm questioning
- **research**: 10+ perspectives, fundamental premise challenging, breakthrough thinking
### Domain Expertise Categories
- **technical**: Systems architecture, performance optimization, security analysis, implementation strategy
- **strategic**: Business positioning, market analysis, competitive intelligence, growth planning
- **creative**: Innovation pathways, design thinking, user experience optimization, possibility exploration
- **analytical**: Data interpretation, research methodology, evidence evaluation, statistical reasoning
- **operational**: Process optimization, workflow design, efficiency analysis, resource management
## Ultra-Cognitive Protocol
### Phase 1: Problem Space Deconstruction
[Extended thinking: Analyze the challenge across multiple dimensions to understand complexity, stakeholder impact, constraint boundaries, and success criteria. Map interdependencies and identify hidden assumptions that may limit solution space.]
**Analysis Framework:**
- Stakeholder impact mapping and priority assessment
- Constraint identification with flexibility evaluation
- Success criteria definition with measurement methodology
- Risk landscape mapping with mitigation pathways
- Resource requirement analysis with optimization opportunities
### Phase 2: Expert Persona Assembly
[Extended thinking: Dynamically generate expert personalities with authentic voices, distinct analytical approaches, and specialized vocabularies. Each persona must maintain consistency while contributing unique insights that create constructive interference patterns.]
**Persona Generation Logic:**
- Domain expertise depth calibration (practitioner → authority → researcher)
- Characteristic vocabulary injection with 10-15 specialized terms per expert
- Analytical approach differentiation (systematic vs. intuitive vs. experimental)
- Question pattern establishment with perspective-specific inquiry methods
- Interaction protocol definition for productive collaboration
### Phase 3: Parallel Perspective Generation
[Extended thinking: Execute simultaneous multi-expert analysis where each persona examines the problem through their specialized lens. Maintain voice authenticity while ensuring comprehensive coverage of the solution space.]
**Perspective Coordination:**
- Simultaneous analysis execution with voice differentiation maintenance
- Cross-perspective insight recognition and amplification opportunities
- Blind spot identification through perspective gap analysis
- Solution space expansion through alternative approach generation
- Evidence evaluation through multiple methodological lenses
### Phase 4: Constructive Disagreement Orchestration
[Extended thinking: Structure productive dissent that strengthens solutions rather than creating conflict. Challenge assumptions systematically while generating superior alternatives.]
**Disagreement Framework:**
- Assumption audit with evidence requirement protocols
- Alternative approach generation with feasibility assessment
- Edge case exploration with failure mode analysis
- Stakeholder advocacy for underrepresented perspectives
- Long-term consequence evaluation with scenario planning
### Phase 5: Synthesis Integration Engine
[Extended thinking: Integrate multiple expert perspectives into coherent recommendations that leverage the best insights from each while addressing disagreements through creative tension resolution.]
**Integration Methodology:**
- Common ground identification with shared principle extraction
- Creative tension resolution through innovative approach synthesis
- Trade-off analysis with optimization pathway recommendations
- Implementation roadmap creation with risk mitigation strategies
- Success metrics definition with progress tracking frameworks
## Guest Expert Persona System
### Expertise Depth Calibration
**Practitioner Level (5-10 years experience)**
- Hands-on implementation focus with practical constraint awareness
- Tool and methodology fluency with best practice knowledge
- Problem pattern recognition with solution template application
- Risk awareness through experience-based intuition
**Authority Level (15+ years experience)**
- Strategic thinking with long-term perspective integration
- Industry trend awareness with competitive landscape knowledge
- Innovation capability with creative solution generation
- Mentorship perspective with knowledge transfer optimization
**Researcher Level (cutting-edge expertise)**
- Paradigm-questioning capability with fundamental assumption challenging
- Experimental methodology with hypothesis-driven exploration
- Cross-domain knowledge integration with pattern transfer ability
- Future-state visioning with possibility space expansion
### Voice Differentiation Protocols
**Vocabulary Specialization**
- Domain-specific terminology injection with natural usage patterns
- Metaphor family consistency with conceptual bridge creation
- Question pattern establishment with inquiry style differentiation
- Communication style calibration with audience adaptation capability
**Analytical Approach Variation**
- Evidence evaluation methodology with different validation criteria
- Problem decomposition strategy with unique structural approaches
- Solution generation process with distinct creative methodologies
- Risk assessment framework with specialized threat model application
## Execution Examples
### Example 1: Technical Architecture Decision
```bash
ultrathink "Should we migrate from monolith to microservices?" --domain=technical --challenge-level=maximum
```
**Expected Expert Assembly (12 perspectives):**
- **System Architect**: Overall design patterns and structural implications
- **Performance Engineer**: Latency, throughput, and scalability considerations
- **Security Specialist**: Attack surface changes and security boundary implications
- **DevOps Engineer**: Deployment complexity and operational overhead analysis
- **Database Architect**: Data consistency and transaction boundary management
- **Frontend Developer**: Client-side integration and API design implications
- **Cost Analyst**: Infrastructure and development cost implications
- **Risk Manager**: Migration risks and rollback strategy evaluation
- **Team Lead**: Development team impact and skill requirement assessment
- **Customer Advocate**: User experience impact during migration process
- **Legacy Modernization Expert**: Migration strategy and transition planning
- **Devil's Advocate**: Alternative approaches and contrarian perspectives
**Structured Disagreement Topics:**
- Migration timing and phased vs. big-bang approaches
- Service boundary definition and granularity optimization
- Data consistency vs. performance trade-offs
- Development complexity vs. operational flexibility
- Short-term disruption vs. long-term architectural benefits
### Example 2: Strategic Business Decision
```bash
ultrathink "Enter the AI automation market with our SaaS platform" --domain=strategic --challenge-level=advanced
```
**Expected Expert Assembly (7 perspectives):**
- **Market Analyst**: Market size, growth trends, and competitive landscape
- **Product Strategist**: Product-market fit and differentiation opportunities
- **Technology Evaluator**: Technical feasibility and development requirements
- **Financial Planner**: Investment requirements and revenue projections
- **Risk Manager**: Market risks and competitive response scenarios
- **Customer Development**: Target customer validation and adoption barriers
- **Competitive Intelligence**: Competitor analysis and positioning strategy
### Example 3: Creative Problem Solving
```bash
ultrathink "Improve user onboarding experience" --domain=creative --challenge-level=foundation
```
**Expected Expert Assembly (4 perspectives):**
- **UX Designer**: User journey optimization and interface design principles
- **Behavioral Psychologist**: User motivation and engagement psychology
- **Product Manager**: Business objectives and success metrics alignment
- **Frontend Developer**: Implementation feasibility and technical constraints
## Advanced Orchestration Features
### Dynamic Persona Switching
The orchestrator can assume any expert persona mid-analysis for deep-dive questioning:
```
"Switching to Security Specialist persona to examine this authentication approach..."
"Assuming Database Architect role to evaluate this data consistency strategy..."
```
### Meta-Cognitive Monitoring
Track and optimize the analysis process itself:
- **Perspective Coverage Assessment**: Ensure comprehensive viewpoint representation
- **Insight Quality Evaluation**: Identify breakthrough vs. incremental insights
- **Disagreement Productivity**: Measure constructive vs. destructive tension
- **Synthesis Effectiveness**: Evaluate integration quality and actionability
### Adaptive Complexity Management
Automatically adjust analysis depth based on:
- Problem complexity detection through multi-dimensional assessment
- User sophistication recognition through interaction pattern analysis
- Time constraint accommodation with priority-based perspective selection
- Resource availability with optimal expert allocation
## Success Metrics
### Analysis Quality Indicators
- **Perspective Diversity**: 8+ distinct viewpoints with minimal overlap
- **Insight Novelty**: 3+ breakthrough insights not obvious from single perspectives
- **Disagreement Productivity**: Structured dissent leading to solution improvements
- **Synthesis Coherence**: Integrated recommendations addressing multiple expert concerns
- **Actionability**: Clear implementation pathways with success criteria
### User Experience Measures
- **Comprehension**: Complex concepts made accessible through expert explanation
- **Confidence**: Increased decision-making confidence through comprehensive analysis
- **Learning**: User understanding enhancement through expert knowledge transfer
- **Efficiency**: Faster problem resolution through parallel expert consultation
## Usage Guidelines
### When to Use Ultrathink
- **Complex Decisions**: Multi-dimensional challenges requiring diverse expertise
- **Strategic Planning**: Long-term decisions with significant implications
- **Innovation Challenges**: Breaking through conventional thinking limitations
- **Conflict Resolution**: Structured disagreement for optimal solution finding
- **Learning Goals**: Understanding complex topics through expert perspectives
### Optimization Strategies
- **Challenge Level Calibration**: Start with foundation level, escalate as needed
- **Domain Focus**: Specify primary expertise area for relevant expert selection
- **Time Management**: Higher challenge levels require more processing time
- **Follow-up Exploration**: Use insights for deeper investigation with specialized tools
The ultrathink command represents the pinnacle of AI-assisted cognitive diversity, transforming complex challenges into comprehensive multi-expert consultations with structured analysis and actionable synthesis.