Agent skill
ultrathink
Ultra-deep multi-perspective analysis for complex architectural and strategic decisions
Install this agent skill to your Project
npx add-skill https://github.com/thoreinstein/opencode-config/tree/main/skill/ultrathink
SKILL.md
Deep Analysis and Problem Solving Mode
Current Time: !date
Deep analysis and problem solving mode
Instructions
-
Initialize Ultra Think Mode
- Acknowledge the request for enhanced analytical thinking
- Set context for deep, systematic reasoning
- Prepare to explore the problem space comprehensively
-
Parse the Problem or Question
- Extract the core challenge from: $ARGUMENTS
- Identify all stakeholders and constraints
- Recognize implicit requirements and hidden complexities
- Question assumptions and surface unknowns
-
Multi-Dimensional Analysis Approach the problem from multiple angles:
Technical Perspective
- Analyze technical feasibility and constraints
- Consider scalability, performance, and maintainability
- Evaluate security implications
- Assess technical debt and future-proofing
Business Perspective
- Understand business value and ROI
- Consider time-to-market pressures
- Evaluate competitive advantages
- Assess risk vs. reward trade-offs
User Perspective
- Analyze user needs and pain points
- Consider usability and accessibility
- Evaluate user experience implications
- Think about edge cases and user journeys
System Perspective
- Consider system-wide impacts
- Analyze integration points
- Evaluate dependencies and coupling
- Think about emergent behaviors
-
Generate Multiple Solutions
- Brainstorm at least 3-5 different approaches
- For each approach, consider:
- Pros and cons
- Implementation complexity
- Resource requirements
- Potential risks
- Long-term implications
- Include both conventional and creative solutions
- Consider hybrid approaches
-
Deep Dive Analysis For the most promising solutions:
- Create detailed implementation plans
- Identify potential pitfalls and mitigation strategies
- Consider phased approaches and MVPs
- Analyze second and third-order effects
- Think through failure modes and recovery
-
Cross-Domain Thinking
- Draw parallels from other industries or domains
- Apply design patterns from different contexts
- Consider biological or natural system analogies
- Look for innovative combinations of existing solutions
-
Challenge and Refine
- Play devil's advocate with each solution
- Identify weaknesses and blind spots
- Consider "what if" scenarios
- Stress-test assumptions
- Look for unintended consequences
-
Synthesize Insights
- Combine insights from all perspectives
- Identify key decision factors
- Highlight critical trade-offs
- Summarize innovative discoveries
- Present a nuanced view of the problem space
-
Provide Structured Recommendations Present findings in a clear structure:
## Problem Analysis - Core challenge - Key constraints - Critical success factors ## Solution Options ### Option 1: [Name] - Description - Pros/Cons - Implementation approach - Risk assessment ### Option 2: [Name] [Similar structure] ## Recommendation - Recommended approach - Rationale - Implementation roadmap - Success metrics - Risk mitigation plan ## Alternative Perspectives - Contrarian view - Future considerations - Areas for further research -
Meta-Analysis
- Reflect on the thinking process itself
- Identify areas of uncertainty
- Acknowledge biases or limitations
- Suggest additional expertise needed
- Provide confidence levels for recommendations
Usage Examples
# Architectural decision
/project:ultra-think Should we migrate to microservices or improve our monolith?
# Complex problem solving
/project:ultra-think How do we scale our system to handle 10x traffic while reducing costs?
# Strategic planning
/project:ultra-think What technology stack should we choose for our next-gen platform?
# Design challenge
/project:ultra-think How can we improve our API to be more developer-friendly while maintaining backward compatibility?
Key Principles
- First Principles Thinking: Break down to fundamental truths
- Systems Thinking: Consider interconnections and feedback loops
- Probabilistic Thinking: Work with uncertainties and ranges
- Inversion: Consider what to avoid, not just what to do
- Second-Order Thinking: Consider consequences of consequences
Output
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Thinking/YYYY-MM-DD-ultrathink-topic.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Document Structure
Use this template for the Obsidian document:
@~/.config/opencode/templates/thinking-session.md
Output Expectations
- Comprehensive analysis (typically 2-4 pages of insights)
- Multiple viable solutions with trade-offs
- Clear reasoning chains
- Acknowledgment of uncertainties
- Actionable recommendations
- Novel insights or perspectives
$ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
seo
Implement SEO optimizations for specified pages or entire site
runbook
Generate operational runbooks for services, procedures, or incident response
file-organizer
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
commit
Analyze unstaged changes and suggest atomic commit groups with messages
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
Didn't find tool you were looking for?