Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

system-maintenance-test系统维护测试

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

10,662

周安装

458

GitHub Stars

公开资料未说明

下载量

3,737
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:system-maintenance-test(系统维护测试)
来源仓库:https://github.com/jazzqi/system-maintenance-test
安装命令:
openclaw skills install system-maintenance-test
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install system-maintenance-test

简介

用于辅助测试设计、自动化测试、用例整理和回归验证,适合让 Agent 编写单元测试或根据失败日志定位问题。

  • 适用于 OpenClaw 维护系统的测试套件管理与环境一致性校验。
  • 通过 openclaw skills install 命令从 ClawHub 安装,需确认测试框架已初始化。
  • 安装前应评估是否允许执行破坏性测试或访问临时目录。
  • system-maintenance-test 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
system-maintenance
description
Complete maintenance system for OpenClaw with unified architecture, filesystem governance, and cross-platform design
version
1.3.2
metadata
openclaw
homepage
https://github.com/jazzqi/openclaw-system-maintenance

📖 Layer 1: Immediate Value (30-Second Overview)

What You Get

The System Maintenance Skill provides a complete, unified maintenance solution for OpenClaw systems. It includes real-time monitoring, automated cleanup, log management, and health reporting - all in a modular, easy-to-maintain architecture.

Key Benefits:

  • ✅ Automated monitoring every 5 minutes
  • ✅ Auto-recovery of failed services
  • ✅ 50% reduction in cron tasks
  • ✅ Full backup and one-click rollback
  • ✅ Weekly optimization reports

Core Value: Replaces fragmented maintenance scripts with a professional, unified system maintenance solution.

🚀 Layer 2: Quick Start (5-Minute Setup)

Installation

Method 1: ClawHub Install (Recommended)

bunx clawhub@latest install system-maintenance

Method 2: GitHub Clone

git clone https://github.com/jazzqi/openclaw-system-maintenance.git \
  ~/.openclaw/skills/system-maintenance
cd ~/.openclaw/skills/system-maintenance
chmod +x scripts/*.sh

One-Click Setup

bash scripts/install-maintenance-system.sh

Verification

# Check cron tasks
crontab -l | grep -i openclaw

# Test monitoring
bash scripts/real-time-monitor.sh --test

# Quick health check
bash scripts/daily-maintenance.sh --quick-check

🏗️ Layer 3: Architecture & Components

Maintenance Schedule

FrequencyTaskDescriptionScript
Every 5 minReal-time MonitoringGateway monitoring & auto-recoveryreal-time-monitor.sh
Daily 2:00 AMLog ManagementLog cleanup, rotation, compressionlog-management.sh
Daily 3:30 AMDaily MaintenanceComprehensive cleanup & health checksdaily-maintenance.sh
Sunday 3:00 AMWeekly OptimizationDeep system analysis & reportingweekly-optimization.sh

Core Functions

🏗️ Unified Architecture

  • Modulardesign with 5 core scripts
  • Configuration-driven management
  • Safe migration from old systems
  • Professional directory layout

⏱️ Smart Monitoring & Recovery

  • Real-time gateway monitoring
  • Automatic service recovery
  • Health scoring system (0-100)
  • Resource tracking (CPU, memory, disk)
  • macOS compatibility

📊 Professional Reporting

  • Weekly optimization reports (Markdown)
  • Execution summaries
  • Optimization suggestions
  • Performance metrics tracking

🛡️ Safety & Reliability

  • Complete backup system
  • One-click rollback
  • Error recovery with graceful handling
  • Security checks for sensitive info
  • Proper permission management

🔄 Maintenance Automation

  • Log rotation & cleanup
  • Temporary file cleanup
  • Daily health checks
  • Automatic .learnings/ updates

📚 Layer 4: Resources & Reference

File Structure

system-maintenance/
├── 📄 entry.js                 # Skill entry point
├── 📄 package.json             # NPM configuration
├── 📄 SKILL.md                 # This file
├── 🛠️  scripts/                # Core scripts
│   ├── weekly-optimization.sh      # Weekly deep optimization
│   ├── real-time-monitor.sh        # Real-time monitoring (5 min)
│   ├── log-management.sh           # Log cleanup & rotation
│   ├── daily-maintenance.sh        # Daily maintenance (3:30 AM)
│   ├── install-maintenance-system.sh # Installation tool
│   └── check-before-commit.sh      # Pre-commit quality check
├── 📚  examples/               # Examples & templates
│   ├── setup-guide.md              # Quick setup guide
│   ├── migration-guide.md          # Safe migration guide
│   ├── final-status-template.md    # Status report template
│   └── optimization-suggestions.md # Optimization suggestions
├── 📝  docs/                   # Additional documentation
│   ├── FILE_SYSTEM_GOVERNANCE.md   # FS Governance Standard
│   └── cross-platform-architecture.md
└── 📁 assets/                  # Static resources
    └── README.md

Command Reference

Real-time Monitor

# Test mode (no actual operations)
bash scripts/real-time-monitor.sh --test

# Force execution
bash scripts/real-time-monitor.sh --force

# View status
bash scripts/real-time-monitor.sh --status

Log Management

# Dry run (preview changes)
bash scripts/log-management.sh --dry-run

# Manual rotation
bash scripts/log-management.sh --rotate

# Cleanup only
bash scripts/log-management.sh --cleanup

Daily Maintenance

# Quick health check only
bash scripts/daily-maintenance.sh --quick-check

# Full maintenance cycle
bash scripts/daily-maintenance.sh --full

# Skip backup (emergency mode)
bash scripts/daily-maintenance.sh --no-backup

Weekly Optimization

# Generate report only (no optimization)
bash scripts/weekly-optimization.sh --report-only

# Analysis only (no changes)
bash scripts/weekly-optimization.sh --analyze-only

# Full optimization cycle
bash scripts/weekly-optimization.sh --optimize

Version History

VersionDateChanges
1.3.22026-03-16Reorganized SKILL.md with progressive disclosure; cleaned up backup files
1.3.12026-03-16Added FS Governance; improved error handling
1.3.02026-03-12Archival version, initial ClawHub release

🔧 Layer 5: Advanced Configuration

Customization Options

  • Configuration file: scripts/config.json
  • Monitoring intervals: Adjust in real-time-monitor.sh
  • Log policies: Modify in log-management.sh
  • Health thresholds: Configure in health check scripts

Integration Points

  • System Status API: Emergency endpoints
  • Logging Forwarding: External log aggregation
  • Metrics Export: Prometheus/Grafana compatible
  • Webhook Notifications: Slack, Discord, email

Security Features

  • Encrypted Backups: Optional GPG encryption
  • Access Controls: File permission management
  • Audit Logging: All maintenance actions logged
  • Secrets Management: Integration with vault systems

🛠️ Usage Examples

Quick Health Check

# Run all health checks in sequence
bash scripts/daily-maintenance.sh --quick-check
bash scripts/log-management.sh --status
bash scripts/real-time-monitor.sh --status

Emergency Recovery

# Force restore from latest backup
bash scripts/install-maintenance-system.sh --restore-latest

# Manual service restart
pkill -f openclaw-gateway && openclaw gateway start

Performance Tuning

# Adjust monitoring frequency (edit config)
# Default: 5 minutes, can be set to 1-60 minutes
# Example: Set to 2 minutes for critical systems

🤝 Contributing

Please read CONTRIBUTING.md before submitting pull requests.

📜 License

MIT License - see LICENSE file for details.


*Built with ❤️ for the OpenClaw community*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.02%
按下载量换算3,364

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills