token-management
CommunityOptimize LLM context window usage.
Software Engineering#llm#compression#token management#context window#observation masking#budget awareness
AuthorDxTa
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of managing limited LLM context windows by providing strategies for token budget awareness, efficient compression, and selective observation masking.
Core Features & Use Cases
- Token Budget Monitoring: Track token usage per project and model.
- Tier-Aware Compression: Apply appropriate compression ratios based on task complexity (T1-T4).
- Observation Masking: Define rules for selectively masking parts of outputs to save tokens while preserving critical information.
- Budget Overflow Protocol: A clear procedure for handling situations where the context window is nearly full.
- Recovery Strategies: Protocols for saving state and recovering after a
/clearoperation. - Use Case: When working on a complex T3 task, this skill helps you decide which parts of API responses or code files can be compressed aggressively and which must be preserved in full fidelity to avoid exceeding the token limit while maintaining task accuracy.
Quick Start
Use the token-management skill to assess current project token usage and apply T2 compression rules to long outputs.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: token-management Download link: https://github.com/DxTa/dotfiles/archive/main.zip#token-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.