Options passed to a custom skill invocation are dropped before reaching the model
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce la invocación de una skill personalizada en GitHub Copilot CLI sobre Windows PowerShell y compara después el evento user.message sin procesar con la invocación de la skill visible para el modelo. Sigue la ruta de dispatch de la skill para encontrar dónde se descarta el texto de las opciones; se considera terminado cuando todos los argumentos, incluidos --slides, --current, --prior y --outdir, llegan al modelo y la skill omite su comportamiento para el caso sin argumentos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- powershell, shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 58/100