← 返回 Skills 市场
VPS Guardian
作者
strouddustinn-bot
· GitHub ↗
· v1.0.0
· MIT-0
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vps-guardian
功能描述
Autonomous VPS monitoring and auto-remediation — kills runaway procs, frees disk, restarts dead services, hardens security. Not alerts. Action.
安全使用建议
This skill does what it says (automated remediation) and therefore needs root — that makes mistakes or hidden behavior dangerous. Specific concerns: the README tells you to curl a script from raw.githubusercontent.com even though the package contains the script (provenance mismatch); some doc claims (CPU over 5 minutes, approval gates) don't match the code's simplistic implementation; there are bugs (e.g., incorrect f-string usage in journal vacuum command) that could prevent intended behavior. Before installing: (1) review the full guardian.py source line-by-line (especially iptables, kill logic, file deletions and systemctl calls); (2) run in a disposable/test VM or container as root only after inspection; (3) use --dry-run and confirm logs before enabling daemon/cron; (4) avoid blindly following the curl instruction — use the bundled script from a verified source or fetch only from a repository you trust; (5) verify the approval/auto-block logic and whitelist behavior to avoid accidental lockout. If you lack the ability to audit the code, treat this skill as high-risk and do not run it on any production VPS.
功能分析
Type: OpenClaw Skill
Name: vps-guardian
Version: 1.0.0
The vps-guardian skill performs high-privilege system operations including process termination (os.kill), file deletion, and firewall modification via iptables in src/guardian.py. While these actions align with the stated purpose of autonomous server remediation in SKILL.md, the script's broad authority to modify system state as root poses a significant risk of unintended service disruption or data loss. Additionally, the documentation promotes a risky installation pattern via curl to a privileged path from an external GitHub repository (raw.githubusercontent.com/vps-guardian/guardian).
能力标签
能力评估
Purpose & Capability
The name/description match what the code does: process killing, disk cleanup, service restarts, iptables modifications, journald/apt operations. Requiring root/sudo is proportional to those tasks. However the SKILL.md refers to external project pages and a raw GitHub download URL while the package metadata shows no homepage; that provenance mismatch is notable.
Instruction Scope
Runtime instructions and the included code both read and modify system state extensively (/proc, /var/log, /tmp, systemctl, journalctl, apt-get, iptables). These are within the stated purpose but are high-risk operations (process kills, file removals, firewall changes). The SKILL.md claims some safe behaviors (e.g., 'never auto-blocks — always requires approval', 'detect >90% CPU for 5+ minutes') that the code does not fully implement as described (CPU check is a lifetime-average approximation; approval gating behavior is controlled by config but its enforcement path/interaction is not clearly auditable). The docs also instruct downloading the script from raw.githubusercontent.com, which is an external network fetch outside the packaged skill.
Install Mechanism
The skill package itself contains the Python script, but SKILL.md instructs users to curl a script from raw.githubusercontent.com. Raw GitHub is a common host but is an external download (supply-chain risk) and the referenced repo/homepage are absent from the package metadata. There is no formal install spec in the registry; installing via the documented curl command would fetch code outside the registry bundle.
Credentials
The skill requests no environment variables and no unrelated credentials. It does require root/sudo (documented) which is proportionate to its tasks (service control, iptables, file removals), but that level of privilege makes any bugs or unexpected behavior potentially destructive.
Persistence & Privilege
The skill is not set to always:true and model invocation is not disabled (normal). It offers daemon mode and cron scheduling in the docs; running it persistently as root grants continuous ability to act on the host. This is coherent with its purpose but increases blast radius — test carefully before enabling autonomous/daemon operation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install vps-guardian - 安装完成后,直接呼叫该 Skill 的名称或使用
/vps-guardian触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — autonomous VPS monitoring and auto-remediation: kills runaways, frees disk, restarts services, hardens security
元数据
常见问题
VPS Guardian 是什么?
Autonomous VPS monitoring and auto-remediation — kills runaway procs, frees disk, restarts dead services, hardens security. Not alerts. Action. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。
如何安装 VPS Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install vps-guardian」即可一键安装,无需额外配置。
VPS Guardian 是免费的吗?
是的,VPS Guardian 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
VPS Guardian 支持哪些平台?
VPS Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 VPS Guardian?
由 strouddustinn-bot(@strouddustinn-bot)开发并维护,当前版本 v1.0.0。
推荐 Skills