← 返回 Skills 市场
Self-Correct
作者
Jokerli530
· GitHub ↗
· v1.0.0
· MIT-0
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install self-correct
功能描述
自纠错工具调用框架 - 轻量修正策略库 + 状态快照。对常见错误自动应对,高风险操作前保存快照。
安全使用建议
This skill is coherent with its description, but review the following before installing:
- Snapshot scope: nova-snapshot/cp -r will copy any path you pass. Do not snapshot /, /etc, home directories, SSH keys, or other sensitive locations unless you understand and accept that copies will be stored under /tmp/nova-snapshots.
- Temp-file expectations: verify-result expects caller-created /tmp/stderr.$$ and /tmp/stdout.$$ files. Ensure your exec wrappers create these safely and avoid predictable names if running concurrently.
- tag_error behavior: the tag_error function can print multiple lines (e.g., "success" plus other tags), which may confuse retry logic. Test how your agent consumes its output and consider normalizing a single tag return value.
- Race/symlink considerations: cp and rm operations on files under /tmp can be susceptible to symlink/race issues if run as a privileged user. Run with least privilege and validate paths.
- Unknown source: the skill's source/homepage is unknown. If you intend to use it in production, consider auditing or testing the script in a sandbox, and/or asking the author for provenance.
Overall: safe to try in a controlled environment after addressing the above items; nothing in the package appears to exfiltrate data or require unrelated credentials.
功能分析
Type: OpenClaw Skill
Name: self-correct
Version: 1.0.0
The skill bundle provides a framework for error diagnosis, automatic retries, and state snapshotting (backups) before high-risk operations. It includes shell functions in SKILL.md and a standalone script (scripts/snapshot.sh) to manage temporary copies of files in /tmp/nova-snapshots. The logic is transparent, lacks obfuscation, and aligns with its stated purpose of improving agent resilience through self-correction and recovery mechanisms.
能力评估
Purpose & Capability
Name/description (self-correct, snapshots, retry/verify) align with the included shell helpers and snapshot script. The files implement local snapshotting, simple retry/diagnosis heuristics, and verification wrappers — all consistent with the declared purpose.
Instruction Scope
Instructions remain focused on snapshot/verify/retry behaviors. Minor concerns: verify-result expects /tmp/stderr.$$ and /tmp/stdout.$$ to be present (caller responsibility) and tag_error may emit multiple lines/tags (contradictory outputs). Snapshot functions copy arbitrary target paths (intended for backups) — users should avoid giving root or other sensitive paths to avoid capturing secrets.
Install Mechanism
No install spec; only an instruction file and a small shell script are included. No network downloads or package installs are performed by the skill itself.
Credentials
The skill declares no environment variables or credentials and does not attempt to read secrets. It uses /tmp for temporary files and a local /tmp/nova-snapshots directory for snapshots — access is proportional to its stated function.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request system-wide config changes or permanent privileges; integration points are limited (optional HEARTBEAT.md hooks).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install self-correct - 安装完成后,直接呼叫该 Skill 的名称或使用
/self-correct触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
v1.0.0: 初始版本 - 修正策略库 + 错误标签 + 状态快照脚本 + HEARTBEAT验证层集成(全部3 Phase今天完成)
元数据
常见问题
Self-Correct 是什么?
自纠错工具调用框架 - 轻量修正策略库 + 状态快照。对常见错误自动应对,高风险操作前保存快照。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Self-Correct?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install self-correct」即可一键安装,无需额外配置。
Self-Correct 是免费的吗?
是的,Self-Correct 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Self-Correct 支持哪些平台?
Self-Correct 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Self-Correct?
由 Jokerli530(@jokerli530)开发并维护,当前版本 v1.0.0。
推荐 Skills