context-management-context-restore
恢复 AI 项目上下文
长时间运行的 AI 项目会在不同会话和智能体交接中丢失上下文。此技能为 Claude、Codex 和 Claude Code 的连续性提供语义检索、排序和验证指导。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "context-management-context-restore" from https://skillstore.io/skills/sickn33-context-management-context-restore.md and its manifest at https://skillstore.io/api/skills/sickn33-context-management-context-restore/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“context-management-context-restore”。 在 token 预算有限的情况下恢复已暂停的 Web 平台项目。
预期结果:
一个优先级明确的恢复计划,首先加载项目概览、近期智能体工作、已知问题和关键架构决策。
正在使用“context-management-context-restore”。 在多个 AI 智能体共同参与同一代码仓库后准备交接。
预期结果:
一份简洁的交接摘要,涵盖当前状态、决策轨迹、未解决冲突、验证检查和推荐的后续步骤。
正在使用“context-management-context-restore”。 在继续工作之前比较两个版本的项目上下文。
预期结果:
一份合并清单,用于识别重叠事实、冲突决策、过时笔记以及需要来源验证的上下文项。
安全审计
中风险All 16 static findings are false positives caused by Markdown inline code and fenced examples, not Ruby or shell backtick execution. The conceptual restoration workflow lacks explicit isolation for untrusted instructions embedded in stored context. This creates a moderate context-poisoning risk that needs documented guardrails.
已确认安全问题 (1)
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/sickn33-context-management-context-restore/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-context-management-context-restore?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-context-management-context-restore?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-context-management-context-restore/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-context-management-context-restore.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). context-management-context-restore security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-context-management-context-restore/audits/5BibTeX 引用
@techreport{sickn33-sickn33-context-management-context-restore-2026,
author = {sickn33},
title = {context-management-context-restore security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-context-management-context-restore/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "context-management-context-restore security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-context-management-context-restore/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-context-management-context-restore:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
恢复复杂 AI 项目
在继续长时间运行的项目之前,恢复最相关的决策、架构笔记和近期工作。
准备智能体交接
创建结构化上下文包,让另一个助手或团队成员能够以更少的探索时间继续工作。
设计记忆检索工作流
为智能体记忆系统规划语义搜索、排序、合并和验证模式。
试试这些提示
使用上下文恢复技能来规划如何恢复我的项目。询问上下文来源、项目标识符、恢复模式、token 预算和成功标准。
将相关性排序指南应用到我的可用上下文项。按语义相关性、时效性、决策影响和 token 成本对它们进行优先排序。
使用会话重建工作流创建交接摘要。包括当前状态、关键决策、未解决问题、风险和验证步骤。
为多智能体系统设计一个上下文恢复管道,使用语义检索、增量加载、冲突解决、来源跟踪和完整性检查。
最佳实践
- 在开始检索之前,定义上下文来源、项目标识符、恢复模式和 token 预算。
- 结合语义相关性和实际项目影响来排序上下文。
- 在基于恢复的上下文采取行动之前,先将其与当前代码库和已记录决策进行验证。
避免
- 在没有相关性过滤或 token 预算控制的情况下恢复每一条已存储笔记。
- 在未检查当前项目状态的情况下,将过时上下文视为权威信息。
- 在没有来源记录或冲突审查的情况下合并来自不同项目的上下文。