CommandCodeAI / CommandCodeAI/command-code
Context Window Visual Reference.
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Feature Description
A small indicator of available/used context window instead of the current implementation which uses Percentage of context used rather than raw numbers. Also the current context is hidden if usage is below 80%.
Use Case
Reason for asking such a feature:
- Sometimes adding and downloading skills can bloat the context window by a magnitude and degrade code quality and debugs. Being able to visually see the context windows is a blessing in disguise that can help tackle such issues.
- Prompting long contexts on a models can be heavy based on the task and its complexity, giving a model longer task even at smaller context left can degrade its code quality if it is already in the middle of a code. Having a reference of context window helps in planning the prompts a little bit better and in patches.
I’ve added some visual references to the minified code to get it working for me. I’d appreciate it if they could be used as a reference.
Scenario 1: < 80% token context usage
Scenario 2: > 80% token context usage
Additional Context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides visual references but names no files, tests, or entry points. First locate the existing context-usage percentage display and confirm how token usage is calculated; done means showing raw used and available context numbers in both described usage scenarios.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100