get-search-view-results

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

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/voidful/Aixlarity --skill get-search-view-results-voidful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-search-view-results
Source: https://github.com/voidful/Aixlarity/tree/main/aixlarity-ide/extensions/copilot/assets/prompts/skills/get-search-view-results
Command: npx skills add https://github.com/voidful/Aixlarity --skill get-search-view-results-voidful

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working in VS Code, the Search view may already contain results from a previous search, but an AI assistant has no direct way to read them. This Skill lets the assistant access those existing search results programmatically instead of asking the user to copy them manually. ## Core Features & Use Cases - Read Existing Search Results: Invokes the built-in VS Code command search.action.getSearchResults to fetch whatever is currently shown in the Search view. - 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 performing a workspace-wide search for a function name, ask the assistant to review the matches. It retrieves the current Search view results directly and reasons over them without re-running the search. ## Quick Start Ask the assistant to get the current search results from the VS Code 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 search results from the VS Code Search view programmatically?

Run the built-in VS Code command search.action.getSearchResults, which returns the results currently shown in the Search view. In a Copilot agent context, invoke it through the copilot_runVscodeCommand tool.

How to run a VS Code command from a Copilot agent?

Use the copilot_runVscodeCommand tool and pass the command identifier, such as search.action.getSearchResults. Set the skipCheck argument to true when you already know the command exists, skipping the existence validation step.

Does search.action.getSearchResults work without an active search?

The command reads whatever results are currently present in the Search view. If no search has been performed, there are no results to return, so a search should be executed in the view first.

Why pass skipCheck as true to copilot_runVscodeCommand?

The skipCheck argument bypasses the tool's verification that a command exists before running it. Since search.action.getSearchResults is a known built-in VS Code command, the check is unnecessary and can be skipped.