← 返回 Skills 市场
193
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install system-guardian
功能描述
金刚罩 — OpenClaw 系统守护:配置安全(pre-validate + 自动备份 + 失败回滚)、健康巡检、资源优化、故障自愈。刀枪不入,百毒不侵。
安全使用建议
This skill is coherent with its stated purpose, but it performs local backups, restores, restarts, and automated deletions (old sessions, logs, excess backups, temp files). Before installing: 1) Inspect the three scripts yourself (they are provided) to confirm you’re comfortable with their delete/rollback behavior. 2) Ensure you have external backups if you rely on session data. 3) Note the scripts use macOS-specific commands/paths (LaunchAgents, md5 -q); test on your OS. 4) If you don’t want automatic deletions or autonomous restarts, do not enable scheduled cron runs or disable autonomous invocation for this skill. 5) If you plan to git-clone the repo from the README, verify the repository’s source/author (the skill bundle already includes the scripts).
功能分析
Type: OpenClaw Skill
Name: system-guardian
Version: 1.1.0
The 'system-guardian' skill bundle provides legitimate system maintenance, configuration validation, and safe restart utilities for the OpenClaw environment. The scripts (config-guard.sh, health-patrol.sh, and safe-restart.sh) perform standard administrative tasks such as monitoring memory/disk usage, managing backups, and validating JSON syntax. The bundle includes robust error handling and rollback mechanisms for service restarts, and its instructions in SKILL.md correctly guide the AI agent to use these safety-focused scripts instead of raw commands.
能力评估
Purpose & Capability
Name/description (system guardian for OpenClaw) match the actual behavior: scripts call openclaw, inspect ~/.openclaw, validate config, back up/restore, restart the gateway, inspect plugins and cron jobs, and clean old sessions/backups. Required binaries (openclaw, python3) are appropriate. Minor note: scripts use macOS-specific tools/paths (md5 -q, LaunchAgents path) while the skill metadata has no OS restriction.
Instruction Scope
SKILL.md tells the agent to run the included scripts; the scripts read and write many local OpenClaw files, create backups, and perform deletions (old sessions, excess backups, temp files). safe-restart.sh performs an unprompted restart and rollback sequence; health-patrol.sh auto-cleans files when run. This behavior is consistent with the stated purpose but is destructive (deleting user session files, logs, backups) and will run automatically if scheduled — users should confirm they accept those deletions and automatic operations.
Install Mechanism
No install spec (instruction-only) which is low-risk. README suggests git clone from a GitHub repo (external source) but inclusion in the skill bundle already provides the scripts. No archive downloads or opaque installers are used.
Credentials
The skill declares no required environment variables or credentials. Scripts inspect a local .env when config references ${VAR} and back it up; they do not request unrelated secrets or external API keys. Access is limited to OpenClaw directories, /tmp, and local system utilities.
Persistence & Privilege
always:false and normal autonomous invocation are used (default). The skill writes its own data to ~/.openclaw/data/system-guardian and backups to ~/.openclaw/backups, which is expected. Because the scripts delete files and Safe Restart can be invoked, be aware that scheduling or allowing autonomous agent invocation will let the agent perform deletions and restarts without further manual steps.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install system-guardian - 安装完成后,直接呼叫该 Skill 的名称或使用
/system-guardian触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Initial public release: safe restart, config guard, health patrol (13 checks)
元数据
常见问题
金刚罩 是什么?
金刚罩 — OpenClaw 系统守护:配置安全(pre-validate + 自动备份 + 失败回滚)、健康巡检、资源优化、故障自愈。刀枪不入,百毒不侵。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 193 次。
如何安装 金刚罩?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install system-guardian」即可一键安装,无需额外配置。
金刚罩 是免费的吗?
是的,金刚罩 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
金刚罩 支持哪些平台?
金刚罩 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 金刚罩?
由 Lei Huang(@realhossie)开发并维护,当前版本 v1.1.0。
推荐 Skills