github / github/copilot-cli

Add config/flag/env option to disable claude code compatibility loading

未關閉
#1,845 0 則留言 6 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

I use both Copilot CLI and Claude Code simultaneously, and Copilot CLI's automatic loading from .claude/ directories (agents, skills) interferes with my intentionally separate setups for each tool.

### Proposed solution

Reference to [loading order of Copilot CLI](https://docs.github.com/en/copilot/reference/cli-plugin-reference#loading-order-and-precedence), the CLI loading agents and skills from `.claude` directory. Add a opt-out config to `config.json` :
```json
{
"claude": {
"agents": false,
"skills": false,
"commands": false
}
}
```

### Example prompts or workflows

_No response_

### Additional context

- [Copilot CLI plugin loading order](https://docs.github.com/en/copilot/reference/cli-plugin-reference#loading-order-and-precedence)
- [Opencode env var to disable Claude Code skills/commands](https://github.com/anomalyco/opencode/issues/12604)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。