github / github/copilot-cli

Feature Request: Native startup files config in settings.json

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

Beschreibung

## Problem

Users who maintain skill/reference files in `~/.copilot/skills/` need them loaded at the start of every session. Today the only mechanism is a prose instruction in `copilot-instructions.md` saying "read these files first" — but model compliance is inconsistent. 3 out of 3 new sessions this morning required manually prompting the agent to load skills.

## Proposed Solution

Add a `startupFiles` array in `settings.json` that the CLI runtime reads and injects into context automatically before the first model turn — no model compliance needed.

```json
"startupFiles": [
"~/.copilot/skills/**/*.md",
"~/.copilot/skills/references/*.md"
]
```

This would guarantee domain context is always present without wasting a turn on file reads or relying on the model to follow instructions.

## Impact

Any power user who builds custom skills, domain knowledge bases, or team-specific reference files hits this every single session. The current workaround is asking the agent "have you loaded skills" at the start of every session, which defeats the purpose of having persistent instructions.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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