Keep your chat context clean ๐ #VSCode
Key Takeaways
Using VS Code to run skills in a dedicated sub agent and avoid filling the main context window, by enabling the chat skill tool setting and editing the skill.md file to add the context fork line.
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 โก
More on: Prompt Craft
View skill โRelated Reads
๐ฐ
๐ฐ
๐ฐ
๐ฐ
How A Product Review Shoot Taught Me More About Prompting Than Most Prompting Work Did
Dev.to AI
Prompt Engineering in 2026: The Skill Is No Longer Writing the Perfect Prompt
Medium ยท UX Design
Your Prompts Are a Personal Brand You Didnโt Know You Were Building
Medium ยท AI
I shipped a prompt library. Not because it's sexy. Because people were staring at a blank input box.
Dev.to ยท Daniel Dong
๐
Tutor Explanation
DeepCamp AI