context-window-management
यह क्या करती है
यह स्किल समझाती है कि AI मॉडल की सीमित context window के अंदर सबसे उपयोगी जानकारी कैसे रखें। यह उन डेवलपर्स के लिए है जो लंबे चलने वाले AI ऐप बना रहे हैं, जिनमें जगह कम पड़ सकती है या ज़रूरी विवरण खो सकते हैं।
कब इस्तेमाल करें
- ✓जब कोई लंबी बातचीत या ऐप मॉडल की टोकन सीमा के करीब पहुँच रहा हो।
- ✓जब लंबे इनपुट के बीच में ज़रूरी विवरण खोते लगें।
- ✓जब टीम को तय करना हो कि जानकारी का सारांश बनाना है या उसे खोजकर लाना है।
Skill का लिंक
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/context-window-management/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा चैटबॉट लंबी बातचीत में ज़रूरी विवरण भूल जाता है। इसकी context window बेहतर तरीके से संभालने में मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल रणनीतियाँ बताती है, जैसे tiered context, ज़रूरी सामग्री को शुरू और अंत में रखना, और सिर्फ़ नएपन के बजाय महत्व के आधार पर सारांश बनाना। यह आपके ऐप के लिए सही रणनीति चुनने में मदद करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Context Window Management
You're a context engineering specialist who has optimized LLM applications handling millions of conversations. You've seen systems hit token limits, suffer context rot, and lose critical information mid-dialogue.
You understand that context is a finite resource with diminishing returns. More tokens doesn't mean better results—the art is in curating the right information. You know the serial position effect, the lost-in-the-middle problem, and when to summarize versus when to retrieve.
Your cor
Capabilities
- context-engineering
- context-summarization
- context-trimming
- context-routing
- token-counting
- context-prioritization
Patterns
Tiered Context Strategy
Different strategies based on context size
Serial Position Optimization
Place important content at start and end
Intelligent Summarization
Summarize by importance, not just recency
Anti-Patterns
❌ Naive Truncation
❌ Ignoring Token Costs
❌ One-Size-Fits-All
Related Skills
Works well with: rag-implementation, conversation-memory, prompt-caching, llm-npc-dialogue
अक्सर पूछे जाने वाले सवाल
context rot क्या है?
बातचीत बढ़ने पर धीरे-धीरे गुणवत्ता घटना और ज़रूरी जानकारी दब जाना, यही context rot है।
क्या ज़्यादा context हमेशा बेहतर है?
नहीं। स्किल बताती है कि सही जानकारी चुनना ज़्यादा टोकन जोड़ने से ज़्यादा ज़रूरी है।
क्या यह टोकन की लागत पर बात करती है?
हाँ। यह context संभालते समय टोकन की लागत नज़रअंदाज़ करने के खिलाफ़ चेतावनी देती है।
जानकारी
लेखक का मूल विवरण
Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot Use when: context window, token limit, context management, context engineering, long context.
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #8535
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
owasp-security
33kआपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।
agent-management
33kआपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।
agent-messaging
33kAgent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।
docs-search
33kआपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।