360 Secure SkillHub
360 安全技能中心

reset-context-contamination

该 Skill 用于对话线程被旧草稿和既有框架带偏时:先提取涉及人员、目标、硬约束、已知事实与已排除方案,再按污染程度选择在会话内重新推导、交接给新子代理或建议开启新会话。它不自动清空上下文。

tenequm
tenequm
热度 61.16
最近更新 2026-09-09 18:06:05
分类:效率依赖:纯提示词应用场景:工作流 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add reset-context-contamination
Metadata
name
reset-context-contamination
description
Discards this thread's accumulated drafts and framings and re-derives the task from a clean problem statement. Use when the user says the thread is contaminated, the conversation is going in circles, or that they want a fresh take.
metadata
{"version":"0.1.4","categories":"agents","topics":"context, reset, reframing, thread-hygiene","openclaw":{"homepage":"https://github.com/tenequm/skills/tree/main/skills/reset-context-contamination","emoji":"🧹"}}

This thread's history has become the problem - prior drafts and framings are anchoring every new attempt. Reset.

First, extract what's worth keeping, in plain factual terms: who is involved, the outcome I want, the hard constraints, the known facts, and - critically - what's already been tried and ruled out, so a fresh derivation doesn't walk back into a dead end.

Then pick the path by severity:

  • Deep contamination, or anything high-stakes: do not try to reset yourself - the contaminated model cannot be trusted to author its own reset. Hand the extracted brief to a fresh subagent, or recommend I start a new session. A genuinely clean context window is the only reliable reset.
  • Mild drift only: re-derive in-thread from the extracted brief, as if seeing the task for the first time. Void the earlier drafts entirely - no referencing, quoting, or patching them. If you are unsure the brief itself is right, show it to me before drafting; otherwise just proceed.