github / github/copilot-cli

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

Offen
#1,845 0 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.