get-search-view-results
$
npx mdskill add microsoft/vscode/get-search-view-resultsRetrieve the active search query results displayed within the VS Code Search view.
- Allows programmatic access to the content currently visible in the editor's search panel.
- Relies on executing the `search.action.getSearchResults` VS Code command.
- Executes the specific VS Code command directly via the provided tool.
- Returns the structured data representing the matching search results to the calling agent.
SKILL.md
.github/skills/get-search-view-resultsView on GitHub ↗
--- 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.