Hi @luciano.guerche Thanks for the post. Yes, you are correct that it is very likely the 2,000-plus skills you have installed that are overloading the context window. Even though the full context of each skill is not sent in the prompt, a summary of each one is (because the agent needs to be able to know what skills it has access to), and the summary alone can consume more than the available context window for the model when adding up all those skills.
I understand you’re experimenting with a lot of different skills, so I wanted to give you a couple of options that help preserve your optionality. You could move a lot of those skills out and only work with a smaller number at a time, of course (100, 200 maybe?)
You could also disable model invocation. This will mean that the skill is not discoverable by the model (e.g. the skill summary is not included in the prompt) BUT you can still invoke it manually with the slash command /myskill.
To disable model invocation , go to the skill.md file, and set disable model invocation to true.
description: My skill description
disable-model-invocation: true