constrained-vm-operations

Recover disk space and memory on constrained Linux virtual machines.

Updated May 24, 2026
One-click install
npx skills add https://github.com/anxiety135790/hermes-skills --skill constrained-vm-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constrained-vm-operations
Source: https://github.com/anxiety135790/hermes-skills/tree/main/devops/constrained-vm-operations
Command: npx skills add https://github.com/anxiety135790/hermes-skills --skill constrained-vm-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps restore Linux virtual machines that are running out of disk space or memory, especially small cloud VMs that become slow, unstable, or unable to complete routine maintenance tasks.

Core Features & Use Cases

  • Disk space auditing: Identify which directories, caches, logs, or package stores are consuming storage when standard tools time out.
  • Memory and service optimization: Reduce RAM usage by stopping or right-sizing non-essential Hermes services such as WebUI, Caddy, watchdogs, and cpulimit.
  • Safe recovery workflow: Verify the system state before and after cleanup so essential communication services remain running while optional components are removed.
  • Use case: A 1 GB VM is near full on disk and the agent is close to swapping heavily; this Skill guides a targeted cleanup and service shutdown sequence to recover stability without breaking the gateway.

Quick Start

Assess disk, memory, and running services on the VM, then follow the relevant cleanup and optimization steps for the resource bottleneck you find.

Frequently Asked Questions about constrained-vm-operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover disk space and memory on a small Linux VM when standard cleanup tools time out?

Recover disk space and memory on a constrained Linux VM by iteratively auditing the filesystem, selectively purging caches and logs, and safely disabling non-essential services to restore stability without breaking the essential gateway.

What is the best way to reduce RAM usage on a 1 GB cloud VM that is heavily swapping?

Reduce RAM usage on a 1 GB cloud VM by right-sizing or stopping optional Hermes services such as WebUI, Caddy, watchdogs, and cpulimit, verifying system state before and after to preserve essential operations.

How do I audit disk space on a Linux VM to find which directories or package stores are consuming storage?

Audit disk space on a Linux VM by performing an iterative filesystem audit to identify specific directories, caches, logs, or package stores that are consuming storage and causing resource exhaustion.

Can I disable optional services on a constrained cloud VM without losing the essential communication gateway?

Yes, you can disable optional services on a constrained cloud VM through a safe recovery workflow that verifies the system state before and after cleanup, ensuring the essential communication gateway remains running.

Why does my small cloud VM become unstable and unable to complete routine maintenance tasks?

Small cloud VMs become unstable and unable to complete routine maintenance when they run out of disk space or memory, requiring targeted resource triage and selective cleanup of caches, logs, and non-essential services.

When should I perform resource triage and service right-sizing on a Linux virtual machine?

Perform resource triage and service right-sizing on a Linux virtual machine when you encounter resource exhaustion scenarios, such as near-full disks or heavy swapping, to recover stability through targeted cleanup and service optimization.