微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🗜️

智能压缩会话上下文,节省 90%+ Token

Session Context Compressor · v1.0.0
AI 增强 安全 A 级 作者 beboxos 来源 Cocoloop

简介

OpenClaw 智能会话压缩工具,通过 NLP 摘要算法将上下文体积压缩 85-96%,延长会话寿命并降低 API 成本。

原始描述

Compress OpenClaw session context to reduce token usage and extend session lifetime. Uses NLP summarization (Sumy) to intelligently compact conversation history while preserving essential context. Triggers on mentions of session compression, token reduction, context cleanup, or when session size exceeds safe thresholds (~300KB). Use when (1) OpenClaw approaches 50% context limit, (2) Sessions are slowing down due to large context, (3) Reducing API costs from excessive token consumption, (4) Extending session lifetime without forced reboots.

标签

openclawtoken-optimizationnlpsession-managementcost-reductionlexrankcontext-compression

同类 Skill