Options passed to a custom skill invocation are dropped before reaching the model
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
Describe the bug
When invoking a custom skill using /skill-name --option value, Copilot CLI records the complete input but omits the option arguments from the prompt dispatched to the skill.
Environment:
- GitHub Copilot CLI 1.0.81-6
- Windows
- Session: 2da2d958-a8cd-4eeb-9760-241fac5b53ed
- Occurred around 2026-08-21 04:10:27 UTC
The session event log contains the complete command and arguments. However, the model-visible invocation contains only that the skill was explicitly invoked plus its SKILL.md instructions. Because the arguments are absent, the skill follows its no-arguments behavior.
Affected version
1.0.81-6
Steps to reproduce the behavior
- Define a repository skill that supports command-line-style arguments and has different behavior when no arguments are supplied.
- Invoke it with arguments, for example:
/evaluate-meeting-prep --slides week-over-week,speed,tokens --current "Model=C:\path\to\cohort" - Observe that the skill loads successfully.
- Observe that the skill behaves as if no arguments were supplied and displays its interactive slide-selection menu.
- Inspect the session event log: the original user.message contains the complete command, including --slides and --current, but those arguments are absent from the prompt delivered to the model with the skill context.
Expected behavior
When a custom skill is invoked as /skill-name <arguments>, the complete argument text should be included in the model-visible skill invocation. In this example, the skill should receive --slides week-over-week,speed,tokens and the supplied cohort paths, then proceed without asking the user to select slides again.
Additional context
- Copilot CLI: 1.0.81-6
- Operating system: Windows x64
- Shell: PowerShell
- Session ID: 2da2d958-a8cd-4eeb-9760-241fac5b53ed
- Timestamp: 2026-08-21 04:10:27 UTC
Diagnostic detail: the session's raw user.message event contains the complete 521-character invocation, including --slides, --current, --prior, and --outdir. The subsequent model-visible skill invocation contains the loaded skill instructions but none of those options. This indicates the options are lost during skill dispatch rather than input parsing.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci l’invocazione di una skill personalizzata in GitHub Copilot CLI su Windows PowerShell, quindi confronta l’evento user.message grezzo con l’invocazione della skill visibile al modello. Segui il percorso di dispatch della skill per trovare dove viene eliminato il testo delle opzioni; il lavoro è completato quando tutti gli argomenti, inclusi --slides, --current, --prior e --outdir, raggiungono il modello e la skill ignora il comportamento previsto in assenza di argomenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell, shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 58/100