Explicit slash skill is redundantly reloaded through model registry and fails with “Skill not found”
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
Describe the bug
An explicitly invoked interactive slash skill is successfully resolved and expanded into the conversation, but the assistant then attempts to load the same skill through the model-facing skill() tool. For skills excluded from model invocation, that redundant call fails with Skill not found, and the requested workflow does not start.
This differs from #4438: the interactive /skill resolver succeeds and provides the skill context. The failure happens afterward because the assistant routes the already-resolved explicit invocation back through the model-only registry.
Affected version
GitHub Copilot CLI 1.0.79
Steps to reproduce the behavior
-
Create a personal skill at
%USERPROFILE%\.agents\skills\implement. -
Configure
agents\openai.yaml:interface: display_name: "Implement" short_description: "Build work from a spec or tickets" policy: allow_implicit_invocation: false -
Start an interactive Copilot CLI session using GPT-5.6 Sol.
-
Invoke the skill directly:
/implement 5514365 -
The CLI successfully injects an explicit invocation message and
<skill-context name="implement">containing the skill's base directory and instructions. -
Instead of following that supplied context, the assistant calls the model-facing tool:
skill: "implement" -
The tool returns:
Skill not found: implement
The same session shows that skills with allow_implicit_invocation: false are absent from the model-facing registry, while skills without that policy are present. Skills under %USERPROFILE%\.copilot\skills without this policy are also present.
Expected behavior
Once an interactive slash command has resolved a skill and supplied its <skill-context>, the assistant should execute those instructions directly. It should not call the model-facing skill() tool again.
allow_implicit_invocation: false should prevent automatic model selection without breaking a direct /skill invocation that the CLI has already resolved.
Additional context
- OS: Microsoft Windows 10.0.26200, x64
- PowerShell: 7.6.4
- Model: GPT-5.6 Sol
- Related registry/filtering issue: #4438
Debug logs available on request.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par le resolver interactif /skill et par le chemin du registre skill() destiné au modèle, en utilisant comme contexte la politique agents/openai.yaml et le comportement décrit dans l’issue #4438. Suivez la manière dont une invocation explicite est transmise après la résolution, puis vérifiez que allow_implicit_invocation: false continue d’exclure les skills de la sélection automatique sans provoquer une seconde recherche ; reproduisez le cas avec /implement 5514365 pour confirmer que le workflow démarre.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 58/100