Summary
I found this ticket in VsCode microsoft/vscode#290272
Changes to skills in current working directory are not being applied without VsCode restart. Applying Developer: Reload Window does not help. If you start new session, it will still have old skills definitions.
After some digging, it seems that VsCode copies working directory to %AppData%/Roaming/Code/agentPlugins and uses it as a source of truth for skills. However it never updates it to match current working tree unless you restart VsCode.
Reproduction
- Create a new directory with .github folder and any skill defined
- Open this folder in VsCode
- Invoke Skill
- Delete .github/skills directory
- Invoke skill again
the skill will still be invoked
Expected behavior
Skills used match current working tree.
In the example above, I'd expect the deleted skill to not exist.
Versions
VsCode Version: 1.141.0 (user setup)
@github/copilot: 1.0.92-4.unstable.r37397886721.gad270aa
@github/copilot-sdk: 1.0.17.37397886721.gad270aa
Summary
I found this ticket in VsCode microsoft/vscode#290272
Changes to skills in current working directory are not being applied without VsCode restart. Applying
Developer: Reload Windowdoes not help. If you start new session, it will still have old skills definitions.After some digging, it seems that VsCode copies working directory to
%AppData%/Roaming/Code/agentPluginsand uses it as a source of truth for skills. However it never updates it to match current working tree unless you restart VsCode.Reproduction
the skill will still be invoked
Expected behavior
Skills used match current working tree.
In the example above, I'd expect the deleted skill to not exist.
Versions
VsCode Version: 1.141.0 (user setup)
@github/copilot: 1.0.92-4.unstable.r37397886721.gad270aa
@github/copilot-sdk: 1.0.17.37397886721.gad270aa