Commit 21ae94d
feat: add skill:// resource templates for Agent Skills discovery
Add MCP resource templates that expose Agent Skills (per agentskills.io
spec) from GitHub repositories via the skill:// URI scheme.
Resource templates:
- skill://{owner}/{repo}/{skill_name}/SKILL.md — fetch skill content
- skill://{owner}/{repo}/{skill_name}/_manifest — JSON manifest with
repo:// URIs for each file, composing with existing repo:// resources
Discovery uses the Git Trees API to find SKILL.md files under known
paths (.github/skills/, skills/, .copilot/skills/).
Completions support for owner, repo (reusing existing resolvers), and
skill_name (discovers skills via tree search).
Registered under a new non-default 'skills' toolset. Enable with
--toolsets=skills or --toolsets=default,skills.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c38802a commit 21ae94d
File tree
5 files changed
+978
-0
lines changed- pkg/github
5 files changed
+978
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
0 commit comments