Deep Research logo

Deep Research

Community
tonyazhuuki
deep-research

Multi-agent iterative research pipeline using Eric Jang methodology. 10-18 specialized agents across 3 cycles produce consensus references, interaction maps, personalized syntheses, and action plans with domain-specific stress-testing, iterative deepening, and anti-pattern guards.

Overview

Publishertonyazhuuki
Repositorydeep-research-skill
Skill namedeep-research
Stars
32
Forks
7
Bundled files
27
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 27 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by tonyazhuuki on GitHub. Read the source before you install it.

Installation

Install the Deep Research AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/tonyazhuuki/deep-research-skill/tree/main/research
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tonyazhuuki/deep-research-skill.git /tmp/deep-research-skill
mkdir -p .claude/skills
cp -r /tmp/deep-research-skill/research .claude/skills/deep-research
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Deep Research in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Deep Research on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Deep Research is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Deep Research Skill

A structured multi-agent research pipeline that turns any topic into a comprehensive, fact-checked, bilingual (EN+RU) synthesis with actionable recommendations. Built on Eric Jang's iterative methodology from "As Rocks May Think".

How It Works

The skill orchestrates 10-19 specialized AI agents across 3 mandatory cycles:

Cycle 1: Broad Search    → 4-5 parallel SCOUTs explore the landscape
         Quality Gates   → CRITIC + METHODOLOGIST cross-check findings
         Reflection 1    → Identify gaps, generate competing hypotheses

Cycle 2: Deep Dives      → 2-3 targeted agents test hypotheses + stress-test questions
         Iterative Deep. → Auto-resolve CONTESTED claims (WEAK → follow-up DD)
         Reflection 2    → Convergence analysis, hypothesis verdicts

Cycle 3: Execute          → Python scripts (analysis, models, visualizations)
         Synthesize      → SYNTHESIZER creates integrated document
         Verify          → FACT-CHECKER + CITATION_VERIFIER + DOMAIN_REVIEWER
         Apply           → ACTION MAPPER updates user's protocols/goals

Research Modes

ModeOutputWhen to use
personalized (default)synthesis.mdSpecific question for your context
consensusconsensus_reference.mdBuilding knowledge base (population-level truth)
consensus+interactionsconsensus + interaction_map.mdCross-effects matter
fullAll three documentsDeep investigation

Agent Roles

RoleCountPurpose
SCOUT4-5Broad literature search, each with unique reasoning style
CRITIC1Cross-stream contradictions, bias audit, weak evidence
METHODOLOGIST1Methodological quality — domain-specific evidence hierarchy (GRADE for health, forecast audit for macro, reproducibility for science)
DEEP DIVER2-3+Hypothesis testing + domain stress-test questions. Auto-spawns on CONTESTED claims (iterative deepening)
SYNTHESIZER1Integration across all sources into coherent document
INTERACTION MAPPER1Cross-domain interactions that change recommendations
DOMAIN_REVIEWER1Domain-specific review: MEDICAL (health), MACRO (markets), MARKET (company), METHODOLOGY (science)
FACT-CHECKER1Top-15 numerical claims verification
CITATION_VERIFIERscriptPython API check against Semantic Scholar/PubMed/CrossRef
TEMPORAL DIFF0-1Compares new consensus with previous version (UPDATE mode only)
ACTION MAPPER1Converts findings into TODO blocks in user's files

v4.1 Features

Domain Stress-Test Questions

Each Deep Diver must answer ≥2 mandatory adversarial questions from their domain adapter. Examples:

  • Health: "Under what conditions does this intervention become harmful for MY profile?"
  • Macro: "What single event makes this consensus irrelevant within 18 months?"
  • Company: "What does every successful player understand that customers never say out loud?"
  • Science: "What replication failure would collapse this finding?"

Iterative Deepening on CONTESTED Claims

When Cycle 2 convergence finds CONTESTED claims (confidence <0.5), the pipeline auto-spawns targeted Deep Divers to find tiebreaker evidence. Max 2 rounds, 15% budget cap.

Anti-Pattern Guards

Each domain adapter includes a "Common Anti-Patterns" table — pre-flight checklist of domain-specific mistakes (e.g., "citing mouse studies as human evidence" for health, "extrapolating 3-year trend as permanent" for macro).

Company Domain Enhancements

  • Raw language preservation: SCOUTs preserve verbatim customer/user quotes with tags
  • Opportunity taxonomy: Action Mapper classifies opportunities as CONTRARIAN / TIMING_PLAY / SAFE_BET

v4.2 Features

Temporal Diff (UPDATE mode)

When re-researching a topic that already has a consensus reference, the pipeline auto-detects the previous research and offers UPDATE mode. In UPDATE mode:

  • Full research runs identically to fresh mode (SCOUTs do NOT see previous consensus — no anchoring bias)
  • TEMPORAL DIFF agent runs after SYNTHESIZER, comparing old and new consensus claim-by-claim
  • Produces _temporal_diff.md with 5 categories: CONFIRMED / REVISED / CONTRADICTED / OBSOLETE / NEW
  • Adds a ## Temporal Diff Summary to the new consensus_reference.md
  • Archives previous version as _previous_consensus_[YYYY_MM].md
  • Stability score: CONFIRMED / total — tells you how much the field moved

CLI flags:

  • --update — force UPDATE mode (auto-detect previous consensus)
  • --fresh — force FRESH mode (ignore previous consensus)
  • No flag — auto-detect and ask user

Quick Start

  1. Copy the template:

    bash
    cp .claude/commands/research/context_template.md .claude/commands/research/context.md
  2. Fill in your data in context.md:

    • File paths to your profiles, lab results, protocols
    • Key biomarkers (if health/nutrition research)
    • Genetic variants (if relevant)
  3. Run:

    /research creatine safety for athletes                      # → health domain (auto)
    /research global electricity demand consensus high 6h       # → macro domain (auto)
    /research AI agents in financial services consensus high 4h  # → company domain (auto)
    /research transformer architectures consensus high 4h       # → science domain (auto)

File Structure

.claude/commands/research/
├── SKILL.md              ← You are here (overview + quick start)
├── README.md             ← Brief quick start
├── context_template.md   ← Copy to context.md, fill in your data
├── context.md            ← YOUR private config (gitignored)
│
├── research.md           ← Main entry point (pipeline + architecture)
├── agents.md             ← Detailed agent role descriptions
├── prompts.md            ← Full prompt templates for each agent
├── cycle1.md             ← Cycle 1 instructions (SCOUTs + quality gates)
├── cycle2.md             ← Cycle 2 instructions (Deep Dives + convergence)
├── cycle3.md             ← Cycle 3 instructions (Synthesis + verification)
├── finalize.md           ← Finalization checklist + git/notification
│
├── domains/
│   ├── health.md        ← METHODOLOGIST + MEDICAL_REVIEWER + health consensus template
│   ├── macro.md         ← METHODOLOGIST + MACRO_REVIEWER + macro consensus template
│   ├── company.md       ← METHODOLOGIST + MARKET_REVIEWER + company consensus template
│   └── science.md       ← METHODOLOGIST + METHODOLOGY_REVIEWER + science template
│
└── examples/
    ├── example_output_tree.txt
    └── example_synthesis_excerpt.md

Output Structure

A completed research produces:

YYYY_MM_topic_name/
├── _PROGRESS_LOG.md           # Log + 2 reflections + hypotheses
├── synthesis.md               # Final synthesis EN (10 sections)
├── synthesis_ru.md            # Final synthesis RU (full translation)
├── consensus_reference.md     # Population-level truth (if consensus/full)
├── interaction_map.md         # Cross-domain interactions (if full)
├── unknowns_and_next.md       # Known unknowns + next experiments
├── _critic_review.md          # CRITIC output
├── _methods_review.md         # METHODOLOGIST output (domain-specific)
├── _domain_review.md          # Domain reviewer output (medical/macro/market/methodology)
├── _fact_check.md             # FACT-CHECKER output
├── _citation_audit.md         # CITATION_VERIFIER output
├── _temporal_diff.md           # TEMPORAL DIFF output (UPDATE mode only)
├── _previous_consensus_*.md   # Archived previous version (UPDATE mode only)
├── _action_map.md             # ACTION MAPPER output
├── stream_a_*.md ... stream_e_*.md   # Cycle 1 streams
├── deep_dive_a_*.md ...              # Cycle 2 deep dives
├── data/*.csv                        # Structured data (snake_case)
├── figures/*.png                     # Visualizations (300 DPI)
└── scripts/*.py                      # Analysis scripts

Configuration (context.md)

SectionPurpose
User FilesPaths to your profiles, lab results, genetics
Key BiomarkersLatest lab values (health/nutrition research)
GeneticsRelevant SNPs and clinical implications
DomainsDefault stream configurations per domain
Action MapperPer-domain output targets (protocols, research_queue, blog)
FinalizationGit commit + notification settings

Dependencies

Required:

  • Claude Code CLI (claude)

Optional (for Cycle 3 scripts):

  • Python 3.10+ with matplotlib, pandas, numpy
  • markdown library (for tools/view_research.py styled viewer)

Optional (for notifications):

  • Telegram bot token (for tools/notify_research.py)
  • tools/finalize_research.sh automates: git commit + push + notify + viewer

Known Caveats

  1. WebSearch often unavailable in subagents — agents synthesize from training data and mark limitations
  2. Context window limits — use /compact during long research; all intermediate results saved to disk
  3. Agents may not write files — always verify with ls after each agent completes
  4. CSV column names vary — Python scripts must include column normalization
  5. PEP 668 on macOS — use venv for pip install: python3 -m venv scripts/.venv

Language

All instructions and prompts are in English. The synthesis output is always in English (synthesis.md). If you set preferred_language in your context.md, the pipeline also produces a full translation in your language (e.g., synthesis_ru.md).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Deep Research AI skill do?

Multi-agent iterative research pipeline using Eric Jang methodology. 10-18 specialized agents across 3 cycles produce consensus references, interaction maps, personalized syntheses, and action plans with domain-specific stress-testing, iterative deepening, and anti-pattern guards.

Why use Deep Research on TypingMind?

Because you install it once and use it with any model. Deep Research is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Deep Research in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tonyazhuuki/deep-research-skill/tree/main/research. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Deep Research?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Deep Research?

As many as you like. As long as a model supports skills, you can use Deep Research with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Deep Research AI skill free?

Yes. It is published on GitHub by tonyazhuuki under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇