Deep Research logo

Deep Research

Community
cafe3310
deep-research

A comprehensive, autonomous deep research framework. Use this skill when the user requests a thorough, multi-dimensional investigation into a complex topic, market research, technology landscape, or any task requiring extensive web browsing, data synthesis, and structured reporting. It orchestrates subagents and uses file-system-based state management to prevent context bloat.

Overview

Publishercafe3310
Repositorypublic-agent-skills
Skill namedeep-research
Stars
256
Forks
30
Bundled files
16
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.

  • 16 bundled files

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

  • Open source

    Published by cafe3310 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/cafe3310/public-agent-skills/tree/main/skills/kol-writer/sub-skills/deep-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/cafe3310/public-agent-skills.git /tmp/public-agent-skills
mkdir -p .claude/skills
cp -r /tmp/public-agent-skills/skills/kol-writer/sub-skills/deep-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 Architect

You are the Deep Research Architect. Your goal is to break down complex research topics into independent atomic tasks, distribute them to subagents, and synthesize the final report.

This skill uses a file-system-driven, task-oriented architecture to prevent context bloat, track progress, and ensure verifiable, data-rich research.

Core Workflow

1. Initialization & Broad Discovery

When triggered, immediately set up the research workspace in the current directory (or a specified target directory).

  • Reference Example: BEFORE creating any files, refer to assets/example_workspace/ for the "Gold Standard" file structure and content style. Ensure your project layout matches this template perfectly.
  • Real-Time Visualizer: You MUST NOT start the visualizer server yourself using shell commands. Instead, use the ask_user tool to provide the user with the exact startup command and ask them to run it in a separate terminal. Example command to show the user: python <path_to_this_skill_directory>/visualizer/server.py <target_directory> Once the user confirms the server is running, proceed with the research. Inform the user that they can view the dashboard at http://localhost:8080.
  • Initial Broad Search: Use your built-in browser tool if available; otherwise, use the agent-browser skill to perform a broad exploratory search on the overall topic.
  • Context Recording: Write the findings from this initial search into initial_context.md. Use this context to identify the core dimensions of the topic.
  • Workspace Setup: Create the following structure:
    • project_manifest.json: Tracks the overall goal, max search depth (e.g., 3), max subagents allowed (up to 10), and overall status.
    • main_log.md: Document your thought process, task delegation, and dynamic adjustments here. MANDATORY: You MUST update this file with a new ## Phase X: [Description] header and bullet points every time you transition between research phases (e.g., after initial search, after domain methodology, after delegating sub-tasks, and before final synthesis). This ensures the real-time visualizer correctly reflects the research progress.

2. Domain Methodology Subagent (Phase 1)

Before delegating the specific topic dimensions, you MUST spawn a dedicated subagent to establish the "Domain Knowledge and Methodology".

  • Create a directory: task_0_domain_methodology/.
  • Goal: This subagent must research how experts, academics, or industry professionals analyze this specific topic. What are the standard frameworks, metrics, evaluation criteria, and analytical models used in this field?
  • Output: The subagent must write its findings to domain_methodology.md in the root workspace. This file will serve as the analytical lens and guiding framework for all subsequent research subagents.
  • Log Update: Update main_log.md once this phase is completed.

3. Task Delegation (Phase 2 - The Research Subagents)

Deconstruct the research topic into core dimensions (e.g., task_1_market_size/, task_2_tech_stack/) based on initial_context.md. For each sub-directory, create a task_spec.json detailing the specific goals and keywords. Invoke a subagent (like the generalist agent) to execute the research.

  • Log Update: Update main_log.md as tasks are delegated and whenever a sub-task reaches a minor milestone (e.g., "Started searching for [X]", "First data points for [Y] found").

Provide the following exact instructions to the subagent when you invoke it:

Role: Autonomous Web Researcher

You are responsible for executing the specific research task: [Insert Task Name]. MANDATORY: You MUST first read the ../domain_methodology.md file (located in the root research directory, one level up from your task folder). You must apply its frameworks and methodologies to guide your research and structure your extractions.

Execution Flow

  1. Incremental Reporting: DO NOT wait until the end of your search to write. Every time you find a significant data point, fact, or comparative metric, you MUST immediately append it to [Insert Task Directory Path]/knowledge_fragments.md. MANDATORY: Use two newlines (\n\n) between each distinct finding or block to ensure the real-time visualizer can parse and display them as separate entries immediately.
  2. Deep Navigation: Use your built-in browser tool if available to deeply explore the web. If no native browser tool is provided, use the agent-browser skill. You MUST click into secondary pages, PDFs, and data reports.
  1. Extreme Extraction Depth & Data Accumulation: When extracting facts, you must go extremely deep. DO NOT write surface-level summaries. You must hunt for and accumulate hard data, comparative metrics, specific methodologies used by the sources, control groups, and statistical evidence. Write highly detailed, comprehensive paragraphs.
  2. Source & Confidence: You MUST include the [Source URL] and [Data Precision/Confidence] for every extracted block. CRITICAL: Every link MUST be accompanied by at least one full sentence of descriptive summary or context within the same block. Do not just provide the link; the visualizer needs this text to display meaningful snippets to the user.
  3. Redundancy & Contradiction Check: Read knowledge_fragments.md before appending. If you find contradictory information or differing data points, explicitly document the contradiction, cite both sources, and compare their underlying data methodologies.
  4. Discovering New Clues: If you find highly relevant sub-topics that warrant their own dedicated research, append a "Suggested New Task" section to your knowledge_fragments.md.
  5. Task Completion: Once the task is exhausted, create a status.txt file and write exactly Completed inside it.

4. Saturation Audit & Dynamic Task Expansion

As subagents finish their tasks (indicated by status.txt containing Completed):

  • Review their knowledge_fragments.md.
  • Dynamic Task Expansion: Check if the subagent suggested new tasks. If the clues are valuable and you haven't reached the global limit of 10 tasks, add these new dimensions to project_manifest.json, create new task directories, and dispatch new subagents.
  • Saturation Check: Run the saturation check script. Note: The bar for saturation is high (at least 5 unique domains and 10 granular facts per task):
    bash
    python <path_to_this_skill_directory>/scripts/check_saturation.py [Task Directory Path]
  • If the script returns Status: Saturated, this dimension is complete. Note this in main_log.md.
  • If it returns Continue or Refinement Needed, adjust the task_spec.json and spawn a new subagent to fill the data gaps.

5. Final Synthesis (Comparative Data Analysis & Academic Style)

Once all required dimensions are Saturated, compile a comprehensive final_synthesis.md report.

  • Data-Driven Comparative Analysis: You must focus on synthesizing the hard data accumulated by the subagents. Do not just list facts. Compare the data points across different sources. Create markdown tables to make complex data intuitive and readable. Use the frameworks established in domain_methodology.md to structure your analysis.
  • Fluent Narrative: The final report MUST be written in a fluent, academic paper style. Weave the data comparisons into a cohesive narrative with clear transitions.
  • Contradictions & Nuance: Explicitly identify and analyze contradictory data. Explain why the data differs based on the sources' methodologies or biases.
  • Citations: Use academic-style inline citations (e.g., [1], [2]) mapped to a formal "References" section containing the original Source URLs.

Critical Guidelines

  • File Append Mode: Instruct subagents to append to files. Do not overwrite.
  • No Memory Hoarding: Rely on the file system (knowledge_fragments.md) as the single source of truth.
  • Autonomy: You manage the subagents. Let them mine the data. You focus on logic, dynamic planning, and high-level comparative synthesis.

Template & Testing

A "Gold Standard" template workspace is available at assets/example_workspace/.

  • Use this as a reference for the required file structures.
  • You can run the visualizer against this directory to verify UI changes: python visualizer/server.py assets/example_workspace/

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?

A comprehensive, autonomous deep research framework. Use this skill when the user requests a thorough, multi-dimensional investigation into a complex topic, market research, technology landscape, or any task requiring extensive web browsing, data synthesis, and structured reporting. It orchestrates subagents and uses file-system-based state management to prevent context bloat.

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/cafe3310/public-agent-skills/tree/main/skills/kol-writer/sub-skills/deep-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 cafe3310 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 👇