360 Secure SkillHub
360 安全技能中心

principle-guard-the-context-window

该 Skill 是一条上下文窗口保护原则:当出现大型输出、长文件、重复读取或扇出规划时,通过限制每阶段文件数和轮次预算来控制范围,将批量内容路由给子代理,并在主线程保留摘要而非原始载荷。

分类:自动化
cursor
热度 39.03
最近更新 2026-10-18 16:52:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cursor/plugins/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.
disable-model-invocation
true

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.