get-search-view-results

Retrieve active search results from the VS Code Search view.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/THRISHAL12345/Project_X --skill get-search-view-results-thrishal12345
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-search-view-results
Source: https://github.com/THRISHAL12345/Project_X/tree/main/apps/vscode-fork/extensions/copilot/assets/prompts/skills/get-search-view-results
Command: npx skills add https://github.com/THRISHAL12345/Project_X --skill get-search-view-results-thrishal12345

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you retrieve the current contents of the VS Code Search view without manually inspecting the UI, making it easier to work with existing search results in an automated workflow.

Core Features & Use Cases

  • Search Result Retrieval: Reads the active results currently shown in VS Code's Search view.
  • Workflow Integration: Supports automation flows that need to inspect or reuse search output inside the editor.
  • Use Case: If you have already run a workspace-wide search and need the result set for follow-up actions, this Skill provides a direct way to access it.

Quick Start

Ask the assistant to get the current search results from the VS Code Search view.

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 for editor automation?

You can retrieve VS Code search results programmatically by invoking the search.action.getSearchResults command through copilot_runVscodeCommand. This reads the active results currently displayed in the Search view for follow-up actions.

Can I read existing workspace search output in VS Code without inspecting the UI?

Yes, you can read existing workspace search output without manually inspecting the UI. This Skill retrieves the current contents of the VS Code Search view directly, enabling automation workflows to inspect and reuse existing search output.

Does retrieving VS Code search results require a specific command execution setup?

Retrieving VS Code search results requires invoking the search.action.getSearchResults command through copilot_runVscodeCommand with skipCheck enabled. This setup directly accesses the active search output currently shown in the editor.

What is the best way to use VS Code search results for follow-up workflow actions?

The best way to use VS Code search results for follow-up actions is retrieving the active result set from the Search view. This provides a direct data source for editor automation workflows to inspect and process existing search output.