github / github/copilot-cli

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

Aperta
#1,845 0 commenti 6 reazioni 0 assegnatari Vedi su GitHub
area:configuration
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.