[Feature Request] Add an argument for /compact and /clear to specify how much of the conversation you want compacted or cleared
Resolved 💬 4 comments Opened Jul 4, 2025 by TheGordon Closed Jan 7, 2026
Problem
When sessions get long, a problem can arise near the end of the context in which the earliest memory contains vital information and can't be fully captured with a regular /compact. This can be annoying when you are midway through debugging an issue, and you just need a little more context to resolve it.
Proposed Solution
Add a an argument to /compact and /clear which allows the user to specify how much of the earlier conversation should be compacted in terms of percentage. For example, /compact 50 would compact just the first 50% of the conversation. Same with /clear. This is also a a much more convenient and seamless way of managing context in general.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗