← Back to Skills Marketplace
Self-Correct
by
Jokerli530
· GitHub ↗
· v1.0.0
· MIT-0
110
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install self-correct
Description
自纠错工具调用框架 - 轻量修正策略库 + 状态快照。对常见错误自动应对,高风险操作前保存快照。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install self-correct - After installation, invoke the skill by name or use
/self-correct - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
v1.0.0: 初始版本 - 修正策略库 + 错误标签 + 状态快照脚本 + HEARTBEAT验证层集成(全部3 Phase今天完成)
Metadata
Frequently Asked Questions
What is Self-Correct?
自纠错工具调用框架 - 轻量修正策略库 + 状态快照。对常见错误自动应对,高风险操作前保存快照。 It is an AI Agent Skill for Claude Code / OpenClaw, with 110 downloads so far.
How do I install Self-Correct?
Run "/install self-correct" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Self-Correct free?
Yes, Self-Correct is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Self-Correct support?
Self-Correct is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Self-Correct?
It is built and maintained by Jokerli530 (@jokerli530); the current version is v1.0.0.
More Skills