Skip to content

Fix documentation on location of custom agents and instructions in user data folder #305642

Description

@j4-c4
  • 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:

  1. Place a custom agent in %APPDATA\Code\User\agents, or instructions in %APPDATA\Code\User\instructions as documented (agents, instructions
  2. Check the agent picker for the agent - it is missing
  3. Send a prompt, check logs to determine if instructions file was loaded - it was not
  4. 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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions