कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

context-engineering

leoyessi10-tech द्वारा

Smart Home & IoT
2.4kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

This skill should be used when the user asks.

विवरण

यह स्किल क्या करती है

Covers strategies for compressing agent conversation history when sessions exceed context window limits. Three production-ready approaches are compared: anchored iterative summarization, opaque compression, and regenerative full summaries. The core metric is tokens-per-task rather than tokens-per-request.

Optimizing for tokens-per-task rather than tokens-per-request avoids the hidden cost of re-fetching lost context, which naive compression strategies miss entirely.

इसे कब इस्तेमाल करें

  • Preventing coding agents from forgetting modified files mid-session
  • Handling codebases larger than the model context window
  • Designing summarization pipelines for long-running agent workflows
  • Evaluating compression quality with probe-based testing
  • Tuning compression trigger thresholds for multi-phase tasks

उदाहरण वर्कफ़्लो

इनपुट

User asks: compress the current 90,000-token debugging session before continuing

एजेंट
  1. 1

    Identify the structured summary sections: Session Intent, Files Modified, Decisions Made, Current State, Next Steps

  2. 2

    Summarize only the newly-truncated span of conversation history into those sections

  3. 3

    Merge the new section content into the existing persistent summary rather than regenerating from scratch

  4. 4

    Verify artifact trail completeness by checking that all read and modified files are listed

  5. 5

    Run probe-based checks asking factual questions to confirm critical details were retained

आउटपुट

Compressed structured summary under 2,000 tokens, with full file tracking and decision history preserved, ready to continue the session

इंस्टॉलेशन

clawhub install leoyessi10-tech/context-engineering

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक