feat(skills): configurable compact mode for skill index in system prompt - #33934
Closed
x7peeps wants to merge 1 commit into
Closed
feat(skills): configurable compact mode for skill index in system prompt#33934x7peeps wants to merge 1 commit into
x7peeps wants to merge 1 commit into
Conversation
Add compact_mode config option (skills.compact_mode) to control how the <available_skills> tree is rendered in the system prompt. Three modes: - 'full' (default): name + description for every skill - 'compact': name only, per-category cap of 25 skills - 'auto': auto-activate compact mode when total skills > 500 This addresses the token bloat problem where users with 1000+ skills consume ~100K tokens per session just for the skill index. Compact mode reduces this by ~60% while preserving discoverability.
Collaborator
Contributor
Author
|
Superseded by upstream #44342 (compact_categories via coding posture). Closing — the upstream implementation covers the same use case with a better design (per-category demotion rather than global mode toggle). |
Contributor
Author
|
Closing — superseded by upstream #44342 which implements compact_categories via coding posture (better design than our global compact_mode toggle). |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds configurable compact mode for skill index rendering in system prompt.