github / github/copilot-cli

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

Đang mở
#4,708 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

area:agents area:plugins
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện workflow với một plugin được cài đặt trong .copilot/installed-plugins, sau đó so sánh việc khám phá skill của agent chính và một subagent được tạo ra. Theo dõi cách tập hợp skill đã cài đặt của agent cha được truyền cho subagent; hoàn thành khi subagent khám phá và gọi cùng skill đã cài đặt đó thay vì tìm kiếm trong workspace.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.