get-search-view-results

Extract search results from VS Code's search view for analysis.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/MohitKumar9211/Lynx-Shoes --skill get-search-view-results-mohitkumar9211
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-search-view-results
Source: https://github.com/MohitKumar9211/Lynx-Shoes/tree/main/extensions/github.copilot-chat-0.42.3/assets/prompts/skills/get-search-view-results
Command: npx skills add https://github.com/MohitKumar9211/Lynx-Shoes --skill get-search-view-results-mohitkumar9211

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It enables developers to programmatically access the current search results within the VS Code search view, saving time and improving automation workflows.

Core Features & Use Cases

  • Retrieve Search Results: Access existing search results directly from VS Code.
  • Use Case: A developer wants to list all occurrences of a variable across multiple files for refactoring.
  • Perform Automated Analysis: Integrate search results into scripts for further processing, such as highlighting or reporting.

Quick Start

Run the VS Code command search.action.getSearchResults to obtain the current search results for further processing.

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 extract current search results from VS Code for code review?

You can extract current search results from VS Code by invoking the search.action.getSearchResults command through copilot_runVscodeCommand. This programmatically retrieves search view data for code review and refactoring workflows.

Can I programmatically access VS Code search data for refactoring automation?

Yes, you can programmatically access VS Code search data to automate refactoring tasks. The skill extracts existing search results from the search view, allowing scripts to process occurrences of variables across multiple files.

Does extracting search results from VS Code require any specific dependencies?

Extracting search results from VS Code requires no external dependencies. You simply need to execute the search.action.getSearchResults command via copilot_runVscodeCommand with the skipCheck parameter set to true.

What is the best way to retrieve all occurrences of a variable across multiple files in VS Code?

The best way to retrieve all occurrences of a variable across multiple files is to extract the current search results from the VS Code search view. This provides the search data directly for automated analysis or reporting.

Why do I need to set skipCheck to true when running the VS Code search extraction command?

You need to set skipCheck to true when running the VS Code search extraction command to ensure the search.action.getSearchResults command executes without validation interruptions. This allows automated workflows to retrieve search data seamlessly.