context-degradation
81诊断 AI 智能体中的上下文退化
长对话和大型提示可能会让 AI 智能体丢失重要信息,或遵循相互冲突的上下文。此技能可帮助 Claude、Codex 和 Claude Code 识别退化模式并选择缓解策略。
优化智能体上下文管理
当提示词、工具、历史记录和检索内容争夺上下文时,智能体系统可能会变得不可靠。此技能解释上下文组成部分,以及用于预算、渐进式披露和验证的实用模式。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "context-fundamentals" from https://skillstore.io/skills/chakshugautam-context-fundamentals.md and its manifest at https://skillstore.io/api/skills/chakshugautam-context-fundamentals/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“context-fundamentals”。 解释为什么我们的智能体在长时间调试会话中会忘记早期决策。
预期结果:
正在使用“context-fundamentals”。 为包含文档、工具和长聊天记录的助手创建上下文预算。
预期结果:
正在使用“context-fundamentals”。 审查此内部支持智能体的提示词架构。
预期结果:
All eight static findings were false positives after context review. The flagged backticks are Markdown fences in educational examples, and the alleged reconnaissance lines are benign context guidance. No semantic prompt-injection, exfiltration, or malicious intent was found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/chakshugautam-context-fundamentals/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/chakshugautam-context-fundamentals?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/chakshugautam-context-fundamentals?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/chakshugautam-context-fundamentals/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/chakshugautam-context-fundamentals.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>ChakshuGautam. (2026). context-fundamentals security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/chakshugautam-context-fundamentals/audits/8@techreport{chakshugautam-chakshugautam-context-fundamentals-2026,
author = {ChakshuGautam},
title = {context-fundamentals security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/chakshugautam-context-fundamentals/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "context-fundamentals security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "ChakshuGautam"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/chakshugautam-context-fundamentals/audits/8"
identifiers:
- type: other
value: "skillstore:chakshugautam-context-fundamentals:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
chakshugautam-context-fundamentals
2026-09-09
asmayaseen-context-fundamentals
2026-09-09
muratcankoylan-context-fundamentals
2026-09-09
规划哪些提示词、工具、文档和历史记录应进入新智能体的上下文。
检查指令和工具描述是否提供了有用指导,同时不浪费 token。
教授上下文窗口、注意力限制、压缩和渐进式披露的共享概念。
用通俗语言向我的团队解释 AI 智能体上下文的主要组成部分,并包含实用示例。
审查此智能体设计,并指出哪些上下文组成部分可能会浪费 token 或降低可靠性:[paste design]。
为具有以下文档、工具和工作流的 AI 助手设计渐进式披露计划:[details]。
诊断为什么这个长时间运行的智能体会丢失重要信息。提出压缩触发器、检索更改和上下文放置规则:[trace]。
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
02f077c174c5335e2f5d02ca15e77b70d9543e58
维护新鲜度
2026/7/21
使用量
19 次下载 · 269 次浏览
文件结构
诊断 AI 智能体中的上下文退化
长对话和大型提示可能会让 AI 智能体丢失重要信息,或遵循相互冲突的上下文。此技能可帮助 Claude、Codex 和 Claude Code 识别退化模式并选择缓解策略。
构建可靠的 LLM 评估系统
LLM 评估很难在不同团队和模型之间保持一致。此技能有助于设计评判提示词、量规、指标和偏差检查,用于可重复的评估。
优化 AI 上下文窗口
长时间 AI 会话可能浪费 token、拖慢响应,并丢失重要上下文。此 skill 为 Claude、Codex 和 Claude Code 提供用于压缩、掩蔽、缓存和预算管理上下文的实用模式。
可靠压缩长 Agent 上下文
当上下文被过度激进地压缩时,长时间的 agent 会话会丢失重要文件、决策和后续步骤。此技能提供结构化压缩和评估方法,在减少 token 使用量的同时保留可用上下文。
设计多智能体架构
当一个上下文窗口承载所有任务时,复杂的智能体工作可能会失败。此技能帮助 Claude、Codex 和 Claude Code 设计具有清晰交接机制的智能体系统。
设计更好的智能体工具
当描述、模式和错误信息不清晰时,智能体工具就会失效。此技能提供实用模式,用于构建更清晰的工具接口和更小的工具集。
从最小模板创建自定义 AI 技能
由 davila7
从零开始创建技能文件可能会降低设置效率,并导致元数据不一致。此模板为元数据和自定义指令提供了清晰的结构。
重构 Agent 指令文件
由 softaworks
大型 agent 指令文件会浪费上下文并隐藏重要规则。此技能会将它们拆分为一个精简的根文件和聚焦的链接文档。
创建领域专业知识技能
由 ChaiWithJai
团队需要一致的结构来复用领域指导。此技能为框架、流程、输出、反模式和需求收集问题提供可自定义模板。
创建聚焦的 AI 微技能
由 DNYoussef
可复用的 AI 工作流常常会变得过于宽泛且难以测试。此技能可帮助定义聚焦的技能,并配备专家提示词、契约和验证计划。
设计 AI 共学课程
由 92Bilal26
教师需要能够培养技能而不是替代练习的 AI 活动。此技能用于构建课程,让学生使用 AI、批判性评估输出,并独立验证学习成果。
创建智能体技能
由 mattpocock
团队需要一致的技能文件,让智能体能够发现并正确使用。此技能指导作者完成结构、描述、示例、脚本和审查检查。