session-compactor自动会话压缩以优化 token 使用。当会话消息数超过阈值时,将早期历史压缩为结构化摘要,保留工具调用和关键事实。适用于长对话场景以节省上下文窗口。核心算法参考 claw-code 项目的 compact.rs 设计。
Install via ClawdBot CLI:
clawdbot install fangbb-coder/session-compactorGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/instructkr/claw-codeAudited Apr 17, 2026 · audit v1.0
Generated May 21, 2026
在客户服务场景中,当用户与AI助手的对话持续较长时间时,会话压缩技能自动压缩早期历史,保留关键上下文,确保token使用在模型限制内,从而维持服务质量。
分析师与AI进行多轮数据查询和对比分析时,对话可能迅速累积大量消息。该技能自动压缩历史摘要,避免token超限,同时保留关键查询目标和结果。
开发者使用AI辅助编程时,涉及多次代码修改和调试。压缩技能可减少早期对话占用,确保后续讨论的上下文窗口充足。
在线辅导过程中,学生与AI导师进行长时间互动。技能压缩早期内容,保留学习目标和关键知识点,维持对话流畅性。
业务人员通过多轮对话生成复杂报告,每次迭代涉及多次工具调用。压缩技能优化token使用,使得报告生成过程更高效。
向使用AI助手的SaaS平台收取额外费用,提供会话压缩功能作为增值插件,确保长对话场景下的性能稳定。
将压缩工具作为独立API提供,开发者按调用次数付费,适用于需要集成压缩功能的第三方应用。
基础压缩算法开源,但提供付费的企业级支持、高级配置和性能优化服务,如LLM集成增强摘要。
💬 Integration Tip
集成时,建议先在非生产环境测试自动压缩阈值,并根据对话长度调整maxTokens和minMessagesToKeep参数,以平衡压缩效果和上下文保留。
Scored May 21, 2026
Humanize AI-generated text to bypass detection. This humanizer rewrites ChatGPT, Claude, and GPT content to sound natural and pass AI detectors like GPTZero,...
AI brainstorming and strategy thinking partner powered by CellCog. Reasoning, problem-solving, ideation, strategic planning — then execution across every modality: research, documents, visuals, data, prototypes. Think, build, review, repeat.
Generate ideas fast. Adapt depth and structure to what the user actually needs.
Evaluate any AI skill's quality through step-by-step diagnosis — measuring trigger accuracy, per-step execution (completion/correctness/quality), efficiency,...
通过调用 Prana 平台上的远程 agent 完成以下处理:基于100个热门TradingView Pine Script指标转换的Python技术分析工具集,提供专业的技术指标计算、分析和可视化功能 IMPORTANT: This skill has a mandatory step-by-step proc...
Provides a structured screening for stress perception using the PSS-10 scale as an independent skill in ClawHub.