You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid duplicate skill lookup for slash-invoked skills with disable-model-invocation #4637
A skill that is explicitly invoked with a slash command can execute and inject its instructions into context, while another lookup path reports Skill not found, creating misleading context noise.
Reproduction
Use a skill with this frontmatter:
---
name: implementdescription: "Implement a piece of work based on a spec or set of tickets."disable-model-invocation: true
---
The local skill is C:\Users\omzig\.copilot\skills\implement\SKILL.md; the relevant setting is line 4: disable-model-invocation: true.
Then run:
/implement #1147
Observed behavior:
The /implement workflow is recognized and its instructions are injected into context.
A separate skill lookup reports: Skill not found: implement.
The command can continue, but the error is misleading and makes it appear that the skill failed to load.
Environment: Copilot CLI 1.0.80 on Windows.
Expected behavior
disable-model-invocation: true should prevent automatic/model-driven invocation. It should not make an explicit slash-command invocation unavailable. When the explicit command path succeeds, the runtime should not perform a second conflicting lookup or emit Skill not found.
Suggested fix
Distinguish explicit slash-command invocation from automatic skill invocation. Resolve the command/skill once, honor disable-model-invocation only for automatic loading, and suppress the registry error when the explicit command path has already loaded the skill successfully.
This is primarily a context-quality issue: the implementation workflow works, but the duplicate/conflicting lookup adds noise and obscures the actual result.
Additional related repro from Copilot chat: /grill-with-docs is visible in the slash-command popup and was invoked from there. The assistant then said the skill was “not registered here” and fell back to /grilling + /domain-modeling, rather than loading grill-with-docs.
A direct skill-loader lookup for grill-with-docs in that chat returned Skill not found; the available-skill list included grilling and domain-modeling, but not grill-with-docs. This suggests the slash picker and the skill resolver are using inconsistent registries, or differ in scope/name mapping. Unlike the issue’s current repro, I cannot confirm the slash invocation successfully injected the skill instructions before the failing lookup.
It would help to log which skill name and source/scope the slash picker resolves, then ensure the loader uses that same resolved entry (and report a load error only if that explicit resolution actually fails).
This appears to be resolved as of GitHub Copilot CLI v1.0.114. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.
Activity
anatskiy commentedon Sep 1, 2026
This is a duplicate of #4438
Omzig commentedon Sep 25, 2026
Additional related repro from Copilot chat:
/grill-with-docsis visible in the slash-command popup and was invoked from there. The assistant then said the skill was “not registered here” and fell back to/grilling+/domain-modeling, rather than loadinggrill-with-docs.A direct skill-loader lookup for
grill-with-docsin that chat returnedSkill not found; the available-skill list includedgrillinganddomain-modeling, but notgrill-with-docs. This suggests the slash picker and the skill resolver are using inconsistent registries, or differ in scope/name mapping. Unlike the issue’s current repro, I cannot confirm the slash invocation successfully injected the skill instructions before the failing lookup.It would help to log which skill name and source/scope the slash picker resolves, then ensure the loader uses that same resolved entry (and report a load error only if that explicit resolution actually fails).
Remove the sources list from maintaining-skills
copilot-cli-bot commentedon Nov 22, 2026
This appears to be resolved as of GitHub Copilot CLI v1.0.114. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.