`skillDirectories` setting from `settings.json` is not honored in ACP mode (`copilot --acp`)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dal punto di ingresso copilot --acp e confronta la sua individuazione degli skill con quella di copilot interattivo, usando l'impostazione skillDirectories in ~/.copilot/settings.json come input. Riproduci il problema con initialize, session/new e session/prompt; il lavoro è completato quando ACP espone gli skill personalizzati configurati insieme agli skill di progetto, personali e integrati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 72/100