- Copilot Chat Extension Version: 0.41.2
- VS Code Version: 1.113.0
- OS Version: Windows 11
- Feature (e.g. agent/edit/ask mode): Custom agents/instructions files
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): N/A
- Logs: N/A
Steps to Reproduce:
- Place a custom agent in
%APPDATA\Code\User\agents, or instructions in %APPDATA\Code\User\instructions as documented (agents, instructions
- Check the agent picker for the agent - it is missing
- Send a prompt, check logs to determine if instructions file was loaded - it was not
- Check Chat Customisations window to see if either is visible - they are not.
Note: the pages say this about where user profile scoped agents etc. are stored:
~/.copilot/agents, agents folder of the current VS Code profile
and that page says that profiles are stored in %APPDATA%\Code\User\profiles on Windows. Currently, the only user data folder that picks up agents, instructions or prompts is %APPDATA%\Code\User\prompts (i.e. outside the profile folder), so I've assumed %APPDATA%\Code\User is the correct location for the agents/instructions folders. Putting the folders inside %APPDATA%\Code\User\profiles\<profile_id>\ still doesn't work though.
Steps to Reproduce:
%APPDATA\Code\User\agents, or instructions in%APPDATA\Code\User\instructionsas documented (agents, instructionsNote: the pages say this about where user profile scoped agents etc. are stored:
and that page says that profiles are stored in
%APPDATA%\Code\User\profileson Windows. Currently, the only user data folder that picks up agents, instructions or prompts is%APPDATA%\Code\User\prompts(i.e. outside the profile folder), so I've assumed%APPDATA%\Code\Useris the correct location for theagents/instructionsfolders. Putting the folders inside%APPDATA%\Code\User\profiles\<profile_id>\still doesn't work though.