360 Secure SkillHub
360 安全技能中心

principle-guard-the-context-window

该 Skill 是一则上下文管理原则:当上下文即将填满、出现大输出、长文件、重复读取或大量并行规划时,限制阶段规模与轮次预算,把批量内容路由给子代理,并在主线程只保留摘要,以降低溢出和压缩导致的推理退化。

分类:效率
michael-denyer
热度 0.00
最近更新 2026-11-25 17:32:59

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add michael-denyer/pstack-claude/principle-guard-the-context-window
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-guard-the-context-window
description
Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.
user-invocable
false

Guard the Context Window

Why: Context overflow degrades reasoning quality, creates compression artifacts, and halts progress.

Pattern:

  • Size phases and cap scope. Limit files per phase, set turn budgets, account for mechanism costs.