📦 Max-Self-Improvement

v1.0.1

MiniMax 代理 self-evolution 系统 with 5-layer memory for continuous learning, error analysis, and persistent personalized 上下文 management.

0· 0·0 当前·0 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
该技能的初衷(持续自我改进与记忆)是合理的,但其运行时指令与随附脚本存在不一致且存储/保留行为模糊(绝对 /memories 路径、始终保留的偏好设置、“环境详情”日志),可能导致意外的持久化数据写入或敏感上下文被捕获。
评估建议
This 技能 应用ears to implement the described learning/memory features, but there are ambi图形界面ties and 隐私 concerns you should resolve before 安装ing: 1) Ask the author where memory files will be stored exactly. If they are written to /memories or any absolute 系统 path, insist they write only inside a sandboxed 技能-specific directory (e.g., under the 技能 bundle or a 配置d data directory). 2) Confirm retention and deletion policies. "Never auto-删除" preferences can accumulate sensitive data — require an expl...
详细分析 ▾
用途与能力
所声明的目标(自我改进、多层记忆、跨会话上下文)与提供的模板和辅助脚本一致,这些脚本会创建并追加学习/错误日志,并提供记忆文件模板。然而存在不一致:SKILL.md 多次引用 /memories/ 下的持久路径(绝对根式),而可执行脚本(activator.sh、error-detector.sh)却在技能本地的 .learnings 目录($SKILL_DIR/.learnings)中创建并写入。目前不清楚记忆文件究竟应放在技能包内、共享的 /memories 目录,还是其他位置——这种模糊性关系到作用域与数据访问。
指令范围
技能.md instructs the 代理 to read/write persistent memory files (会话_notes.md, user_preferences.md, patterns.md, 指标.md) and to 记录 '环境 detAIls' for error entries. Those instructions give the 代理 explicit license to collect and persist 上下文ual/环境 detAIls and never-auto-删除 user preferences. The instructions also use absolute paths (/memories/...), which could cause writes outside the 技能 sandbox if followed literally. While shipped scripts are limited to the 技能 directory, the prose grants broader discretion to the 代理 to 访问 and persist data beyond the 技能's own files.
安装机制
There is no 安装 spec (instruction-only 技能). The included 辅助工具 scripts are simple shell/Python utilities for packaging and 验证 and do not 下载 remote code. No networked 安装 or 归档 提取ion from arbitrary URLs is present in the package.
凭证需求
该技能未声明需要任何环境变量或外部凭证。然而,错误日志模板和 SKILL.md 建议在 ERRORS.md 条目中记录“环境详情”及“相关环境详情”,可能导致环境变量或其他敏感运行时信息被意外写入持久日志。未说明保留时长(user_preferences 标记为“永不自动删除”),进一步加剧隐私风险。
持久化与权限
The 技能 is de签名ed for persistent, cross-会话 memory and explicitly marks some user preferences as 'never automatically 删除d.' While the 技能 is not forced-always and has no declared elevated privileges, persistent storage combined with the 代理's normal autonomous invocation could produce long-lived data. The key risk is ambiguous storage location (技能-local vs 系统-wide /memories) and lack of retention/deletion controls; this increases the blast radius for accidental data exposure or accumulation of sensitive 上下文.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install max-self-improvement
镜像加速npx clawhub@latest install max-self-improvement --registry https://cn.longxiaskill.com

技能文档

Max-Self-Improvement — 自我进化与记忆系统概览 MiniMax Agent 的自我进化框架,集成 5 层记忆架构,支持跨会话持久上下文与持续性能优化。

核心组件

  • 五层记忆架构
层名 | 存储 | 功能 L1 感知记忆 | context window | 即时输入/输出流 L2 工作记忆 | /memories/session_notes.md | 当前任务状态 L3 长期记忆 | /memories/*.md | 用户偏好、领域知识 L4 情景记忆 | /memories/evolution/ | 模式、教训、案例 L5 元认知 | /memories/evolution/metrics.md | 性能追踪

  • 学习系统
结构化记录错误、纠正与成功所得。 .learnings/ ├── LEARNINGS.md # 学习条目 ├── ERRORS.md # 错误日志 └── FEATURE_REQUESTS.md # 功能请求

条目 ID 格式 TYPE-YYYYMMDD-XXX ├── TYPE: LRN | ERR | FEAT ├── YYYYMMDD: 当前日期 └── XXX: 3 位序号或随机字符

触发场景 学习触发 → LEARNINGS.md 情境类别 | 触发 命令/操作失败 | error 用户纠正 | correction 发现更优方法 | best_practice 知识过时 | knowledge_gap 用户提供未知信息 | knowledge_gap

错误触发 → ERRORS.md 情境 | 动作 非零退出码 | 记入 ERRORS.md 异常/堆栈 | 记入 ERRORS.md 意外输出 | 记入 ERRORS.md API/工具失败 | 记入 ERRORS.md

功能触发 → FEATURE_REQUESTS.md 用户说 | 动作 “Can you also...” | 记入 FEATURE_REQUESTS.md “I wish you could...” | 记入 FEATURE_REQUESTS.md “Is there a way to...” | 记入 FEATURE_REQUESTS.md “Why can't you...” | 记入 FEATURE_REQUESTS.md

纠正检测模式 用户说: “No, that's not right...” “Actually, it should be...” “You're wrong about...” “That's outdated...” → 创建 LRN 条目,类别:correction

条目模板 学习条目(LEARNINGS.md)

[LRN-YYYYMMDD-XXX] category

Logged: ISO-8601 时间戳 Priority: low | medium | high | critical Status: pending | acknowledged | applied Area: frontend | backend | infra | tests | docs | config

Summary

一句话总结所学

Details

完整上下文:发生了什么、哪里错了、正确做法

Suggested Action

具体修复或改进方案

Metadata

  • Source: conversation | error | user_feedback | discovery
  • Related Files: path/to/file.ext
  • Tags: tag1, tag2
  • See Also: LRN-YYYYMMDD-XXX
  • Pattern-Key: simplify.dead_code | harden.input_validation
  • Recurrence-Count: 1
  • First-Seen: YYYY-MM-DD
  • Last-Seen: YYYY-MM-DD

错误条目(ERRORS.md)

[ERR-YYYYMMDD-XXX] skill_or_command_name

Logged: ISO-8601 时间戳 Priority: high Status: pending | investigated | resolved Area: frontend | backend | infra | tests | docs | config

Summary

失败简述

Error

实际错误信息或输出

Context

  • 尝试的命令/操作
  • 使用的输入或参数
  • 相关环境信息

Suggested Fix

若可识别,给出解决思路

Metadata

  • Reproducible: yes | no | unknown
  • Related Files: path/to/file.ext
  • See Also: ERR-YYYYMMDD-XXX

功能请求条目(FEATURE_REQUESTS.md)

[FEAT-YYYYMMDD-XXX] capability_name

Logged: ISO-8601 时间戳 Priority: medium Status: pending | planned | implemented | rejected Area: frontend | backend | infra | tests | docs | config

Requested Capability

用户想实现的功能

User Context

需求背景与待解决问题

Complexity Estimate

simple | medium | complex

Suggested Implementation

构建思路与可扩展点

Metadata

  • Frequency: first_time | recurring
  • Related Features: existing_feature_name

优先级指南 Priority | 使用场景 critical | 阻塞核心功能、数据丢失风险、安全问题 high | 重大影响、影响常用流程、反复出现 medium | 中等影响、存在变通方案 low | 轻微不便、边缘情况

Area 标签 Area | 范围 frontend | UI、组件、客户端代码 backend | API、服务、服务端 infra | CI/CD、部署、Docker、云 tests | 测试文件、测试工具、覆盖率 docs | 文档、注释、README config | 配置文件、环境、设置

记忆晋升目标 学习类型 | 晋升至 行为模式 | /memories/user_preferences.md 工作流改进 | /memories/workflow_library.md 工具技巧 | /memories/domain_knowledge.md 项目事实/规范 | /memories/project/[slug]/context.md

工具使用规则 操作 | 正确工具 | 错误做法 更新特定行 | str_replace_memory | create_memory 覆盖 创建新记忆 | create_memory | 复用无关文件 读取大内容 | view_memory | 多次小读取 记录新 Episode | create_memory 新文件 | 追加到 session_notes

冲突解决优先级 用户明确指令 > 最近隐含行为 > 高置信度 LT 记忆 > 低置信度模式 > 默认

数据来源ClawHub ↗ · 中文优化:龙虾技能库