github / github/copilot-cli

Subagents cannot access installed skills that are available to the main agent

Aperta
#4,708 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

area:agents area:plugins
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Describe the bug

Subagents cannot access installed skills that are available to the main agent

Describe the bug

In GitHub Copilot CLI 1.0.82, a main agent can discover and use skills installed through .copilot/installed-plugins. However, a subagent spawned by that main agent cannot access the same skills.

Instead of invoking the installed skill, the subagent attempts to search for the skill in the current workspace. This fails when the skill is provided by an installed plugin rather than stored in the repository.

This behavior appears to be a regression. The same workflow worked approximately two weeks ago: subagents had access to the same installed skills as the main agent.

Actual behavior

  • The main agent can retrieve and use an installed skill successfully.
  • A subagent spawned by that agent cannot retrieve the same skill.
  • The subagent searches the workspace for the skill instead of resolving it from the installed skills/plugins.

Environment

  • GitHub Copilot CLI version: 1.0.82
  • Skill source: installed plugins under .copilot/installed-plugins
  • Regression window: worked approximately two weeks ago

Why this matters

This breaks workflows where a coordinator agent delegates specialized work to subagents. The parent agent can access the relevant installed skills, but the workers cannot, which makes skill-based orchestration unreliable and forces users to duplicate skill instructions in the repository or pass them manually in prompts.

Requested fix

Please ensure that subagents inherit, or are otherwise given access to, the same installed skills as their parent/main agent. At a minimum, skills from the parent's installed plugin set should be discoverable and invocable by its subagents.

If full inheritance is intentionally not supported, please document the intended scope rules and provide a supported mechanism for declaring skills that a subagent requires.

Affected version

1.0.82

Steps to reproduce the behavior
  1. Install a Copilot plugin that provides one or more skills.
  2. Verify that the main Copilot CLI agent can discover and invoke one of those installed skills.
  3. Ask the main agent to spawn a subagent and explicitly instruct the subagent to use the same skill.
  4. Observe that the subagent tries to locate the skill in the repository workspace instead of resolving it from the installed plugin.
  5. The subagent therefore cannot invoke the skill that is available to the main agent.
Expected behavior

A subagent should receive access to the same installed skills that are available to its parent/main agent, including skills supplied through .copilot/installed-plugins.

When instructed to use a named skill, the subagent should discover and invoke that installed skill rather than searching the workspace for files or instructions with a matching name.

Additional context

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il workflow con un plugin installato sotto .copilot/installed-plugins, quindi confronta la discovery degli skill per l’agente principale e un subagent generato. Traccia il modo in cui l’insieme di skill installati dell’agente padre viene passato al subagent; il lavoro è completato quando il subagent individua e invoca lo stesso skill installato invece di cercare nel workspace.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.