Research

From InugamiDev/ultrathink-oss · View interactive version

Research is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. Deep research with multi-source gathering, source evaluation, contradiction detection, and structured synthesis

How to use this skill

Skill file

Research Skill

Purpose

Conduct structured research to answer technical questions, evaluate options, and gather evidence for decision-making. This skill goes beyond simple web searching by evaluating sources, detecting contradictions, and synthesizing findings into actionable conclusions.

Good research is not about finding the first answer. It is about finding the RIGHT answer and understanding the confidence level of that answer.

Workflow

Phase 1: Question Refinement

  1. Parse the research question -- What specifically needs to be answered?
  1. Decompose into sub-questions -- Complex questions often have multiple parts:
  1. Identify the decision criteria -- What matters for this research?

Phase 2: Source Gathering

  1. Select research sources based on the question type:

| Source | Best For | Reliability | Tool |

|--------|---------|------------|------|

| Official documentation | API details, configuration, features | High | Context7 |

| GitHub issues/discussions | Known bugs, workarounds, edge cases | Medium | Web search |

| Stack Overflow | Common problems, quick solutions | Medium (check dates) | Web search |

| Blog posts (official) | Architectural guidance, best practices | High | Web search |

| Blog posts (community) | Real-world experience, tutorials | Varies | Web search |

| Benchmarks | Performance comparisons | Medium (check methodology) | Web search |

| Project README / changelog | Current status, breaking changes | High | Context7 / Web |

| Academic papers | Theoretical foundations, algorithms | High | Web search |

  1. Gather information from multiple sources -- Never rely on a single source. Use at least 2-3 independent sources for any important finding.
  1. For each source, record:

Phase 3: Source Evaluation

  1. Assess source quality using the CRAAP test:
  1. Rate each source: High confidence / Medium confidence / Low confidence
  1. Flag outdated information -- Any source older than 2 years for technology topics should be verified against current documentation.

Phase 4: Analysis

  1. Identify areas of agreement -- What do multiple sources agree on? These are your highest-confidence findings.
  1. Identify contradictions -- Where do sources disagree? For each contradiction:
  1. Identify gaps -- What was NOT found? What questions remain unanswered? These are often as important as what was found.
  1. For evaluation questions, build a comparison matrix:

| Criterion | Weight | Option A | Option B | Option C |

|----------|--------|----------|----------|----------|

| Performance | High | Good | Excellent | Fair |

| Ease of use | Medium | Excellent | Fair | Good |

| Community | Medium | Large | Medium | Small |

Phase 5: Synthesis

  1. Write the synthesis -- Integrate findings into a coherent answer:
  1. Formulate recommendations -- Based on the findings, what should be done?
  1. Produce the research report using the template below.

Research Report Template

# Research Report: [Question/Topic]

## TL;DR
[One paragraph answer to the research question]

## Research Question
[The precise question being investigated]

## Methodology
- **Sources consulted**: [count]
- **Depth**: Quick | Standard | Deep
- **Date**: [research date]

---

## Findings

### Finding 1: [Title]
[Description with evidence]
**Sources**: [citation 1], [citation 2]
**Confidence**: High | Medium | Low

### Finding 2: [Title]
[Description with evidence]
**Sources**: [citation]
**Confidence**: High | Medium | Low

---

## Contradictions
| Claim | Source A Says | Source B Says | Resolution |
|-------|-------------|-------------|------------|
| [topic] | [claim] | [counterclaim] | [analysis] |

## Gaps
- [Unanswered question 1]
- [Unanswered question 2]

---

## Comparison (if evaluating options)
| Criterion | Weight | Option A | Option B |
|----------|--------|----------|----------|
| [criterion] | [H/M/L] | [rating] | [rating] |

---

## Recommendations

### Primary Recommendation
[What to do and why]

### Alternatives
- [Option B]: Choose this if [condition]
- [Option C]: Choose this if [condition]

### Risks and Caveats
- [risk 1]
- [risk 2]

---

## Sources
| # | Source | Type | Date | Confidence |
|---|--------|------|------|-----------|
| 1 | [title](url) | Documentation | [date] | High |
| 2 | [title](url) | Blog post | [date] | Medium |
| 3 | [title](url) | GitHub issue | [date] | Medium |

Depth Levels

Quick (2-3 sources, 5 minutes)

Standard (4-6 sources, 15 minutes)

Deep (8+ sources, 30+ minutes)

Usage

Quick factual lookup

/research What is the default connection pool size in Prisma?

Technology comparison

/research Compare tRPC vs GraphQL for a Next.js app with 20 API endpoints

Best practices

/research What are current best practices for handling file uploads in Next.js 14?

Deep investigation

/research deep: What are the trade-offs of edge computing vs. traditional server-side rendering for a global e-commerce platform?

Examples

Example: Technology comparison

Question: "Should we use Zustand or Jotai for state management?"

Research process:

  1. Context7: Get Zustand docs (API, patterns, limitations)
  2. Context7: Get Jotai docs (API, patterns, limitations)
  3. Web search: "zustand vs jotai 2025 comparison"
  4. Web search: "zustand jotai performance benchmark"
  5. Web search: "zustand jotai migration experience"

Synthesis: Both are lightweight. Zustand for top-down store-based state (like Redux but simpler). Jotai for bottom-up atomic state (like Recoil but simpler). Choose based on mental model preference and existing team experience.

Example: Resolving a contradiction

Finding: Source A says "Next.js middleware runs on every request." Source B says "Next.js middleware only runs on matched routes."

Resolution: Both are partially correct. Middleware runs on every request by default, but can be scoped with a matcher config. Source B was describing the configured behavior, not the default. Official docs confirm the default-runs-on-all behavior with opt-in matching.

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.