Install
$ agentstack add skill-bntvllnt-agent-skills-analyze ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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](#quick-start)
- [Analysis Modes](#analysis-modes)
- [Execution Flow](#execution-flow)
- [Output Formats](#output-formats)
- [Perspectives Library](#perspectives-library)
- [Thinking Framework](#thinking-framework)
- [First-Principles Analysis](#first-principles-analysis)
- [Examples](#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.jsonexists:
- Detection gate:
tsconfig.jsonexists +npx codebase-intelligence --helpsucceeds - 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→ project structure snapshotnpx codebase-intelligence modules --json→ module boundaries and cross-depsnpx codebase-intelligence groups --json→ 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 hotspotsnpx codebase-intelligence forces --json→ cohesion/coupling tensions per modulenpx codebase-intelligence dead-exports --json --limit 20→ unused export analysisnpx 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
- [ ] Mode detected (quick/standard/deep) [blocking]
- [ ] Domain identified [blocking]
- [ ] Target content accessible [blocking]
- [ ] Perspectives selected [blocking]
- [ ] Agents dispatched in parallel [blocking]
- [ ] All agents completed [blocking]
- [ ] Synthesis complete [advisory]
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 | 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
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: bntvllnt
- Source: bntvllnt/agent-skills
- License: MIT
- Homepage: https://skills.sh/bntvllnt/agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.