Skip to main content
在 Manus 中运行任何 Skill
一键导入

context-engineering

星标2
分支0
更新时间2026年6月25日 11:58

Designs per-turn context-window assembly for an LLM/agent call — budget allocation across all context sources (system prompt + tool defs + memory + retrieved chunks + history + scratchpad), position-of-evidence ordering (lost-in-the-middle mitigation + cache-aware stable prefix), overflow/compaction strategy (truncate vs summarize vs evict), relevance gating + cross-source dedup, and assembly-quality measurement. Use when a request is over token budget, when long sessions degrade (context rot), when key evidence is being ignored, or when the prompt cache keeps missing. Sibling to `/agent-memory` (which memories exist) and `/rag-design` (retrieval ranking); defers retrieval to `/rag-design`, memory-tier design to `/agent-memory`, and cost math to `/cost-optimize`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly