github / github/copilot-cli

Skill references trigger unnecessary directory access prompts

Đang mở
#1,819 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:permissions 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

When a skill includes bundled reference files (under ~/.copilot/skills//references/), Copilot CLI prompts the user for directory access confirmation for each reference file. This is disruptive because:

1. Skills are explicitly allowed to have references/ — these are bundled resources the skill depends on.
2. The user already trusted the skill by installing/enabling it.
3. The prompt fires repeatedly (e.g., "5 remaining"), breaking the agentic flow.

### Affected version

0.0.421

### Steps to reproduce the behavior

- Install a skill that has files in its references/ directory (e.g., work-awareness skill with references/meeting-radar.md).
- Invoke the skill.
- Observe repeated "Allow directory access" prompts for each reference file.

### Expected behavior

The `~/.copilot/skills//references/` directory should be automatically allowed when a skill is invoked. No user confirmation should be needed for skill-bundled reference files.

### Additional context

_No response_

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

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

Đánh giá

Issue này chưa được đánh giá.

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.