GitHub Copilot doesn't remove previous skill

Open
#2,227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
devtools

Research direction

No files or tests are named. Start by locating the .NET SDK skill-loading and conversation-context entry points, then reproduce the behavior with sequential queries and a query requiring multiple skills. Done means the current request does not inherit unrelated previous skills and all skills needed for a multi-skill query are loaded.

Written by the indexing model from the issue text.

Description

question

I am using Skills with .NET SDK (Copilot SDK Version: 1.0.8). I am facing some issues -

  1. As per debug logs, skills which are matching with current query intent are added as "User" content while calling the LLM. SDK is not removing previous skills while passing the context to the LLM. SDK passes whole context to the LLM including previous skills as well. This is creating problem for us. Sometimes, LLM performs completely unrelated tasks to current query. These tasks are performed because previous skills are also present in the context. We want skills which are related to current query only. Is there a way to fix this behavior?
  2. Sometimes user query requires multiple skills. Does SDK load multiple skills?
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 12h
Merged PRs (30d)
133

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.