📦 熵管理系统
v1.0.0熵管理系统 - 原创技能。用于管理和控制AI会话中的熵(无序度),包括上下文精简、状态重置、注意力聚焦等功能。适用于长时间会话、复杂任务、多步骤工作流等场景。
0· 0·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidence这是一个仅含指令的技能,其请求行为(上下文裁剪、状态重置、注意力聚焦)与描述一致,不索要额外凭据或安装;内部逻辑自洽,但在选择删除或摘要内容时略显开放。
评估建议
This 技能 应用ears coherent and low-risk from a 平台 perspective because it is instruction-only and asks for no 凭证s. Before 安装ing: (1) test it on non-critical conversations to see how it p运行es and to ensure 导入ant detAIls aren't lost; (2) require explicit confirmation or keep a reversible 归档 before any automatic deletion/replacement of conversation 历史; (3) consider 添加ing explicit thresholds and review rules (what counts as "核心决策" vs "废话") so the 代理's deletions/summaries match your expectations; (4) 监控 ...详细分析 ▾
✓ 用途与能力
The name/description (entropy management for AI conversations) aligns with the instructions (上下文 p运行ing, 状态 re设置, attention focus, alerts). There are no unexpected requirements (no env vars, no binaries, no external 端点s).
ℹ 指令范围
技能.md stays within the 技能's domAIn (监控ing 会话 指标, summarizing/replacing 上下文, producing 状态 cards). However many actions are vaguely specified and grant the 代理 discretionary power (e.g., "删除中间过程和废话" / 删除 intermediate steps, "替换原始对话" / replace original dia记录). That could lead to unintended loss of 上下文 if not constrAIned or confirmed by the user.
✓ 安装机制
No 安装 spec and no code files (instruction-only). Lowest-risk category: nothing is written to disk and nothing is 下载ed or 执行d beyond the 代理 following the prose.
✓ 凭证需求
The 技能 请求s no 环境 variables, 凭证s, or config paths. No disproportionate 访问 to secrets or unrelated 系统s.
✓ 持久化与权限
always is false and the 技能 does not 请求 persistent privileges or modify other 技能s' configs. Autonomous invocation is allowed by default on the 平台 (not itself a security finding here).
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install entropy-manager
镜像加速npx clawhub@latest install entropy-manager --registry https://cn.longxiaskill.com镜像同步中
技能文档
⚠️ 发布规则 所有发布到 ClawHub 的技能必须严格测试,确认无误后再发布。 技能测试验证清单
- frontmatter 格式正确
- 功能原创且实用
- 工作流程完整
- 触发条件明确
- 无语法错误
Entropy Manager – 熵管理系统 原创技能 | 激活词:熵管理 / 精简上下文 / 重置状态
核心概念 什么是熵(Entropy)? 熵 = 无序度 / 不确定性 在 AI 会话中:
- 上下文熵:历史记录过多导致注意力分散
- 状态熵:当前状态不清晰导致错误决策
- 任务熵:目标不明确导致方向迷失
熵的症状
- 回复开始重复或跑题
- 忘记之前的决定
- 越来越难聚焦核心问题
- 输出质量下降
熵管理四大策略
- 上下文精简(Context Pruning)
- 状态重置(State Reset)
- 注意力聚焦(Attention Focus)
- 熵预警(Entropy Alert)
熵管理流程
- 检测 → 监控熵值指标
- 预警 → 达到阈值时提醒
- 精简 → 执行上下文压缩
- 重置 → 状态聚焦
- 验证 → 确保熵值降低
输出格式:熵状态报告
熵状态报告
当前指标
- 上下文长度:XXX tokens
- 会话轮数:XX 轮
- 状态一致性:X.X
- 目标清晰度:X.X
熵等级:🟢低 / 🟡中 / 🔴高
建议操作
- [ ] 精简上下文
- [ ] 重置状态
- [ ] 聚焦任务
执行结果
[执行后更新指标]应用场景
- 长时间会话:防止上下文无限增长
- 复杂多步骤任务:保持状态清晰
- 任务切换:快速重置注意力
- 错误恢复:从混乱状态中脱离
与 Karpathy 法则的结合 Karpathy 法则 熵管理对应 先思考 降低决策熵 保持简单 降低复杂度熵 精准修改 降低改动熵 目标驱动 消除目标熵
原创性声明 本技能为原创,融合:
- 热力学熵概念
- 系统论状态管理
- 认知科学注意力理论
- AI 会话优化实践
作者:laosi 创建日期:2026-04-28