← 返回 Skills 市场
1128
总下载
1
收藏
10
当前安装
6
版本数
在 OpenClaw 中安装
/install system-maintenance
功能描述
Complete maintenance system for OpenClaw with unified architecture, filesystem governance, and cross-platform design
安全使用建议
Do not run installer scripts or the package's maintenance scripts without manual review. Specific steps to reduce risk:
- Inspect the upstream GitHub repo linked in SKILL.md (https://github.com/jazzqi/openclaw-system-maintenance) and verify the scripts/ directory and install scripts exist and are what you expect.
- Do not run install-maintenance-system.sh or any other installer as root; open the script first and review its contents.
- Verify the scripts that would be placed into crontab before installing; back up your current crontab (crontab -l > crontab.bak) so you can restore it.
- The published package here lacks the referenced scripts and entry.js contains duplicated/malformed sections (uses fs without requiring it and has multiple CLI blocks). Ask the author to publish a complete, consistent package or provide the scripts inline.
- If you want to test: run inside an isolated VM or container, and run monitoring/cleanup scripts in --dry-run/test modes first (SKILL.md indicates some scripts support --dry-run/--test).
- If you need this capability, prefer installing from the verified upstream repo (after review) rather than blindly running recommended one-click installers.
功能分析
Type: OpenClaw Skill
Name: system-maintenance
Version: 1.3.2
The skill bundle performs high-risk system operations including arbitrary shell command execution via 'execSync' and modification of the user's crontab for persistence. While these actions are aligned with the stated purpose of system maintenance, the 'entry.js' file is syntactically malformed, containing redundant logic and function definitions outside of the class structure that would cause runtime errors. The instructions in 'SKILL.md' also encourage high-risk patterns such as 'curl | bash' style installations and manual permission changes ('chmod +x'), which increase the attack surface without providing sufficient security safeguards.
能力评估
Purpose & Capability
The skill claims a full maintenance system and the code/instructions show maintenance tasks (monitoring, log cleanup, backups, cron install). However the SKILL.md references many shell scripts (scripts/*.sh) and a scripts/ directory that are not present in the package manifest. The package contains entry.js which invokes those scripts and other paths that don't exist in this bundle, indicating the published package is incomplete or mispackaged.
Instruction Scope
SKILL.md instructs users/agents to clone a repo, chmod and run several installer and maintenance scripts, and to install cron tasks. entry.js executes shell commands via child_process.execSync, performs deletions (find ... -delete on /tmp paths), runs curl against localhost:18789, reads disk/workspace sizes, and writes to crontab. These actions are within a maintenance skill's scope but are potentially destructive/persistent — and the instructions assume scripts exist that are not bundled here. The SKILL.md is also permissive about installing/running remote install scripts (bash scripts), which increases risk.
Install Mechanism
There is no formal install spec; this is effectively instruction-only. SKILL.md suggests git-clone or a bunx clawhub install that would pull content from GitHub — running the recommended git/one-click install would execute shell installers referenced in the repo. Because the package as published is missing the scripts directory, the instructions will either fail or prompt the user to fetch/execute code from the remote GitHub. Executing remote install scripts without inspection is higher risk.
Credentials
The skill does not request environment variables or external credentials. The code touches local system resources (/tmp, ~/.openclaw/workspace, crontab) and queries localhost endpoints; these are consistent with a system maintenance purpose and do not demand unrelated credentials.
Persistence & Privilege
The skill (and SKILL.md) explicitly installs cron jobs and instructs running installer scripts that create persistent scheduled tasks and backups. The package metadata does not set always:true, but the capability to modify system crontab and install long-running maintenance scripts means the skill will create persistence on the host when used — be aware this persists beyond the agent process.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install system-maintenance - 安装完成后,直接呼叫该 Skill 的名称或使用
/system-maintenance触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.2
Updated to version 1.3.2 with core maintenance functionality
v1.3.0
**Version 1.3.0 Changelog**
- Added comprehensive Chinese documentation (`README.zh-CN.md`, `SKILL.zh-CN.md`).
- Introduced pre-commit safety and quality checks (`pre-commit-checklist.md`, `scripts/check-before-commit.sh`).
- Added platform analysis and cross-platform architecture documentation.
- Included automated version update reporting (`VERSION_UPDATE_REPORT.md`).
- Updated existing documentation to reflect new features and to support multilingual usage.
- Revised `package.json` and other core files for improved maintainability.
v1.2.1
- 移除所有旧的备份和历史脚本文件,精简存储空间。
- 新增 FINAL_RELEASE_REPORT.md 和 README.md 文件,补充文档说明。
- 精简和清理了无用维护脚本和旧系统配置相关内容,便于维护和管理。
- 保留核心维护功能及当前架构文档,确保主系统正常运行。
v1.2.0
v1.2.0 introduces a unified, modular architecture for OpenClaw system maintenance with enhanced reporting and migration support.
- Added weekly optimization script and enhanced real-time monitoring, daily maintenance, and log management scripts
- Introduced full migration and rollback guides, backup strategies, and final status/optimization report templates
- Improved health scoring system and macOS compatibility
- Unified documentation, reduced script redundancy, and enhanced safety features
- Removed outdated/duplicated scripts and old backup/config directories
v1.1.0
v1.1.0 introduces a unified maintenance system with significant enhancements:
- Added real-time monitoring, advanced log management, installation, and configuration scripts.
- Introduced schedule-based configuration (schedule.json) for flexible task management.
- Implemented backup, restore, and integration scripts for safer maintenance.
- Improved system architecture with layered maintenance (real-time, daily, weekly) and standardized log output.
- Ensured backward compatibility by retaining previous scripts while adding new features.
v1.0.0
system-maintenance v1.0.0
- 初始版本发布
- 提供日志清理、内存整理、Token 优化和系统维护自动化功能
- 包含日常维护及定时任务脚本
- 支持磁盘、Gateway 状态、定时任务等多项系统监控
- 提供详细设置指南和最佳实践建议
元数据
常见问题
System Maintenance 是什么?
Complete maintenance system for OpenClaw with unified architecture, filesystem governance, and cross-platform design. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1128 次。
如何安装 System Maintenance?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install system-maintenance」即可一键安装,无需额外配置。
System Maintenance 是免费的吗?
是的,System Maintenance 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
System Maintenance 支持哪些平台?
System Maintenance 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 System Maintenance?
由 jazzqi(@jazzqi)开发并维护,当前版本 v1.3.2。
推荐 Skills