[FEATURE] Remove skills from context when not in use.
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Skills are loaded into context and cannot be removed, even if they are definitely no longer needed.
Proposed Solution
Allow skills to be unloaded from context so they don't waste space acrosss a long conversation / workflow. Claude Code can often use multiple 'single-use' skills in a single session, which then sit around clogging context. It's wasteful and probably degrades quality.
Alternative Solutions
Building a plugin where claude creates a new file with it's entire context window minus whatever i want to prune, clears context, then loads the new file.
Priority
Medium - Would be very helpful
Feature Category
Performance and speed
Use Case Example
I begin a chat session asking for a gemini image, claude finds the compound-engineering image gen skill, makes me an image. then we move on to recreating the image in blender. Claude then removes the skill from context to keep it cleaner and more focused.
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗