Support hooks, skills, agents, instructions/rules from additional directories

Open
#2,280 0 comments 0 reactions 0 assignees View on GitHub

@DonJayamanne is already working on this.

Since Sep 16, 2026.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java
Domain
cli, tooling

Research direction

Start with the SDK and --add-dir entry points, then read the behavior described in pull request #2180. Identify how additional directories are currently exposed to the model and determine the expected handling for skills, custom agents, MCP servers, plugins, and rules or instructions from an environment variable. Done means these resources are loaded from additional directories as described.

Written by the indexing model from the issue text.

Description

enhancement vs-code

https://github.com/github/copilot-sdk/pull/2180

Currently the adding folders via SDK or --add-dir only tells the model of the directories
Skills, Custom Agents, MCP servers, plugins, and the like aren't loaded from the additional directories
Claude supports loading of Skills and Agents from the additional directories
& also supports loading rules/instructions based on an Env variable

Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 12h
Merged PRs (30d)
133

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.