`skillDirectories` setting from `settings.json` is not honored in ACP mode (`copilot --acp`)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu tại điểm vào copilot --acp và so sánh việc phát hiện skill của nó với copilot tương tác, sử dụng cấu hình skillDirectories trong ~/.copilot/settings.json làm đầu vào. Tái hiện bằng initialize, session/new và session/prompt; hoàn tất khi ACP hiển thị các skill tùy chỉnh đã cấu hình cùng với các skill của dự án, cá nhân và tích hợp sẵn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
~/.copilot/settings.json supports a skillDirectories array for registering
additional custom skill source directories. These directories' skills are
correctly discovered and listed when running the interactive copilot CLI,
but do not show up when the same user/config runs in ACP mode
(copilot --acp, e.g. via the Zed editor's ACP integration).
Affected version
Copilot CLI 1.0.82
Environment
- OS: Windows
- ACP client: Zed editor (
copilot --acp) - Windows Terminal:
copilot.exe --acp
Steps to reproduce
-
Add a
skillDirectoriesentry to~/.copilot/settings.json, e.g.:{ "skillDirectories": [ "C:\\Users\\<user>\\ai_space\\skill_groups\\workflow_skills", "C:\\Users\\<user>\\ai_space\\skill_groups\\shorthand_skills", "C:\\Users\\<user>\\ai_space\\skill_groups\\ddstack_skills" ] }
Each directory contains one or more <skill-name>/SKILL.md skills.
-
Run interactive
copilot, thencopilot skill list(or/skills list).
Result: skills from allskillDirectoriesentries appear under a
"Custom skills:" heading, alongside project (.github/skills/) and
personal (~/.copilot/skills/) skills. Confirmed working — e.g.
workflow-design,shorthand-crew,principle-fix-root-causes, etc. all
listed (43 custom skills total in our test). -
Independently, spawn
copilot.exe --acpas a subprocess and drive it
directly over stdio with raw JSON-RPC (bypassing any client like Zed
entirely, to rule out client-side filtering):initialize→session/new(with the samecwd) →session/prompt
asking the agent to "list every skill name available to you right now,
grouped by category, without invoking any tool."
Result: the agent's response only lists project (12 skills),
user/personal (5 skills), and builtin (2 skills) categories. The
custom category empty, none of the 43 skills sourced fromskillDirectories, does
not appear in its own self-reported system context.
Expected behavior
ACP mode should discover and expose the same skill set as interactive mode,
including all directories configured via skillDirectories in
settings.json, since both entry points read the same global config file.
Actual behavior
ACP mode does not surface any skillDirectories-sourced skills, with no
error, warning, or other indication that the setting was skipped.
Additional context
settings.jsonandconfig.jsonare unmodified between the two runs —
same file, same user, same machine.- Personal (
~/.copilot/skills/) and project (.github/skills/) skills
do load correctly in ACP mode, so this isn't a total skill-loading
failure — it's specific to theskillDirectoriescustom-path mechanism. - Reproduced twice: once via a live Zed →
copilot --acpsession, and once
via a standalone hand-rolled ACP client script, ruling out a
client-specific (Zed) cause.
- 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot-cli
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4729 ·
-
area:sessions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#4712 ·
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output Đang mởarea:tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#4630 · 1 bình luận ·
Tất cả issue của github/copilot-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
community-scripts/ProxmoxVE#17425 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
technical-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ll7/robot_sf_ll7#9560 ·
-
Update ghgrab to 2.1.0 Đang mởpackage-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 bình luận ·