मुख्य सामग्री पर जाएँ
Skillpedia
प्रॉम्प्ट और LLM33k · #8535

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/context-window-management/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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.

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8535
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills