config-rollback

自动回滚保护。修改配置前先备份+设5分钟系统定时任务,改坏自动还原。当用户说"自动回滚"或需要改配置时使用此 Skill。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "config-rollback" with this command: npx skills add 2233admin/config-rollback

Config Rollback - 自动回滚保护

口令

用户说"自动回滚"时触发

执行流程

  1. 备份当前配置
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak
  1. 设系统级定时任务(5分钟后)
echo "cp ~/.openclaw/openclaw.json.bak ~/.openclaw/openclaw.json && systemctl restart openclaw-gateway" | at now + 5 minutes
  1. 返回 job ID

  2. 用户确认正常后

atrm <job-id>

适用场景

  • 修改 channel 配置
  • 修改代理路由
  • 更新插件
  • 修改模型配置
  • 任何需要重启 gateway 的操作

核心原则

  • 必须是系统级定时任务(at/crontab)
  • 不能依赖 OpenClaw 本身
  • 双重保护:git commit + 自动回滚

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated