Skip to content
Development
Skill

/get-search-view-results

Get the current search results from the Search view in VS Code

From plugin
vscode
189k26 skills
Install
$ npx -y skills add microsoft/vscode --skill get-search-view-results --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/get-search-view-results

Context preview

The summary Claude sees to decide when to auto-load this skill.

Get the current search results from the Search view in VS Code

SKILL.md

get-search-view-results.SKILL.md
name: get-search-view-results
description: 'Get the current search results from the Search view in VS Code'

Getting Search View Results

1. VS Code has a search view, and it can have existing search results. 2. To get the current search results, you can use the VS Code command `search.action.getSearchResults`. 3. Run that command via the `copilot_runVscodeCommand` tool. Make sure to pass the `skipCheck` argument as true to avoid checking if the command exists, as we know it does.

Ships withvscode

Visual Studio Code

Get the whole plugin
Stats
188,564
Stars
41,520
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4m ago
Last commit
10y ago
Created

Repo: microsoft/vscode