get-search-view-results

Retrieves current search results from the VS Code Search view via command.

Updated Aug 20, 2026
One-click install
npx skills add https://github.com/basedgod55hjl/vsbrax --skill get-search-view-results-basedgod55hjl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: get-search-view-results
Source: https://github.com/basedgod55hjl/vsbrax/tree/main/extensions/copilot/assets/prompts/skills/get-search-view-results
Command: npx skills add https://github.com/basedgod55hjl/vsbrax --skill get-search-view-results-basedgod55hjl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working in VS Code, search results in the Search view are not directly accessible to an AI assistant. This Skill lets the assistant read the current search results so it can reason about matches across your workspace without you copying them manually. ## Core Features & Use Cases - Search Result Retrieval: Invokes the built-in VS Code command search.action.getSearchResults to fetch the active Search view results. - Command Execution via Tool: Runs the command through the copilot_runVscodeCommand tool with skipCheck set to true, since the command is known to exist. - Use Case: After running a workspace-wide search for a function name, ask the assistant to review the matches and suggest which files need refactoring. ## Quick Start Ask the assistant to get the current search results from the Search view and summarize the matches.

Frequently Asked Questions about get-search-view-results

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get VS Code search results programmatically?▼

Run the built-in VS Code command search.action.getSearchResults, which returns the current results from the Search view. Through an assistant, this is executed via the copilot_runVscodeCommand tool.

How to run a VS Code command from GitHub Copilot?▼

Use the copilot_runVscodeCommand tool with the command ID as the argument. For known built-in commands like search.action.getSearchResults, pass skipCheck as true to skip the existence check.

Does this work if the Search view has no results?▼

The command reads whatever is currently in the Search view. If no search has been performed or results were cleared, there will be no results to return, so run a workspace search first.

Why pass skipCheck as true when running VS Code commands?▼

The skipCheck argument bypasses the tool's verification that a command exists. Since search.action.getSearchResults is a known built-in VS Code command, skipping the check avoids an unnecessary validation step.