360 Secure SkillHub
360 安全技能中心

Context Pruner

核心功能:通过噪音检测(过滤确认语、填充词)、事实提炼(提取核心信息、去除会话冗余)、分块处理(生成可搜索分块摘要)三步协议,智能管理上下文窗口,节省令牌。典型场景:代理的长对话线程,避免会话膨胀,维持高性能。输入为长对话历史,输出为精简后的高效上下文。

balkanblbn
balkanblbn
热度 75.46
最近更新 2026-05-11 17:27:54
分类:效率依赖:纯提示词应用场景:摘要总结

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add context-pruner
Metadata
name
context-pruner
description
Intelligent context window management by summarizing and removing redundant history. Helps agents maintain high performance in long-running threads.

Context Pruner

Save tokens and keep focus sharp. This skill manages the "bloat" of long sessions.

Pruning Protocol

  1. Noise Detection: Filter "Acknowledge" messages and filler words.
  2. Fact Distillation: Extract raw info and discard the conversational fluff.
  3. Chunking: Break long transcripts into searchable summaries.

Installation

clawhub install context-pruner