Universal Analyzer
A standalone skill for multi-perspective analysis of any topic, file, idea, or decision.
Use when:
- Need to extract KEY POINTS from anything
- Want multi-perspective gap/risk analysis (4-10 experts)
- Need improvement opportunities with actionable plans
- Want quick summary OR deep analysis mode
- Need first-principles brief that challenges assumptions
Triggers: "analyze", "key points", "what's important", "improve this", "review", "examine", "assess", "analysis", "deep analysis", "run deep analysis", "brief", "challenge assumptions", "first principles"
Agent Capabilities
| Capability |
Used For |
Required |
Fallback |
| File read |
Load target files/folders |
Yes |
— |
| Sub-agent dispatch |
Parallel perspective analysis |
Recommended |
Sequential in main thread |
Codebase intelligence (npx codebase-intelligence) |
Structural analysis for TS/TSX software domain |
No |
Pure reasoning from file contents |
This skill remains fully functional without CLI tools. Codebase intelligence is an optional enhancement for the software domain only.
Table of Contents
- Quick Start
- Analysis Modes
- Execution Flow
- Output Formats
- Perspectives Library
- Thinking Framework
- First-Principles Analysis
- Examples
Quick Start
# Quick analysis (fast key points)
analyze quick "our pricing strategy"
analyze brief src/api/auth.ts
# Standard analysis (default)
analyze "SaaS product for developers"
analyze "should I accept this job offer"
analyze package.json
# Deep analysis (comprehensive)
analyze deep "company rebrand strategy"
analyze thorough "migration to microservices"
Analysis Modes
| Mode |
Triggers |
Agents |
Duration |
Output |
| Quick |
"quick", "fast", "brief", "summary" |
0-1 |
30-60s |
Key Points + Actions |
| Standard |
(default) |
4-6 |
2-4min |
Multi-Perspective + Roadmap |
| Deep |
"deep", "thorough", "comprehensive" |
6-10 |
5-8min |
Full Synthesis + Detailed Plan |
Execution Flow
Phase 0: Detection
- Mode: Detect from keywords (quick/standard/deep)
- Domain: Auto-detect from content/keywords
- Target: Load file/folder content if path provided
- TypeScript detection: If target is a code path and
tsconfig.json exists:
- Detection gate:
tsconfig.json exists + npx codebase-intelligence --help succeeds
- For full CLI reference, fetch
https://raw.githubusercontent.com/bntvllnt/codebase-intelligence/main/llms.txt
- If available: gather structural data in Phase 1
- If unavailable: proceed with pure file-reading context gathering
Phase 1: Context Gathering
- File/folder path → Read files
- Software domain + TypeScript + CI available → Augment file reading with:
npx codebase-intelligence overview --json <path> → project structure snapshot
npx codebase-intelligence modules --json <path> → module boundaries and cross-deps
npx codebase-intelligence groups --json <path> → directory-level aggregates
Include as structured context alongside file contents. If CI unavailable: read files only.
- Topic/idea → Use provided context
- Unfamiliar domain → Optional web search
Phase 2: Analysis
Quick Mode
Direct analysis by primary agent, no sub-agents
Standard Mode
- Select 4-6 perspectives based on domain
- Launch all perspectives in parallel (single message block)
- Each agent answers 7 core questions
Deep Mode
- Select 6-10 perspectives based on domain
- Launch all perspectives in parallel (single message block)
- Each agent answers 12 questions (7 core + 5 deep)
Software Domain Enhancement (TypeScript + CI available)
Include pre-computed structural data in software domain agent prompts:
npx codebase-intelligence hotspots --json --metric complexity --limit 20 → complexity/churn hotspots
npx codebase-intelligence forces --json → cohesion/coupling tensions per module
npx codebase-intelligence dead-exports --json --limit 20 → unused export analysis
npx codebase-intelligence clusters --json → dependency community clusters
Agents receive this as structured context alongside the target content. Supplements their analysis — does not replace independent reasoning. If CI unavailable: agents analyze from file contents only.
Phase 3: Synthesis
After ALL agents complete:
- Aggregate Failure Hypotheses → prioritize Critical→High→Med→Low
- Extract TOP 10 key points → rank by consensus
- Identify gaps → Critical/High/Medium/Low
- Generate actionable roadmap with dependencies
Output Formats
Quick Mode
# Quick Analysis: [Target]
**Mode**: Quick | **Domain**: [Domain] | **Date**: [Date]
## The Essence
[1-2 sentences: What this ACTUALLY is at its core, stripped of complexity]
## Verified Facts
- [Fact 1] — evidence: `path/file:line` or [source]
- [Fact 2] — evidence: ...
- [Fact 3] — evidence: ...
## Key Points (Top 5-10)
1. **[Most Important]**: [Explanation]
2. **[Second]**: [Explanation]
...
## Assumptions to Challenge
| Assumption | Evidence For | Evidence Against | Verdict |
|------------|-------------|------------------|---------|
| [Assumed thing] | [If any] | [If any] | Validate/Keep/Discard |
## What You Haven't Considered
1. **[Critical Item]**: [Why this matters, what to do about it]
2. **[Hidden Risk/Opportunity]**: [Explanation]
3. **[Simpler Alternative?]**: [If exists, describe it]
## The Real Question
[Reframe what the user should actually be asking about this]
## Quick Actions (Top 3-5)
- [ ] [Action 1] - [Why/Impact]
- [ ] [Action 2] - [Why/Impact]
- [ ] [Action 3] - [Why/Impact]
## Critical Risk to Watch
[The one thing that could derail this]
Standard Mode
# Analysis: [Target]
**Mode**: Standard | **Domain**: [Domain] | **Perspectives**: [Count]
**Date**: [Date] | **Hypotheses**: [Count] total
## The Essence
[1-2 sentences: What this ACTUALLY is at its core, stripped of complexity]
## Executive Summary
[2-3 sentences capturing most critical findings]
## First-Principles Analysis
### Verified Facts
- [Fact 1] — evidence: `path/file:line` or [source] — confidence: High/Medium/Low
- [Fact 2] — evidence: ... — confidence: ...
### Assumptions to Challenge
| Assumption | Evidence For | Evidence Against | Verdict |
|------------|-------------|------------------|---------|
| [Assumed thing] | [If any] | [If any] | Validate/Keep/Discard |
### What You Haven't Considered
1. **[Critical Item]**: [Why this matters, what to do about it]
2. **[Hidden Risk/Opportunity]**: [Explanation]
3. **[Simpler Alternative?]**: [If exists, describe it]
4. **[Downstream Impact]**: [What this affects that wasn't mentioned]
### The Real Question
[Reframe what the user should actually be asking about this]
## Failure Hypotheses (Aggregated)
| ID | Type | IF (Trigger) | THEN (Failure) | BECAUSE | Sev | Mitigation |
|----|------|--------------|----------------|---------|-----|------------|
| S001 | Security | ... | ... | ... | Crit | ... |
| M001 | Misuse | ... | ... | ... | High | ... |
### Critical Mitigations Required
- [ ] {mitigation} ← Addresses: S001, M001
## Key Points (Ranked by Importance)
### Consensus Points (Flagged by 3+ perspectives)
1. **[Point]** - [Why important] (Flagged by: [Perspectives])
### Important Points
2. **[Point]** - [Explanation]
### Divergent Views
- **[Topic]**: [Perspective A] sees X, [Perspective B] sees Y
- *Implication*: [What this tension means]
## Gap Analysis
### Critical Gaps (Action Required)
| Gap | Flagged By | Impact | Suggested Action |
|-----|------------|--------|------------------|
| ... | ... | High | ... |
### High Priority Gaps
[Grouped by theme]
## Improvement Opportunities
### Top 5 Improvements
1. **[Improvement]**: [Details] - Expected Impact: [High/Medium/Low]
## Action Plan & Roadmap
### Immediate Actions (This Week)
| Action | Owner | Dependencies | Success Criteria |
|--------|-------|--------------|------------------|
| ... | [TBD] | None | ... |
### Short-term (1-2 Weeks)
| Action | Dependencies | Resources Needed | Outcome |
|--------|--------------|------------------|---------|
| ... | Immediate #1 | ... | ... |
## Cross-cutting Concerns
[Issues flagged by 3+ perspectives]
Deep Mode
Deep mode extends Standard format with:
- Additional 5 questions per agent (12 total)
- Medium-term (1 Month) and Long-term (3+ Months) roadmap sections
- Dependency map visualization
- Risk mitigation table
- More detailed failure hypotheses
Perspectives Library
Domain Detection
Analyze content/keywords to auto-detect domain:
| Domain |
Trigger Keywords |
Example Targets |
| business |
startup, business, market, revenue |
"coffee subscription", business-plan.md |
| product |
product, feature, user, MVP |
"habit tracking app", roadmap.md |
| software |
API, code, function, class, tech |
src/auth, package.json |
| process |
workflow, process, SOP, operations |
"hiring workflow", "incident response" |
| document |
doc, article, proposal, report |
"resume", proposal.docx |
| research |
research, study, hypothesis, data |
"hypothesis: remote work" |
| creative |
design, art, brand, visual |
"rebrand", logo-designs/ |
| personal |
decision, "should I", career, life |
"moving to Austin", "career change" |
| legal |
contract, legal, policy, terms |
"employment contract" |
| financial |
budget, investment, cost, ROI |
"Q4 budget", "pricing strategy" |
| marketing |
campaign, marketing, sales, brand |
"email campaign", "launch strategy" |
| event |
event, conference, launch |
"product launch", "conference plan" |
| education |
course, curriculum, teaching |
"bootcamp curriculum" |
| general |
(fallback when no domain matches) |
Any general topic |
Perspective Roles by Domain
Business Domain
- Startup Founder - Viability, growth, scalability
- Investor - ROI, risk, market size
- CFO - Unit economics, burn rate, margins
- Customer - Value proposition, willingness to pay
- Competitor - Differentiation, competitive moats
- Market Analyst - TAM, trends, timing
Product Domain
- Product Manager - User needs, roadmap, prioritization
- Designer (UX) - Usability, user flows, accessibility
- Customer - Actual use cases, pain points
- QA Engineer - Edge cases, error states
- Data Analyst - Metrics, success criteria
- Support Lead - Maintenance burden, user confusion
Software Domain
- Security Engineer - Vulnerabilities, attack vectors
- DevOps - Deployment, monitoring, reliability
- Architect - Design patterns, scalability, debt
- QA Engineer - Test coverage, edge cases
- Performance Engineer - Bottlenecks, resource usage
- Tech Lead - Maintainability, team velocity
Process Domain
- Operator - Daily execution, friction points
- Manager - Efficiency, bottlenecks, metrics
- Employee - Experience, clarity, pain points
- Auditor - Compliance, documentation, risks
- Improvement Specialist - Waste, optimization
Personal Domain
- Future You (1 year) - Long-term impact
- Future You (5 years) - Career trajectory
- Skeptic - Risks, downsides, failure modes
- Supporter - Strengths, opportunities
- Financial Advisor - Money implications
- Life Coach - Values alignment, fulfillment
General Domain (Fallback)
- Analyst - Facts, data, patterns
- Critic - Weaknesses, risks, gaps
- Advocate - Strengths, opportunities
- Pragmatist - Feasibility, resources, timeline
- Strategist - Long-term implications, alternatives
- Devil's Advocate - Unconsidered downsides
Per-Agent Prompt Template
Standard Mode (7 questions):
You are a [Role]. Analyze:
TARGET: [content]
Answer these 7 questions:
1. KEY POINTS: 3-5 most important elements?
2. CORE INSIGHT: Single most critical thing?
3. GAPS: What's missing or incomplete?
4. RISKS: What could go wrong?
5. ASSUMPTIONS: What needs validation?
6. IMPROVEMENTS: Top 3 ways to improve?
7. BLIND SPOTS: What isn't being considered?
FAILURE HYPOTHESES: For each risk/gap:
| ID | IF (Trigger) | THEN (Failure) | BECAUSE | Severity | Mitigation |
Include MISUSE + ADVERSARIAL hypotheses.
Rate findings: Critical/High/Medium/Low
Deep Mode (12 questions = 7 core + 5 additional):
- DEPENDENCIES: What does success depend on?
- ALTERNATIVES: What other approaches should be considered?
- TIMELINE RISKS: What could cause delays or failure?
- RESOURCE GAPS: What's missing to execute well?
- SUCCESS METRICS: How would you measure success?
Thinking Framework
The UltraThink Loop
THINK → CHECKLIST → PLAN → EXECUTE → VALIDATE → LEARN
Phase 0: THINK
Select thinking model based on task type:
| Model |
When to Use |
Pattern |
| CoT (Chain of Thought) |
Linear, sequential tasks |
Step-by-step reasoning |
| ToT (Tree of Thought) |
Multiple valid paths, decisions |
Evaluate branches, pick best |
| Reflexion |
Learning from failure, retry logic |
Analyze error → adjust → retry |
| Decomposition |
Complex tasks, parallel work |
Break into sub-problems |
For Analysis: Use ToT (multi-perspective evaluation) for Standard/Deep, CoT for Quick
Phase 1: CHECKLIST
Phase 2: PLAN
For Standard/Deep:
1. Detect mode from keywords
2. Detect domain from content
3. Select N perspectives (4-6 for standard, 6-10 for deep)
4. Launch all agents in ONE message block
5. Wait for completion
6. Synthesize findings
7. Generate output
Phase 3: EXECUTE
Execute plan with progress tracking. On failure → trigger Reflexion (max 2 retries)
Phase 4: VALIDATE
- All agents returned findings? ✓
- Cross-cutting concerns identified? ✓
- Actionable roadmap generated? ✓
Phase 5: LEARN
Capture patterns for continuous improvement
Self-Correction Guide
| Issue |
Check |
Fix |
Escalate If |
| Shallow analysis |
Domain auto-detected? |
Add specific perspectives |
Still shallow after 2 retries |
| Mode mismatch |
User keywords? |
Ask for clarification |
Agent count doesn't match |
| Weak synthesis |
All agents complete? |
Re-run failed agents |
<3 perspectives useful |
| Wrong domain |
Keywords ambiguous? |
Ask user explicitly |
Multiple domains equally valid |
Max iterations: 2 | Escalation: Ask user to specify domain/perspectives
First-Principles Analysis
Philosophy: Don't just summarize—decompose to fundamentals, surface what's actually true vs assumed, and raise what the user hasn't considered. User must always get data to make their own decisions.
A. Verified Facts (Separate from Assumptions)
- Only report what can be VERIFIED with evidence
- Include source:
path/file:line or [URL]
- Mark confidence: High (verified) / Medium (inferred) / Low (stated but unverified)
B. First-Principles Decomposition
Apply these questions to EVERYTHING found:
1. Question Assumptions
- What's being assumed that hasn't been validated?
- Is this constraint real or inherited from old decisions?
- What would change if [assumption] were false?
2. Decompose to Fundamentals
- What MUST be true for this to work?
- What are the actual dependencies (not just stated ones)?
- What's the irreducible core?
3. Systems Thinking
- What else does this affect? (upstream/downstream)
- What's the blast radius if this fails?
- What's competing for the same resources?
4. Root Cause vs Symptom
- Is the current state addressing root cause or masking symptoms?
- Why does this exist in its current form?
- What problem was this originally solving?
C. Assumptions to Challenge (MANDATORY)
Every analysis MUST include this table:
| Assumption |
Evidence For |
Evidence Against |
Verdict |
| [Assumed thing] |
[If any] |
[If any] |
Validate/Keep/Discard |
D. What You Haven't Considered (MANDATORY 2-4 items)
Surface items the user likely hasn't thought about:
| Category |
What to Look For |
| Unvalidated Assumptions |
Things treated as true without evidence |
| Hidden Dependencies |
Non-obvious things this relies on |
| Downstream Impacts |
What breaks if this changes |
| Simpler Alternatives |
Is there a 10x simpler approach? |
| Edge Cases |
What inputs/states break this? |
| Technical Debt |
Shortcuts that will cost later |
| Missing Pieces |
What's conspicuously absent? |
E. The Real Question
Reframe what the user should actually be asking. Often the stated question isn't the right question.
Examples
Example 1: Quick Mode
Input: analyze quick "our pricing strategy"
Output:
# Quick Analysis: Pricing Strategy
**Mode**: Quick | **Domain**: Business | **Date**: 2026-01-28
## The Essence
A business decision about how to extract value from customers, constrained by market dynamics and competitive positioning.
## Verified Facts
- (Would include actual facts from provided content)
## Key Points
1. **Pricing = value capture, not cost recovery**: Price based on customer willingness to pay, not internal costs
2. **Anchor matters**: First price seen shapes all subsequent evaluations
...
## Assumptions to Challenge
| Assumption | Evidence For | Evidence Against | Verdict |
|------------|-------------|------------------|---------|
| "Customers will pay more if we add features" | Common belief | Often false - bloat reduces WTP | Validate with tests |
## What You Haven't Considered
1. **Price as a signal**: Low price may signal low quality, harming conversion
2. **Competitive response**: Price changes trigger competitor reactions
3. **Simplicity premium**: Simpler pricing often outperforms complex tiers
## The Real Question
Not "what price should we charge" but "what's the maximum value customers perceive, and how do we capture 30-50% of it?"
## Quick Actions
- [ ] Survey 20 target customers on WTP before changing price
- [ ] A/B test 2-3 price points on landing page
- [ ] Model competitor response scenarios
## Critical Risk to Watch
Pricing too low initially makes raising prices later extremely difficult (customer backlash + anchoring effect)
Example 2: Standard Mode
Input: analyze "SaaS product for developers"
Flow:
1. Detect mode: standard (no quick/deep keywords)
2. Detect domain: product + software
3. Select 6 perspectives:
- Product Manager
- Developer (user persona)
- Security Engineer
- DevOps
- Support Lead
- Investor
4. Launch all 6 agents in parallel
5. Synthesize findings into standard format
6. Generate actionable roadmap
Output: [Standard format with all sections filled]
Example 3: Deep Mode
Input: analyze deep "migration to microservices"
Flow:
1. Detect mode: deep
2. Detect domain: software
3. Select 10 perspectives:
- Architect
- DevOps
- Security Engineer
- Database Engineer
- Frontend Developer
- QA Engineer
- Performance Engineer
- SRE
- Tech Lead
- CTO
4. Launch all 10 agents in parallel
5. Each answers 12 questions (7 core + 5 deep)
6. Synthesize into deep format with dependency map
7. Generate comprehensive roadmap (immediate/short/medium/long)
Output: [Deep format with extended sections]
Common Failure Patterns
| Failure |
Root Cause |
Reflexion Response |
| Wrong domain detected |
Ambiguous keywords |
Ask user explicitly or use General domain |
| Too few perspectives |
Quick mode used for complex topic |
Escalate to Standard mode |
| Weak synthesis |
Agent outputs inconsistent |
Re-run with explicit constraints |
| Missing blind spots |
Obvious perspectives chosen |
Add Devil's Advocate perspective |
| Roadmap not actionable |
Actions too vague |
Break each action into atomic: owner, deadline, metric |
| Analysis takes >2min |
Too many agents (Deep mode overkill) |
Switch to Standard mode |
Integration Notes
This skill is standalone and includes all necessary frameworks:
- UltraThink cognitive framework (embedded)
- First-principles analysis (embedded)
- Perspectives library (embedded)
- Output formats (embedded)
No external dependencies required.
Optional enhancement: For software domain analysis of TypeScript codebases, codebase-intelligence CLI (npx codebase-intelligence --json) provides structural data — hotspots, coupling, dead exports, module boundaries, blast radius. Detection: tsconfig.json must exist. For full CLI reference, fetch https://raw.githubusercontent.com/bntvllnt/codebase-intelligence/main/llms-full.txt. The skill works identically without it — data is supplementary context for perspective agents.
License
MIT License - Free to use, modify, and distribute.
Version
v1.0.0 - 2026-01-28 - Initial public release by bntvllnt
1---2name: analyze3description: Universal multi-perspective analyzer for any topic, file, idea, or decision. Extract key points, find gaps/risks, identify improvements with actionable plans.4---56# Universal Analyzer78**A standalone skill for multi-perspective analysis of any topic, file, idea, or decision.**910Use when:11- Need to extract KEY POINTS from anything12- Want multi-perspective gap/risk analysis (4-10 experts)13- Need improvement opportunities with actionable plans14- Want quick summary OR deep analysis mode15- Need first-principles brief that challenges assumptions1617Triggers: "analyze", "key points", "what's important", "improve this", "review", "examine", "assess", "analysis", "deep analysis", "run deep analysis", "brief", "challenge assumptions", "first principles"1819## Agent Capabilities2021| Capability | Used For | Required | Fallback |22|------------|----------|----------|----------|23| File read | Load target files/folders | Yes | — |24| Sub-agent dispatch | Parallel perspective analysis | Recommended | Sequential in main thread |25| Codebase intelligence (`npx codebase-intelligence`) | Structural analysis for TS/TSX software domain | No | Pure reasoning from file contents |2627This skill remains fully functional without CLI tools. Codebase intelligence is an optional enhancement for the software domain only.2829---3031## Table of Contents32331. [Quick Start](#quick-start)342. [Analysis Modes](#analysis-modes)353. [Execution Flow](#execution-flow)364. [Output Formats](#output-formats)375. [Perspectives Library](#perspectives-library)386. [Thinking Framework](#thinking-framework)397. [First-Principles Analysis](#first-principles-analysis)408. [Examples](#examples)4142---4344## Quick Start4546```bash47# Quick analysis (fast key points)48analyze quick "our pricing strategy"49analyze brief src/api/auth.ts5051# Standard analysis (default)52analyze "SaaS product for developers"53analyze "should I accept this job offer"54analyze package.json5556# Deep analysis (comprehensive)57analyze deep "company rebrand strategy"58analyze thorough "migration to microservices"59```6061---6263## Analysis Modes6465| Mode | Triggers | Agents | Duration | Output |66|------|----------|--------|----------|--------|67| **Quick** | "quick", "fast", "brief", "summary" | 0-1 | 30-60s | Key Points + Actions |68| **Standard** | (default) | 4-6 | 2-4min | Multi-Perspective + Roadmap |69| **Deep** | "deep", "thorough", "comprehensive" | 6-10 | 5-8min | Full Synthesis + Detailed Plan |7071---7273## Execution Flow7475### Phase 0: Detection761. **Mode**: Detect from keywords (quick/standard/deep)772. **Domain**: Auto-detect from content/keywords783. **Target**: Load file/folder content if path provided794. **TypeScript detection**: If target is a code path and `tsconfig.json` exists:80 - Detection gate: `tsconfig.json` exists + `npx codebase-intelligence --help` succeeds81 - For full CLI reference, fetch `https://raw.githubusercontent.com/bntvllnt/codebase-intelligence/main/llms.txt`82 - If available: gather structural data in Phase 183 - If unavailable: proceed with pure file-reading context gathering8485### Phase 1: Context Gathering86- **File/folder path** → Read files87- **Software domain + TypeScript + CI available** → Augment file reading with:88 - `npx codebase-intelligence overview --json <path>` → project structure snapshot89 - `npx codebase-intelligence modules --json <path>` → module boundaries and cross-deps90 - `npx codebase-intelligence groups --json <path>` → directory-level aggregates91 Include as structured context alongside file contents. If CI unavailable: read files only.92- **Topic/idea** → Use provided context93- **Unfamiliar domain** → Optional web search9495### Phase 2: Analysis9697#### Quick Mode98Direct analysis by primary agent, no sub-agents99100#### Standard Mode1011. Select 4-6 perspectives based on domain1022. Launch all perspectives in parallel (single message block)1033. Each agent answers 7 core questions104105#### Deep Mode1061. Select 6-10 perspectives based on domain1072. Launch all perspectives in parallel (single message block)1083. Each agent answers 12 questions (7 core + 5 deep)109110#### Software Domain Enhancement (TypeScript + CI available)111112Include pre-computed structural data in software domain agent prompts:113- `npx codebase-intelligence hotspots --json --metric complexity --limit 20` → complexity/churn hotspots114- `npx codebase-intelligence forces --json` → cohesion/coupling tensions per module115- `npx codebase-intelligence dead-exports --json --limit 20` → unused export analysis116- `npx codebase-intelligence clusters --json` → dependency community clusters117118Agents receive this as structured context alongside the target content. Supplements their analysis — does not replace independent reasoning. If CI unavailable: agents analyze from file contents only.119120### Phase 3: Synthesis121After ALL agents complete:1221. Aggregate Failure Hypotheses → prioritize Critical→High→Med→Low1232. Extract TOP 10 key points → rank by consensus1243. Identify gaps → Critical/High/Medium/Low1254. Generate actionable roadmap with dependencies126127---128129## Output Formats130131### Quick Mode132133```markdown134# Quick Analysis: [Target]135136**Mode**: Quick | **Domain**: [Domain] | **Date**: [Date]137138## The Essence139[1-2 sentences: What this ACTUALLY is at its core, stripped of complexity]140141## Verified Facts142- [Fact 1] — evidence: `path/file:line` or [source]143- [Fact 2] — evidence: ...144- [Fact 3] — evidence: ...145146## Key Points (Top 5-10)1471. **[Most Important]**: [Explanation]1482. **[Second]**: [Explanation]149...150151## Assumptions to Challenge152153| Assumption | Evidence For | Evidence Against | Verdict |154|------------|-------------|------------------|---------|155| [Assumed thing] | [If any] | [If any] | Validate/Keep/Discard |156157## What You Haven't Considered1581591. **[Critical Item]**: [Why this matters, what to do about it]1602. **[Hidden Risk/Opportunity]**: [Explanation]1613. **[Simpler Alternative?]**: [If exists, describe it]162163## The Real Question164[Reframe what the user should actually be asking about this]165166## Quick Actions (Top 3-5)167- [ ] [Action 1] - [Why/Impact]168- [ ] [Action 2] - [Why/Impact]169- [ ] [Action 3] - [Why/Impact]170171## Critical Risk to Watch172[The one thing that could derail this]173```174175### Standard Mode176177```markdown178# Analysis: [Target]179180**Mode**: Standard | **Domain**: [Domain] | **Perspectives**: [Count]181**Date**: [Date] | **Hypotheses**: [Count] total182183## The Essence184[1-2 sentences: What this ACTUALLY is at its core, stripped of complexity]185186## Executive Summary187[2-3 sentences capturing most critical findings]188189## First-Principles Analysis190191### Verified Facts192- [Fact 1] — evidence: `path/file:line` or [source] — confidence: High/Medium/Low193- [Fact 2] — evidence: ... — confidence: ...194195### Assumptions to Challenge196197| Assumption | Evidence For | Evidence Against | Verdict |198|------------|-------------|------------------|---------|199| [Assumed thing] | [If any] | [If any] | Validate/Keep/Discard |200201### What You Haven't Considered2022031. **[Critical Item]**: [Why this matters, what to do about it]2042. **[Hidden Risk/Opportunity]**: [Explanation]2053. **[Simpler Alternative?]**: [If exists, describe it]2064. **[Downstream Impact]**: [What this affects that wasn't mentioned]207208### The Real Question209[Reframe what the user should actually be asking about this]210211## Failure Hypotheses (Aggregated)212213| ID | Type | IF (Trigger) | THEN (Failure) | BECAUSE | Sev | Mitigation |214|----|------|--------------|----------------|---------|-----|------------|215| S001 | Security | ... | ... | ... | Crit | ... |216| M001 | Misuse | ... | ... | ... | High | ... |217218### Critical Mitigations Required219- [ ] {mitigation} ← Addresses: S001, M001220221## Key Points (Ranked by Importance)222223### Consensus Points (Flagged by 3+ perspectives)2241. **[Point]** - [Why important] (Flagged by: [Perspectives])225226### Important Points2272. **[Point]** - [Explanation]228229### Divergent Views230- **[Topic]**: [Perspective A] sees X, [Perspective B] sees Y231 - *Implication*: [What this tension means]232233## Gap Analysis234235### Critical Gaps (Action Required)236| Gap | Flagged By | Impact | Suggested Action |237|-----|------------|--------|------------------|238| ... | ... | High | ... |239240### High Priority Gaps241[Grouped by theme]242243## Improvement Opportunities244245### Top 5 Improvements2461. **[Improvement]**: [Details] - Expected Impact: [High/Medium/Low]247248## Action Plan & Roadmap249250### Immediate Actions (This Week)251| Action | Owner | Dependencies | Success Criteria |252|--------|-------|--------------|------------------|253| ... | [TBD] | None | ... |254255### Short-term (1-2 Weeks)256| Action | Dependencies | Resources Needed | Outcome |257|--------|--------------|------------------|---------|258| ... | Immediate #1 | ... | ... |259260## Cross-cutting Concerns261[Issues flagged by 3+ perspectives]262```263264### Deep Mode265266Deep mode extends Standard format with:267- Additional 5 questions per agent (12 total)268- Medium-term (1 Month) and Long-term (3+ Months) roadmap sections269- Dependency map visualization270- Risk mitigation table271- More detailed failure hypotheses272273---274275## Perspectives Library276277### Domain Detection278279Analyze content/keywords to auto-detect domain:280281| Domain | Trigger Keywords | Example Targets |282|--------|------------------|-----------------|283| **business** | startup, business, market, revenue | "coffee subscription", business-plan.md |284| **product** | product, feature, user, MVP | "habit tracking app", roadmap.md |285| **software** | API, code, function, class, tech | src/auth, package.json |286| **process** | workflow, process, SOP, operations | "hiring workflow", "incident response" |287| **document** | doc, article, proposal, report | "resume", proposal.docx |288| **research** | research, study, hypothesis, data | "hypothesis: remote work" |289| **creative** | design, art, brand, visual | "rebrand", logo-designs/ |290| **personal** | decision, "should I", career, life | "moving to Austin", "career change" |291| **legal** | contract, legal, policy, terms | "employment contract" |292| **financial** | budget, investment, cost, ROI | "Q4 budget", "pricing strategy" |293| **marketing** | campaign, marketing, sales, brand | "email campaign", "launch strategy" |294| **event** | event, conference, launch | "product launch", "conference plan" |295| **education** | course, curriculum, teaching | "bootcamp curriculum" |296| **general** | (fallback when no domain matches) | Any general topic |297298### Perspective Roles by Domain299300#### Business Domain3011. **Startup Founder** - Viability, growth, scalability3022. **Investor** - ROI, risk, market size3033. **CFO** - Unit economics, burn rate, margins3044. **Customer** - Value proposition, willingness to pay3055. **Competitor** - Differentiation, competitive moats3066. **Market Analyst** - TAM, trends, timing307308#### Product Domain3091. **Product Manager** - User needs, roadmap, prioritization3102. **Designer (UX)** - Usability, user flows, accessibility3113. **Customer** - Actual use cases, pain points3124. **QA Engineer** - Edge cases, error states3135. **Data Analyst** - Metrics, success criteria3146. **Support Lead** - Maintenance burden, user confusion315316#### Software Domain3171. **Security Engineer** - Vulnerabilities, attack vectors3182. **DevOps** - Deployment, monitoring, reliability3193. **Architect** - Design patterns, scalability, debt3204. **QA Engineer** - Test coverage, edge cases3215. **Performance Engineer** - Bottlenecks, resource usage3226. **Tech Lead** - Maintainability, team velocity323324#### Process Domain3251. **Operator** - Daily execution, friction points3262. **Manager** - Efficiency, bottlenecks, metrics3273. **Employee** - Experience, clarity, pain points3284. **Auditor** - Compliance, documentation, risks3295. **Improvement Specialist** - Waste, optimization330331#### Personal Domain3321. **Future You (1 year)** - Long-term impact3332. **Future You (5 years)** - Career trajectory3343. **Skeptic** - Risks, downsides, failure modes3354. **Supporter** - Strengths, opportunities3365. **Financial Advisor** - Money implications3376. **Life Coach** - Values alignment, fulfillment338339#### General Domain (Fallback)3401. **Analyst** - Facts, data, patterns3412. **Critic** - Weaknesses, risks, gaps3423. **Advocate** - Strengths, opportunities3434. **Pragmatist** - Feasibility, resources, timeline3445. **Strategist** - Long-term implications, alternatives3456. **Devil's Advocate** - Unconsidered downsides346347### Per-Agent Prompt Template348349**Standard Mode (7 questions):**350351```352You are a [Role]. Analyze:353TARGET: [content]354355Answer these 7 questions:3561. KEY POINTS: 3-5 most important elements?3572. CORE INSIGHT: Single most critical thing?3583. GAPS: What's missing or incomplete?3594. RISKS: What could go wrong?3605. ASSUMPTIONS: What needs validation?3616. IMPROVEMENTS: Top 3 ways to improve?3627. BLIND SPOTS: What isn't being considered?363364FAILURE HYPOTHESES: For each risk/gap:365| ID | IF (Trigger) | THEN (Failure) | BECAUSE | Severity | Mitigation |366367Include MISUSE + ADVERSARIAL hypotheses.368Rate findings: Critical/High/Medium/Low369```370371**Deep Mode (12 questions = 7 core + 5 additional):**3723738. **DEPENDENCIES**: What does success depend on?3749. **ALTERNATIVES**: What other approaches should be considered?37510. **TIMELINE RISKS**: What could cause delays or failure?37611. **RESOURCE GAPS**: What's missing to execute well?37712. **SUCCESS METRICS**: How would you measure success?378379---380381## Thinking Framework382383### The UltraThink Loop384385```386THINK → CHECKLIST → PLAN → EXECUTE → VALIDATE → LEARN387```388389#### Phase 0: THINK390**Select thinking model based on task type:**391392| Model | When to Use | Pattern |393|-------|-------------|---------|394| **CoT** (Chain of Thought) | Linear, sequential tasks | Step-by-step reasoning |395| **ToT** (Tree of Thought) | Multiple valid paths, decisions | Evaluate branches, pick best |396| **Reflexion** | Learning from failure, retry logic | Analyze error → adjust → retry |397| **Decomposition** | Complex tasks, parallel work | Break into sub-problems |398399**For Analysis:** Use **ToT** (multi-perspective evaluation) for Standard/Deep, **CoT** for Quick400401#### Phase 1: CHECKLIST402- [ ] Mode detected (quick/standard/deep) [blocking]403- [ ] Domain identified [blocking]404- [ ] Target content accessible [blocking]405- [ ] Perspectives selected [blocking]406- [ ] Agents dispatched in parallel [blocking]407- [ ] All agents completed [blocking]408- [ ] Synthesis complete [advisory]409410#### Phase 2: PLAN411**For Standard/Deep:**412```4131. Detect mode from keywords4142. Detect domain from content4153. Select N perspectives (4-6 for standard, 6-10 for deep)4164. Launch all agents in ONE message block4175. Wait for completion4186. Synthesize findings4197. Generate output420```421422#### Phase 3: EXECUTE423Execute plan with progress tracking. On failure → trigger Reflexion (max 2 retries)424425#### Phase 4: VALIDATE426- All agents returned findings? ✓427- Cross-cutting concerns identified? ✓428- Actionable roadmap generated? ✓429430#### Phase 5: LEARN431Capture patterns for continuous improvement432433### Self-Correction Guide434435| Issue | Check | Fix | Escalate If |436|-------|-------|-----|-------------|437| Shallow analysis | Domain auto-detected? | Add specific perspectives | Still shallow after 2 retries |438| Mode mismatch | User keywords? | Ask for clarification | Agent count doesn't match |439| Weak synthesis | All agents complete? | Re-run failed agents | <3 perspectives useful |440| Wrong domain | Keywords ambiguous? | Ask user explicitly | Multiple domains equally valid |441442**Max iterations**: 2 | **Escalation**: Ask user to specify domain/perspectives443444---445446## First-Principles Analysis447448**Philosophy**: Don't just summarize—decompose to fundamentals, surface what's actually true vs assumed, and raise what the user hasn't considered. User must always get data to make their own decisions.449450### A. Verified Facts (Separate from Assumptions)451452- Only report what can be VERIFIED with evidence453- Include source: `path/file:line` or [URL]454- Mark confidence: High (verified) / Medium (inferred) / Low (stated but unverified)455456### B. First-Principles Decomposition457458Apply these questions to EVERYTHING found:459460#### 1. Question Assumptions461- What's being assumed that hasn't been validated?462- Is this constraint real or inherited from old decisions?463- What would change if [assumption] were false?464465#### 2. Decompose to Fundamentals466- What MUST be true for this to work?467- What are the actual dependencies (not just stated ones)?468- What's the irreducible core?469470#### 3. Systems Thinking471- What else does this affect? (upstream/downstream)472- What's the blast radius if this fails?473- What's competing for the same resources?474475#### 4. Root Cause vs Symptom476- Is the current state addressing root cause or masking symptoms?477- Why does this exist in its current form?478- What problem was this originally solving?479480### C. Assumptions to Challenge (MANDATORY)481482Every analysis MUST include this table:483484| Assumption | Evidence For | Evidence Against | Verdict |485|------------|-------------|------------------|---------|486| [Assumed thing] | [If any] | [If any] | Validate/Keep/Discard |487488### D. What You Haven't Considered (MANDATORY 2-4 items)489490Surface items the user likely hasn't thought about:491492| Category | What to Look For |493|----------|-----------------|494| **Unvalidated Assumptions** | Things treated as true without evidence |495| **Hidden Dependencies** | Non-obvious things this relies on |496| **Downstream Impacts** | What breaks if this changes |497| **Simpler Alternatives** | Is there a 10x simpler approach? |498| **Edge Cases** | What inputs/states break this? |499| **Technical Debt** | Shortcuts that will cost later |500| **Missing Pieces** | What's conspicuously absent? |501502### E. The Real Question503504Reframe what the user should actually be asking. Often the stated question isn't the right question.505506---507508## Examples509510### Example 1: Quick Mode511512```513Input: analyze quick "our pricing strategy"514515Output:516# Quick Analysis: Pricing Strategy517518**Mode**: Quick | **Domain**: Business | **Date**: 2026-01-28519520## The Essence521A business decision about how to extract value from customers, constrained by market dynamics and competitive positioning.522523## Verified Facts524- (Would include actual facts from provided content)525526## Key Points5271. **Pricing = value capture, not cost recovery**: Price based on customer willingness to pay, not internal costs5282. **Anchor matters**: First price seen shapes all subsequent evaluations529...530531## Assumptions to Challenge532| Assumption | Evidence For | Evidence Against | Verdict |533|------------|-------------|------------------|---------|534| "Customers will pay more if we add features" | Common belief | Often false - bloat reduces WTP | Validate with tests |535536## What You Haven't Considered5371. **Price as a signal**: Low price may signal low quality, harming conversion5382. **Competitive response**: Price changes trigger competitor reactions5393. **Simplicity premium**: Simpler pricing often outperforms complex tiers540541## The Real Question542Not "what price should we charge" but "what's the maximum value customers perceive, and how do we capture 30-50% of it?"543544## Quick Actions545- [ ] Survey 20 target customers on WTP before changing price546- [ ] A/B test 2-3 price points on landing page547- [ ] Model competitor response scenarios548549## Critical Risk to Watch550Pricing too low initially makes raising prices later extremely difficult (customer backlash + anchoring effect)551```552553### Example 2: Standard Mode554555```556Input: analyze "SaaS product for developers"557558Flow:5591. Detect mode: standard (no quick/deep keywords)5602. Detect domain: product + software5613. Select 6 perspectives:562 - Product Manager563 - Developer (user persona)564 - Security Engineer565 - DevOps566 - Support Lead567 - Investor5684. Launch all 6 agents in parallel5695. Synthesize findings into standard format5706. Generate actionable roadmap571572Output: [Standard format with all sections filled]573```574575### Example 3: Deep Mode576577```578Input: analyze deep "migration to microservices"579580Flow:5811. Detect mode: deep5822. Detect domain: software5833. Select 10 perspectives:584 - Architect585 - DevOps586 - Security Engineer587 - Database Engineer588 - Frontend Developer589 - QA Engineer590 - Performance Engineer591 - SRE592 - Tech Lead593 - CTO5944. Launch all 10 agents in parallel5955. Each answers 12 questions (7 core + 5 deep)5966. Synthesize into deep format with dependency map5977. Generate comprehensive roadmap (immediate/short/medium/long)598599Output: [Deep format with extended sections]600```601602---603604## Common Failure Patterns605606| Failure | Root Cause | Reflexion Response |607|---------|------------|-------------------|608| Wrong domain detected | Ambiguous keywords | Ask user explicitly or use General domain |609| Too few perspectives | Quick mode used for complex topic | Escalate to Standard mode |610| Weak synthesis | Agent outputs inconsistent | Re-run with explicit constraints |611| Missing blind spots | Obvious perspectives chosen | Add Devil's Advocate perspective |612| Roadmap not actionable | Actions too vague | Break each action into atomic: owner, deadline, metric |613| Analysis takes >2min | Too many agents (Deep mode overkill) | Switch to Standard mode |614615---616617## Integration Notes618619This skill is **standalone** and includes all necessary frameworks:620- UltraThink cognitive framework (embedded)621- First-principles analysis (embedded)622- Perspectives library (embedded)623- Output formats (embedded)624625No external dependencies required.626627**Optional enhancement:** For software domain analysis of TypeScript codebases, `codebase-intelligence` CLI (`npx codebase-intelligence --json`) provides structural data — hotspots, coupling, dead exports, module boundaries, blast radius. Detection: `tsconfig.json` must exist. For full CLI reference, fetch `https://raw.githubusercontent.com/bntvllnt/codebase-intelligence/main/llms-full.txt`. The skill works identically without it — data is supplementary context for perspective agents.628629---630631## License632633MIT License - Free to use, modify, and distribute.634635---636637## Version638639**v1.0.0** - 2026-01-28 - Initial public release by bntvllnt