Server Maintenance Skill for Openclaw

An automated utility for disk cleanup, system resource optimization, and batch multi-server maintenance via SSH.

2233admin
v1.0.0
Mar 3, 2026
0
1.1k
4

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install server-maintenance

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install server-maintenance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Server Maintenance Skill?

The Server Maintenance Skill is a comprehensive automation tool designed to keep your development and production environments running efficiently. It streamlines the process of monitoring disk usage, identifying resource bottlenecks, and performing routine cleanups of temporary files and large caches. By integrating with Openclaw Skills, developers can move away from manual sysadmin tasks and leverage automated workflows to maintain system health.

This skill excels at identifying hidden storage hogs like npm caches, Playwright legacy versions, and temporary build artifacts. It provides a unified interface to manage both local machines and remote cloud instances, making it an essential part of any modern DevOps toolkit.

Server Maintenance Skill Use Cases

  • Automating the cleanup of bloated npm and Playwright caches on development servers.
  • Monitoring disk usage across a distributed fleet of servers through a single command.
  • Scheduling recurring system health checks to prevent disk-full errors in production.
  • Analyzing memory and Swap usage to identify processes consuming excessive resources.

How Server Maintenance Skill Works

  1. The skill reads the server configuration from the local JSON registry to identify target hosts.
  2. It executes diagnostic scripts to analyze disk utilization and identify large directories or files.
  3. For remote environments, it establishes secure SSH connections to perform batch operations in parallel.
  4. It runs specialized cleanup routines targeting known safe-to-delete directories and caches.
  5. It compiles a comparative report showing the disk state before and after the maintenance cycle.

Server Maintenance Skill Setup

To get started with this skill within the Openclaw Skills framework, follow these steps:

  1. Define your server list in servers.json:
{
  "servers": [
    {
      "name": "Production",
      "host": "your.server.ip",
      "type": "ssh"
    }
  ]
}
  1. Run a manual check on your local environment:
bash ~/.openclaw/skills/server-maintenance/check.sh
  1. Execute maintenance across all configured servers:
bash ~/.openclaw/skills/server-maintenance/maintain-all.sh

Server Maintenance Skill Data Schema & Taxonomy

The skill manages infrastructure metadata and generates performance reports using the following structure:

Component Format Description
servers.json JSON Registry containing server names, hosts, and connection types (local/ssh).
check.sh Bash Script responsible for profiling disk and memory usage.
maintain-all.sh Bash Orchestration script for multi-server batch processing.
Maintenance Report Table A text-based output showing cleanup results and freed space in GB.

Server Maintenance Skill Advanced Features

  • Multi-server batch operations allowing for simultaneous maintenance of globally distributed nodes.
  • Built-in dry-run mode to verify cleanup targets before actual deletion occurs.
  • Automated configuration backups to ensure critical system settings are preserved during optimization.
  • Cron job integration for fully autonomous weekly maintenance schedules within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*