Agent Skills: Getting Search View Results

Get the current search results from the Search view in VS Code

UncategorizedID: microsoft/vscode-copilot-chat/get-search-view-results

Install this agent skill to your local

pnpm dlx add-skill https://github.com/microsoft/vscode-copilot-chat/tree/HEAD/assets/prompts/skills/get-search-view-results

Skill Files

Browse the full folder contents for get-search-view-results.

Download Skill

Loading file tree…

assets/prompts/skills/get-search-view-results/SKILL.md

Skill Metadata

Name
get-search-view-results
Description
'Get the current search results from the Search view in VS Code'

Getting Search View Results

  1. VS Code has a search view, and it can have existing search results.
  2. To get the current search results, you can use the VS Code command search.action.getSearchResults.
  3. Run that command via the copilot_runVscodeCommand tool. Make sure to pass the skipCheck argument as true to avoid checking if the command exists, as we know it does.