← Agent-Skills-for-Context-Engineering

/self-managed-context

記憶、交接與學習Agent-Skills-for-Context-EngineeringAI翻譯

當模型能直接讀寫自己的即時 context window 時使用。context 以可編輯檔案呈現,模型用程式工具改寫、自行淘汰並就地更新內容。

安裝次數
35
專案星數
1.8 萬 ★
授權
MIT
專案更新
2026-10-12

怎麼裝

npx skills add https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering --skill self-managed-context

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

This skill should be used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context exposed as an editable file the model rewrites with code tools, model-driven eviction and in-place updates, the harness invariants that keep self-editing safe (pinned prefix, edit gate, edit receipts, budget readouts, rollback on overflow), the prefix-cache cost of mid-context edits, and steering or training the model's own context-editing strategy. Route note content and fixed-threshold summarization to context-compression, cache-stable layout under harness control to context-optimization, file offloading to filesystem-context, and loop governance to self-improvement-loops.