← 返回 Skills 市场
alethean-kaw

Self Optimization

作者 Alethean-kaw · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
144
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install self-optimization
功能描述
Turn mistakes, corrections, dead ends, and repeated fixes into durable improvements. Use when work reveals a non-obvious lesson, a recurring failure, a missi...
安全使用建议
This skill is internally coherent and appears safe in that it only writes local markdown entries, emits reminders, and scaffolds templates. Before installing: (1) review the scripts (scripts/*.sh) to confirm you are comfortable with local writes; they create files under the workspace and avoid writing outside the current directory; (2) enabling hooks is opt-in — only enable OpenClaw/Codex/Claude hooks if you want the reminders; (3) the error detector reads CLAUDE_TOOL_OUTPUT (tool output provided by the agent runtime) to detect failures — that data stays local unless you explicitly add forwarding; (4) ensure scripts are executable and the workspace .learnings/ location has appropriate permissions; (5) if you prefer not to have automatic reminders, install without enabling the hooks or narrow the hook matcher. Overall, nothing here indicates credential exfiltration or remote code fetching, but always review and only enable hooks you trust.
功能分析
Type: OpenClaw Skill Name: self-optimization Version: 1.0.2 The 'self-optimization' skill bundle is designed to help OpenClaw agents learn from errors and user feedback by maintaining a structured log in a `.learnings/` directory. The bundle includes shell scripts (`extract-skill.sh`, `error-detector.sh`) for automation and OpenClaw hooks (`handler.js`) to inject reminders into the agent's context. The code includes appropriate safeguards, such as path traversal checks in the skill extraction script, and the instructions in `SKILL.md` are strictly aligned with the stated purpose of improving agent performance through iterative feedback.
能力评估
Purpose & Capability
Name/description match the provided files. The package includes templates, lightweight hooks, and helper scripts to record and promote learnings; these are appropriate for a "self-optimization" skill.
Instruction Scope
SKILL.md instructs creating and writing to a workspace .learnings/ inbox and promoting entries. The included hooks and scripts are limited to emitting reminders, scanning local tool output for common error patterns, and scaffolding new skill templates. One runtime script reads the CLAUDE_TOOL_OUTPUT environment variable (used to surface tool output) — this is consistent with an error-detector hook but is not declared in requires.env, so it's worth noting.
Install Mechanism
No external downloads or package installs. This is effectively instruction-plus-local-scripts; everything is contained in the repo and scripts are executed locally. No URLs, extract operations, or third-party installers are used.
Credentials
The skill declares no required environment variables or credentials, which is appropriate. The only environment usage observed is reading CLAUDE_TOOL_OUTPUT in scripts/error-detector.sh (expected for a PostToolUse hook). No other secrets, tokens, or unrelated credentials are requested.
Persistence & Privilege
always:false and no attempts to modify other skills or global agent config were found. The hook injects a virtual bootstrap file and scripts create files under the current workspace or a relative ./skills path — this is proportionate for the stated purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install self-optimization
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /self-optimization 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
self-optimization v1.0.2 - Added standard log files: `.learnings/ERRORS.md`, `.learnings/FEATURE_REQUESTS.md`, and `.learnings/LEARNINGS.md` to structure captured learnings, errors, and feature requests. - No changes to logic or process; updated workspace to include these files for consistent tracking and review.
v1.0.1
self-optimization 1.0.1 - Removed internal `.learnings/*` log files from the skill package. - Added a `README.md` for documentation. - No changes to overall guidance or core workflow.
v1.0.0
Self-Optimization v1.0.0 - Introduces a structured system for capturing and promoting learnings from mistakes, corrections, and recurring issues to prevent repeated failures. - Defines `.learnings/` directory with dedicated logs for learnings, errors, and feature requests, each with detailed templates. - Details rules for detecting and prioritizing meaningful learning signals, linking recurrences, and guidelines for when to promote patterns into durable project guidance or reusable skills. - Includes clear promotion pathways into team documents (like `AGENTS.md`, `SOUL.md`, `TOOLS.md`) and extraction workflow for new skills. - Provides reference workflows, review checkpoints, and setup instructions for integration with OpenClaw and agent hooks.
元数据
Slug self-optimization
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Self Optimization 是什么?

Turn mistakes, corrections, dead ends, and repeated fixes into durable improvements. Use when work reveals a non-obvious lesson, a recurring failure, a missi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 144 次。

如何安装 Self Optimization?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install self-optimization」即可一键安装,无需额外配置。

Self Optimization 是免费的吗?

是的,Self Optimization 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Self Optimization 支持哪些平台?

Self Optimization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Self Optimization?

由 Alethean-kaw(@alethean-kaw)开发并维护,当前版本 v1.0.2。

💬 留言讨论