134 words
1 minutes
How to Run Deep Research in GitHub Copilot CLI【/research】

Overview#

Ever wanted to research a topic thoroughly before jumping into implementation, but switching between your browser and terminal felt like a waste of time?

The /research command runs a deep investigation right inside Copilot CLI, pulling from GitHub repositories and web sources.


Usage#

Run this in Copilot CLI:

/copilot> /research best practices for Next.js App Router middleware authentication

Copilot searches GitHub and the web, then compiles a research report.


How It Differs from a Regular Prompt#

MethodInformation source
Regular promptAI’s training data only
/researchActually searches GitHub + web sources

/research goes out and looks at real, up-to-date information, so you get current code examples and actual best practices.


Great For#

  • Learning how to use a new library
  • Seeing how other projects solve similar problems
  • Investigating error messages
  • Finding established best practices

How to Run Deep Research in GitHub Copilot CLI【/research】
https://naonao-na.com/en/posts/github-copilot-cli-research/
Author
[object Object]
Published at
2026-03-28