Keep your chat context clean ๐Ÿ‘€ #VSCode

Visual Studio Code ยท Intermediate ยทโœ๏ธ Prompt Engineering ยท1mo ago

About this lesson

Run skills in a dedicated sub agent in @code and avoid filling your main context window โšก

Full Transcript

When you use a skill that uses a lot of tool calls or brings in a large amount of research, it can fill up your context window and then degrade the quality of your chat going forward. Well, now in VS Code, you can run a skill in a dedicated sub agent so that context stays over in its own context window, so your main chat window doesn't get filled up with the skill. To get this set up, make sure you have the chat skill tool setting enabled, and then in your skill.md file, you're going to want to edit the front matter to add the line context fork. And then when you use this skill in your chat, it'll create a dedicated sub agent, which will then use its own context window to complete the task. This way your main context window doesn't get filled up with extra information that you don't need.

Original Description

Run skills in a dedicated sub agent in @code and avoid filling your main context window โšก
Watch on YouTube โ†— (saves to browser)
Sign in to unlock AI tutor explanation ยท โšก30

Related Reads

Up next
No More Struggling with Prompts! Here is Auto Prompt Enhancement Magic๐Ÿ”ฅ
DroidCrunch
Watch โ†’