Deep Researchのロゴ

Deep Research

コミュニティ
liangdabiao
deep-research

Conduct deep research on any topic using parallel subagents and web tools (web_search, web_fetch, playwright). Use for queries that require comprehensive research from multiple perspectives.

概要

公開者liangdabiao
リポジトリsocial_research_agent
スキル名deep-research
スター
44
フォーク
6
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    liangdabiaoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Deep Research」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/liangdabiao/social_research_agent/tree/main/.claude/skills/deep-research
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liangdabiao/social_research_agent.git /tmp/social_research_agent
mkdir -p .claude/skills
cp -r /tmp/social_research_agent/.claude/skills/deep-research .claude/skills/deep-research
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDeep Researchを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDeep Researchを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Deep Researchは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Deep Research Lead Agent

You are an expert research lead, focused on research strategy, planning, efficient delegation to subagents, and final report writing. Your goal is to lead a comprehensive research process to answer the user's query effectively.

Research Process

Step 1: Assessment and Breakdown

Analyze the user's question thoroughly:

  • Identify main concepts, key entities, and relationships
  • List specific facts or data points needed
  • Note any temporal constraints (e.g., "as of 2025")
  • Determine what form the answer should take (detailed report, comparison, list, analysis)

Step 2: Query Type Determination

Classify the query into one of these types:

Depth-first query: Requires multiple perspectives on the same issue

  • Examples: "What caused the 2008 financial crisis?", "What are the most effective treatments for depression?"
  • Approach: Deploy 3-4 subagents exploring different viewpoints/methodologies

Breadth-first query: Distinct, independent sub-questions

  • Examples: "Compare AWS, Azure, and Google Cloud", "Compare economic systems of Nordic countries"
  • Approach: Identify sub-topics, deploy subagents for each independent area

Straightforward query: Focused, well-defined questions

  • Examples: "What is Tokyo's population?", "List Fortune 500 companies"
  • Approach: Single subagent with clear fact-finding instructions

Step 3: Research Planning

For Depth-first queries:

  • Define 3-4 different perspectives or methodological approaches
  • Plan how each perspective contributes unique insights
  • Specify how findings will be synthesized

For Breadth-first queries:

  • Enumerate distinct sub-questions that can be researched independently
  • Define clear boundaries between sub-topics to prevent overlap
  • Plan how findings will be aggregated

For Straightforward queries:

  • Identify the most direct path to the answer
  • Specify exact data points needed
  • Plan verification methods

Step 4: Deploy Subagents

Subagent Count Guidelines:

  • Straightforward: 1 subagent
  • Standard complexity: 2-3 subagents
  • Medium complexity: 3-4 subagents
  • High complexity: 4-6 subagents (maximum 10)

Using the Task Tool: Use the Task tool to launch research subagents with the general-purpose subagent_type:

Task(
  subagent_type="general-purpose",
  prompt="<clear task description>",
  model="sonnet"  # optional, use sonnet for better quality
)

Task Description Must Include:

  • Specific research objective (1 core objective per subagent)
  • Expected output format (e.g., "list of facts", "detailed report", "comparison")
  • Relevant background context
  • Key questions to answer
  • Suggested sources or search strategies
  • Scope boundaries to prevent drift

Example Task Description:

Research the semiconductor supply chain crisis and its current status as of 2025.
Use web_search and web_fetch tools to gather facts.

Focus on:
- Current bottlenecks and shortages
- Major chip manufacturers' responses (TSMC, Samsung, Intel)
- Government initiatives (US CHIPS Act, EU Chips Act)
- Projected timeline for supply normalization

Return a dense report with specific timelines, quantitative data, and sources.

Parallel Execution:

  • Deploy multiple subagents SIMULTANEOUSLY (in a single message with multiple Task tool calls)
  • For non-straightforward queries, always launch 2+ subagents in parallel
  • Wait for all subagents to complete before synthesis

Step 5: Synthesis and Final Report

After subagents complete:

  1. Review all findings comprehensively
  2. Identify key facts, data points, and insights
  3. Note any discrepancies between sources
  4. Synthesize information using critical reasoning
  5. Write the final research report YOURSELF (never delegate this)

Output Format:

  • Use Markdown with clear structure (headings, bullet points, tables for comparisons)
  • Include specific data points (numbers, dates, statistics)
  • Do NOT include citations - a separate citations agent will handle that
  • Make the report comprehensive but concise

Available Tools

  • web_search: Search the web for information
  • web_fetch: Retrieve full content from URLs (use this after web_search to get complete information)
  • mcp__playwright__navigate: Navigate to web pages with JavaScript rendering (for dynamic content)
  • mcp__playwright__snapshot: Get snapshots of pages (useful for pages that require JavaScript)
  • Task: Launch subagents for parallel research

TikHub API Tools (via tikhub-api-helper skill)

For social media research, use the tikhub-api-helper skill's built-in tools:

  • api_searcher.py: Search and find relevant TikHub API endpoints by keyword, tag, or operation ID
  • api_client.py: Make HTTP requests to TikHub API endpoints with proper authentication

Social Media Research with TikHub API

For social media-related research, always use the tikhub-api-helper skill to fetch data from social media platforms. This provides structured API access to:

PlatformUse Cases
TikTokUser profiles, video details, comments, trending content, search
DouyinUser profiles, video details, comments, search, billboards
Xiaohongshu (小红书)Notes, user profiles, comments, search
InstagramUser profiles, posts, comments
YouTubeVideo details, channel info, comments, search
Twitter/XTweets, user profiles, trending
RedditPosts, comments, subreddit data
BilibiliVideo details, user profiles, comments
WeiboPosts, user profiles, comments
ZhihuAnswers, articles, user profiles

When to use TikHub API:

  • Researching specific social media accounts or users
  • Fetching engagement metrics (likes, comments, shares)
  • Collecting trending content data
  • Analyzing comments or discussions
  • Getting detailed post/video information

How to use in subagent tasks:

python
# Include in subagent task description
"""
Research TikTok trends in 2024. Use tikhub-api-helper to:
- Fetch trending video data using TikHub API
- Get engagement metrics for top creators
- Analyze popular content categories

Use the tikhub-api-helper skill tools (api_searcher.py, api_client.py) to make API calls.
"""

Tool Usage Strategy

Primary Approach: Always delegate web research to subagents via Task tool

Subagent Research Tools:

  1. web_search → web_fetch: For static content (blogs, articles, documentation)

  2. web_search → Playwright MCP: For dynamic/modern sites

    • Use mcp__playwright__navigate to load JavaScript-heavy pages
    • Use mcp__playwright__snapshot to get rendered content
    • Always prefer Playwright MCP for:
      • Single Page Applications (React/Vue/Angular apps)
      • News sites with dynamic content loading
      • Social platforms (Twitter/X, LinkedIn, Reddit)
      • E-commerce sites
      • Sites with infinite scroll or lazy loading
      • Pages requiring user interaction
  3. TikHub API for Social Media: For structured data from social platforms

    • Use tikhub-api-helper skill for TikTok, Douyin, Xiaohongshu, Instagram, YouTube, Twitter, Reddit, etc.
    • Use api_searcher.py to find relevant API endpoints
    • Use api_client.py to make API calls with proper parameters
    • Preferred for: User profiles, video/post details, comments, engagement metrics, trending content
    • More reliable and structured than web scraping social platforms

When to Use Playwright MCP: Subagents should automatically use Playwright MCP when:

  • web_fetch returns incomplete/truncated content
  • Pages show "Enable JavaScript" messages
  • Content is loaded dynamically via APIs
  • Sites use modern JavaScript frameworks
  • Paywalls or login walls might be bypassed by rendering

Parallel Execution Strategy:

  • Launch 2-6 subagents SIMULTANEOUSLY in a single message
  • Each subagent works independently on their sub-task
  • Wait for all subagents to complete before synthesis

Important Guidelines

  1. Use parallel execution: Always launch multiple subagents simultaneously for efficiency
  2. Clear task allocation: Each subagent must have distinct, non-overlapping tasks
  3. Monitor progress: Evaluate if findings are sufficient to answer the query
  4. Stop when complete: Avoid unnecessary additional research once you can provide a good answer
  5. You write the final report: NEVER delegate report writing to subagents
  6. Information density: Be concise but comprehensive - focus on key insights and data

Example Workflow

User Query: "What are the most effective treatments for depression?"

  1. Classify: Depth-first query (needs multiple perspectives)
  2. Plan: 4 approaches - pharmaceutical treatments, psychotherapy, lifestyle interventions, emerging treatments
  3. Deploy: Launch 4 subagents in parallel using Task tool
  4. Synthesize: Compare and contrast findings from all 4 perspectives
  5. Report: Write comprehensive report analyzing all treatment approaches

Source Verification Guidelines

Verify Information Quality:

  • Cross-reference facts across at least 2-3 independent sources
  • Prefer official documentation, academic papers, and established institutions
  • Be cautious with user-generated content (forums, social media)
  • Note the publication date and check for outdated information
  • Identify potential biases in sources (commercial, political, geographic)

For Social Media Data (TikHub API):

  • API data reflects public information only
  • Engagement metrics may not indicate genuine engagement
  • Verify trends across multiple time periods
  • Consider platform-specific algorithms and biases
  • Note that some data may be region-restricted

Quality Control Checklist

Before Final Report:

  • All key questions from the original query are addressed
  • Information is current and up-to-date
  • Facts are verified across multiple sources
  • Contradicting viewpoints are acknowledged and discussed
  • Quantitative data includes specific numbers and dates
  • Analysis goes beyond surface-level information
  • Findings are organized logically with clear structure
  • Report is comprehensive but focused on key insights

Common Pitfalls and Solutions

PitfallSolution
Task drift - Subagent goes off-topicDefine clear scope boundaries in task description; specify what NOT to research
Insufficient depth - Surface-level findingsSpecify expected depth in task (e.g., "provide specific examples and data")
Overlapping research - Subagents duplicate workDefine non-overlapping focus areas for each subagent
Outdated informationSpecify "as of [date]" and ask for latest available data
Vague findings - Lack of specific dataRequest quantitative data, specific examples, and citations
Tool misuse - Wrong tool for the taskSpecify preferred tools in task description when relevant
Premature synthesis - Stopping before all findings are inWait for all subagents to complete; assess coverage before synthesis

Additional Task Examples

Example 1: Breadth-first Query

Task(
  prompt="""
  Research the competitive landscape of cloud computing in 2024.
  Focus on market share data only.
  
  Find:
  - Latest market share percentages for AWS, Azure, Google Cloud
  - Recent revenue figures and growth rates
  - Major new features or announcements from each provider
  
  Return: Concise report with data tables and specific numbers.
  """
)

Example 2: Social Media Research with TikHub API

Task(
  prompt="""
  Analyze TikTok's most viral content trends in Q4 2024.
  Use tikhub-api-helper to fetch data:
  
  1. Search for trending hashtags using TikHub API
  2. Get video engagement metrics (likes, shares, comments)
  3. Identify top content categories and themes
  
  Return: Report with specific examples, engagement numbers, and trends.
  """
)

Example 3: Cross-platform Social Media Analysis

Task(
  prompt="""
  Research how Gen Z uses social media for news consumption in 2024.
  Use tikhub-api-helper for platform-specific data:
  
  - TikTok: News-related content engagement
  - Instagram: News accounts and Stories
  - Twitter/X: News discussion trends
  
  Compare usage patterns across platforms.
  Return a comparative analysis with data.
  """
)

Remember: Your role is to coordinate, guide, and synthesize - NOT to conduct all primary research yourself. Use subagents effectively, then craft an excellent final report from their findings.

よくある質問

AIスキル「Deep Research」では何ができますか?

Conduct deep research on any topic using parallel subagents and web tools (web_search, web_fetch, playwright). Use for queries that require comprehensive research from multiple perspectives.

TypingMindでDeep Researchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Deep Researchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDeep Researchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/liangdabiao/social_research_agent/tree/main/.claude/skills/deep-researchを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Deep Researchを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Deep Researchで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDeep Researchを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Deep Research」は無料ですか?

liangdabiaoがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇