get-search-view-results

Retrieve current VS Code search view results via the getSearchResults command.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/dthompsonfl/crispy-fishstick --skill get-search-view-results-dthompsonfl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-search-view-results
Source: https://github.com/dthompsonfl/crispy-fishstick/tree/main/prompts/skills/get-search-view-results
Command: npx skills add https://github.com/dthompsonfl/crispy-fishstick --skill get-search-view-results-dthompsonfl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieve the active search results from the VS Code Search view to enable automation and batch processing.

Core Features & Use Cases

  • Programmatic access to current search results via the VS Code command getSearchResults, enabling downstream tooling.
  • Automation-ready for post-processing, filtering, or exporting matches to files or dashboards.
  • Use Case: Automate extraction of matches from a search view to feed into a data pipeline or report.

Quick Start

Use the copilot_runVscodeCommand tool to execute the VS Code command search.action.getSearchResults with skipCheck set to true to retrieve the current search results.

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

Programmatic access to VS Code search results is achieved by executing the command search.action.getSearchResults via copilot_runVscodeCommand with skipCheck enabled. This exposes active search view matches for automation and data pipelines.

Can I export VS Code search matches to a data pipeline automatically?

Yes, VS Code search matches can be fed into a data pipeline by programmatically retrieving the active search view results. The retrieved matches are then ready for post-processing, filtering, or exporting to files and dashboards.

What is the VS Code search.action.getSearchResults command used for?

The search.action.getSearchResults command retrieves and exposes the current matches from the VS Code search view. It enables automation workflows to extract search data for code review, debugging, and reporting tasks.

Do I need copilot_runVscodeCommand to fetch search results from VS Code?

Yes, copilot_runVscodeCommand or similar supporting tooling is required to execute the search.action.getSearchResults command programmatically. This allows fetching the search view results without manual intervention.

What are the limitations of automating VS Code search results extraction?

Automating VS Code search results extraction requires an active search view with current matches and supporting tooling like copilot_runVscodeCommand. It is limited by the availability of the search.action.getSearchResults command in the environment.