github / github/copilot-cli

Add `--additional-skills` option

未关闭
#868 2 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

Inside of copilot there's a `/skills add ~/path/to/skill`, but not a way to add them when launching copilot

### Proposed solution

Currently, users can specify additional map configs with `--additional-mcp-config`.

A similar feature would be nice for skills.

Currently, users can add additional skills inside of copilot with `/skills add ./skills`, but this requires adding additional skill directories with copilot already launched. And then, skills also need to be removed using `/skills remove ./skills`.

When launching copilot, it would be nice to have the ability to do something like:

```sh
copilot --additional-skills ~/study/skills --additional-skills ~/authoring/skills
```

Where additional skill directories are loaded for that session (not persisted).

This enables folks to write alias/launchers for copilot with both skills and MCP servers configured for custom tasks.

Then power users can role their own plugin system without copilot needing on internally for now.

### Example prompts or workflows

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。