360 Secure SkillHub
360 安全技能中心

Self Improver Lite

核心功能:对OpenClaw开展轻量自审计,收集故障数据、归类根因,自动应用低风险可逆修复,生成审计报告并追踪变更。典型场景:Bot静默/故障、重复错误、配置更新后、每周健康检查。低风险操作自动处理,高风险变更需用户审批,保障可靠性且无危险自主修改。

utromaya-code
utromaya-code
热度 38.23
最近更新 2026-05-11 17:35:15
分类:自动化依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:自动化脚本 / DevOps / 报告撰写 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add self-improver-lite-ai
Metadata
name
self-improver-lite
description
Runs lightweight self-audits of OpenClaw behavior, finds repeated failures, proposes safe config/process improvements, and tracks what changed. Use after incidents, silent-bot periods, rate-limit spikes, or weekly maintenance.

Self Improver Lite

Goal

Continuously improve reliability without risky autonomous changes.

Trigger Cases

  • Bot is silent or unstable
  • Same error appears repeatedly (rate_limit, orphaned, timeout, sendMessage failed)
  • After major config updates
  • Scheduled weekly health review

Audit Steps

  1. Collect evidence:
systemctl is-active openclaw-gateway ollama
journalctl -u openclaw-gateway -n 120 --no-pager
  1. Group failures by pattern and count.
  2. Identify top 1-3 root causes.
  3. Propose minimal, reversible fixes.
  4. Apply only low-risk fixes automatically.
  5. Record summary and next actions.

Auto-Allowed Changes

  • Session cleanup when orphaned user message loops
  • Gateway restart for stuck polling
  • Context window/maxTokens tuning within known-safe ranges
  • Fallback chain reordering (no key changes)

Requires Explicit User Approval

  • New API provider onboarding
  • Social network account actions
  • Financial/crypto operations
  • Credential rotation or deletion
  • Any destructive file cleanup beyond sessions/log rotation

Weekly Review Template

## Weekly Self-Audit
- Period: <dates>
- Uptime notes: <short>

### Top Errors
1. <error> — <count>
2. <error> — <count>

### Changes Applied
- <change 1>
- <change 2>

### Measured Impact
- Response latency: <before -> after>
- Failed runs: <before -> after>

### Next Improvements
- <single highest-impact next step>

Guardrails

  • Never expose secrets in reports.
  • Always keep a rollback path (backup old config before edits).
  • Prefer one change per cycle to keep causality clear.