Bug Fixer
v1.0.0Autonomous bug diagnosis and repair. Use when user reports a bug, error, or unexpected behavior in code or systems.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description align with the provided script: it looks for error reports in a workspace, analyzes them, generates a fix record, and logs actions. The filesystem paths (HOME/.openclaw/...) are consistent with a local agent workspace and fit the stated purpose.
Instruction Scope
SKILL.md tells the agent to run the included script; the script itself implements analysis, recording, and a simple execute/verify flow. Minor inconsistencies: SKILL.md suggests recording to .learnings/ERRORS.md and advising backups prior to fixes, but the script writes fix records to ${HOME}/.openclaw/workspace-mars/memory/fixes and does not perform automated backups. The script also expects pitfall files named under PITFALLS_DIR and will read them; that behavior is reasonable but should be understood (it reads and writes files under the user's HOME workspace).
Install Mechanism
Instruction-only skill with a single bash script included. No install steps, no network downloads, and no package manager dependencies are declared. Risk from install mechanism is low.
Credentials
The skill requests no special environment variables or credentials. It uses standard environment values (HOME) and reads/writes under ${HOME}/.openclaw/workspace-mars. One notable behavior: if a feishu-send-file helper exists in the workspace, the script will call that helper to send reports (which could transmit the generated report off-host). That is optional (only invoked if the helper file exists) but worth reviewing if you have external notification integrations.
Persistence & Privilege
always is false and the script does not modify other skills or system-wide settings. It creates and writes to its own workspace directories and log files under the user's HOME; that is expected for a local fixer and does not indicate elevated privileges.
Assessment
This skill appears to do what it says: it reads error report files from a workspace, writes logs and fix records locally, and optionally invokes an existing notification helper if present. Before installing or running: 1) Review scripts/autonomous-fix.sh yourself (it is short and readable). 2) Back up any important files — the SKILL.md recommends backups but the script does not create them for you. 3) Check for a workspace notification helper (WORKSPACE/skills/feishu-send-file/scripts/send-message.sh); if you do not want reports sent externally, remove or inspect that helper. 4) Run the script in a safe or test workspace first to confirm behavior and outputs (it writes under ${HOME}/.openclaw/...). If you need higher assurance, run it in a sandboxed environment or container.Like a lobster shell, security has layers — review code before you run it.
aiautomationdevelopmentlatest
bug-fixer
使用方式
# 自动诊断并修复
./scripts/autonomous-fix.sh <问题描述>
# 或直接运行诊断
./scripts/autonomous-fix.sh diagnose <错误信息>
工作流程
- 问题收集: 收集错误日志、症状描述
- 根因分析: 定位问题根源
- 修复执行: 实施修复
- 验证确认: 确保问题解决
注意事项
- 修复前先备份原文件
- 修复后运行验证
- 记录修复过程到
.learnings/ERRORS.md
Comments
Loading comments...
