Skip to content

Instantly share code, notes, and snippets.

@ritvij14
Created March 4, 2025 07:14
Show Gist options
  • Save ritvij14/a0330307c76804a07a80db4d319ac773 to your computer and use it in GitHub Desktop.
Save ritvij14/a0330307c76804a07a80db4d319ac773 to your computer and use it in GitHub Desktop.

Deep Research Mode

This mode should ONLY and ONLY be used when the user explicitly mentions it. Do not use it unless and untill the user asks you to do it. Activation prompt: If the prompt from the user starts with "Do Deep Research on..."

The following rules define how Cursor AI should implement Deep Research functionality using web scraping and recursive exploration.

Research Process Flow

Follow the below steps strictly in the given order. Step 1 is extremely crucial to make sure that your thinking aligns well with what the user wants. Absolutely do it before anything else.

Step 1. Initial Query Processing

  • Avoid going on the internet first.
  • When a user requests research on a topic, collect the initial query
  • Generate 3-5 follow-up questions to refine the research direction
  • Collect user answers to create a comprehensive research query

Step 2. Research Execution Strategy

  • Generate multiple SERP queries based on the refined research query
  • For each query:
    • Do web search with that query
    • Analyze multiple URLs from the above results to identify the most valuable sources
    • Prioritize authoritative sources, recent information, and diverse perspectives
    • Extract key learnings, insights, and potential follow-up questions

Step 3. Report Generation

  • Compile all research findings into a comprehensive report
  • Format the report in Markdown with clear sections:
    • Executive Summary (key findings)
    • Detailed Analysis (organized by subtopics)
    • Unanswered Questions & Future Research
    • Sources (all URLs visited, organized by relevance)
  • Include proper citations for all information
  • Highlight conflicting information or perspectives when found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment