Skip to content

Agents folder setting support #1506

Closed
Closed

Description

@aviita

Describe the feature or problem you'd like to solve

Setting for custom agents folders or sub-folders.

Proposed solution

VS code and copilot chat has syntax like the following:
json "chat.agentFilesLocations": { ".github/agents/atlas": true }

It would be either good to read the same settings file and setting or create similar feature, so that agent orchestrators with their list of sub-agents could be kept in separate folders.

E.g. sub-agent naming might not follow the main agent naming and if trying out several agent orchestrators in same repo (or even user folder), especially sub-agents get messy to separate and maintain. If files would be renamed in orchestrator repo, copy-pasting an orchestrator to your repo and keeping things clean becomes even harder.

Example prompts or workflows

No response

Additional context

No response

Activity

  1. added theissue type on Feb 17, 2026
  2. added
    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents
    on Apr 6, 2026
  3. dgibson66 commented on Apr 16, 2026

    @dgibson66

    While you're at it, do the same for skills, prompts, and instructions.

  4. aviita commented on Apr 20, 2026

    @aviita
    Author

    Another use case for this would be the ability to separate GitHub Copilot and Copilot CLI agents into different folders. Currently, if you want agents that each only have access to their own relevant tools, you are forced into one of two workarounds:

    1. Maintain duplicate agent definitions — one copy for VS Code and one for Copilot CLI — both of which appear in both environments, requiring the user to always select the correct one manually.
    2. Enable all tools regardless of availability — attempting to include tools that are not supported in the current environment.

    The second approach is particularly problematic: VS Code's tool picker will automatically disable any unavailable tools when used, and the editor will display warnings about them.

    Folder-based separation is also not a viable solution. Both VS Code (including Visual Studio) and Copilot CLI discover agents from the same locations — .github/agents and .copilot/agents — so there is no way to point each client to its own dedicated folder.

    A root cause of this friction is that VS Code Copilot and Copilot CLI expose a different set of built-in tools to agents. For reference, Copilot CLI's tool availability is documented here, though I was unable to find equivalent documentation listing VS Code's built-in tools.

    I find that Copilot CLI and GitHub Copilot complement each other well and would like to use them side by side. However, the inconsistency in available built-in tools makes managing shared agents cumbersome — especially for those who rely heavily on agents and skills.

  5. copilot-cli-bot commented on Oct 16, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.98. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions