VS2026 recently added a feature to the copilot-instructions.md #190790
Replies: 3 comments 3 replies
-
|
I don’t think copilot-instructions.md significantly increases model load in the way it might seem. These instruction files are typically handled as additional context, similar to how prompts or comments already guide Copilot’s behavior. The model isn’t retrained or permanently burdened — it simply conditions its responses on the provided rules during that interaction. In fact, structured instruction files can reduce overall load in some scenarios because they make the intent clearer, which can reduce back-and-forth prompting and improve first-response accuracy. So while it might feel like “extra work” for the AI, the practical effect is usually more efficient inference, not more expensive training. The main trade-off is slightly longer context processing, but modern systems are designed to handle this type of structured guidance efficiently. Overall, the feature seems aligned with improving output consistency rather than increasing infrastructure strain. |
Beta Was this translation helpful? Give feedback.
-
|
I think this concern might be a bit overstated. The purpose of the copilot-instructions.md file in GitHub Copilot is not to significantly increase model load, but to provide better context and guidance for generating more accurate suggestions. From a technical perspective, adding instructions is similar to providing additional prompt context. While it may slightly increase token usage per request, modern systems are designed to handle this efficiently, especially at scale by Microsoft. Also, having structured instructions can actually reduce unnecessary back-and-forth or incorrect suggestions, which in the long run may optimize usage rather than worsen it. So instead of being detrimental, this feature is more likely intended to improve developer productivity and output quality. |
Beta Was this translation helpful? Give feedback.
-
|
What you're observing is real: longer copilot-instructions.md files do slow down responses and can reduce suggestion quality. AgentSeal's explanation is accurate. The practical fix is to split your instructions rather than keeping everything in one global file. VS Code Copilot recently added support for scoped instruction files: File-specific instructions ( This way your Python-specific rules don't get sent with every TypeScript request, and vice versa. Practical guidelines for keeping things fast:
The slowdown you're seeing with many rules is mostly a context window competition issue. The more tokens your instructions take, the less room there is for actual code context, which hurts both speed and accuracy. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Copilot in GitHub
Body
VS2026 recently added a feature to the
.gitHub
copilot-instructions.md
The idea of the copilot-instructions.md file was really good, but if you wrote the restrictions and rules in copilot-instructions.md
Copilot's load would have increased terribly.
As a result of the introduction of the copilot-instructions.md file, it must have been quite detrimental to the model AI.
One individual can experience this increase in load, so if tens of thousands of people apply copilot-instructions.md every time, the load will have been increased by GitHubCopilot and Microsoft.
More likely, it was a release feature that was far from the intention of reducing the load.
Beta Was this translation helpful? Give feedback.
All reactions