Logo Deep Research

Deep Research

Cộng đồng
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.

Tổng quan

Nhà phát hànhliangdabiao
Kho mãsocial_research_agent
Tên kỹ năngdeep-research
Sao
44
Bản fork
6
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được liangdabiao công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Deep Research trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/liangdabiao/social_research_agent/tree/main/.claude/skills/deep-research
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Deep Research trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Deep Research ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Deep Research với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Deep Research làm được gì?

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.

Vì sao nên dùng Deep Research trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Deep Research là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Deep Research trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/liangdabiao/social_research_agent/tree/main/.claude/skills/deep-research. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Deep Research?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Deep Research với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Deep Research với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Deep Research có miễn phí không?

Kỹ năng này được liangdabiao phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇