Agent skills in .github/skills are not loaded into the Copilot agent session (VS 2026 18.11.3 Release)

Sven 11 Zuverlässigkeitspunkte
2026-11-06T12:06:32.58+00:00

Environment

• Visual Studio Professional 2026 18.11.3 (VisualStudio.18.Release)

• Session client: microsoft/visualstudio-chat, Copilot agent 1.0.103

• Standalone Copilot CLI 1.0.106 on the same machine

• Repo: C:\Source\Repos\CleverMatch, git root equals the solution folder

• Branch SM-ChatUI

Expected According to the Microsoft Learn article "Use Agent Skills with GitHub Copilot", VS discovers workspace skills from .github/skills/, .claude/skills/ and .agents/skills/. These skills should be available to the agent and show up as /skill-name in the composer.

Actual

• The agent session receives none of the 34 skills in .github/skills/. In the session event log, no system.message ever contains a repo skill in <available_skills>.

• Calling a skill manually (for example /plancode) fails with "unknown skill or command".

• The composer offers no autocomplete for repo skills.

• Skills from the user profile (~.claude\skills, ~.agents\skills) and the built-in skills are loaded.

• This happens in a new session and after a full VS restart.

Checks already done

• All 34 skills are spec-conformant: name equals the directory name, description is under 1024 characters, there is no BOM, and the files are tracked by git.

• Two skills have extra frontmatter keys (commands and tools). The other 32 are plain and are missing as well.

• The folder C:\Source\Repos\CleverMatch is trusted in VS. I also added it to trustedFolders in ~.copilot\config.json.

• The standalone CLI 1.0.106 lists all 34 as "Project skills" (copilot skill list, run in the repo root).

• I found no VS option to enable workspace skills or to show their search paths.

Hypotheses

• The session working directory is passed with a trailing backslash (C:\Source\Repos\CleverMatch). The workspace skill scan may not resolve it correctly.

• Workspace skill discovery in the VS-hosted agent (1.0.103) may have a regression compared with the CLI (1.0.106).

Request

• Please confirm whether workspace skills are supported in the Release channel 18.11.

• Please tell me which log or option shows the paths VS scans for skills.

Entwicklertechnologien | Visual Studio | Andere
Entwicklertechnologien | Visual Studio | Andere

Eine Familie von Microsoft-Suiten integrierter Entwicklungstools zum Erstellen von Anwendungen für Windows, das Web, mobile Geräte und viele andere Plattformen. Verschiedene Themen, die nicht in bestimmte Kategorien passen.

0 Kommentare Keine Kommentare

Ihre Antwort

Antworten können von Fragestellenden als „Angenommen“ und von Moderierenden als „Empfohlen“ gekennzeichnet werden, wodurch Benutzende wissen, dass diese Antwort das Problem des Fragestellenden gelöst hat.