ssh-disk-cleanup

Investigate disk usage and reclaim space on SSH hosts.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-disk-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-disk-cleanup
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/runbooks/ssh-disk-cleanup
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-disk-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The SSH Disk Cleanup skill addresses the issue of disk space exhaustion on SSH hosts by safely investigating the issue and recovering space, ensuring that the host's state remains intact.

Core Features & Use Cases

  • Disk Space Investigation: Identify which files and directories are consuming disk space.
  • Safe Recovery: Provide a structured approach to recover space by identifying and removing old logs, Docker data, and other unnecessary files without data loss.
  • Use Case: When an SSH host reports a low disk space warning, use this skill to analyze the usage, locate the issue, and perform safe recovery.

Quick Start

Use the 'ssh-disk-cleanup' skill to investigate disk usage on the 'web01' host and attempt recovery.

Frequently Asked Questions about ssh-disk-cleanup

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

FAQPage Schema
How do I free up disk space on an SSH host when it runs out?

To free up disk space on an SSH host, investigate disk usage to identify large files and directories. You can then safely reclaim space by removing old logs, pruning Docker data, and cleaning application data.

What is the safest way to prune Docker data to recover disk space?

The safest way to prune Docker data involves analyzing Docker data usage before removal. This skill handles Docker pruning safely to recover disk space while ensuring the host's state remains intact and avoiding data loss.

How do I investigate disk usage to find what is consuming space on my server?

Investigating disk usage involves analyzing log files, Docker data, and application data to identify which files and directories are consuming disk space. This structured analysis locates the issue before performing recovery.

Can I clean up old logs via SSH without losing important application data?

Yes, you can clean up old logs without losing important data. This skill provides safe recovery by handling log rotation and identifying unnecessary files for removal, ensuring application data remains intact.

What access privileges do I need to resolve disk space issues on SSH hosts?

Resolving disk space issues on SSH hosts requires SSH access and execution privileges. The process handles read, low-access, and dangerous access tiers to safely investigate usage and perform recovery actions.

Why does my SSH host report a low disk space warning and how do I fix it?

An SSH host reports a low disk space warning when disk space is exhausted. Fix it by using a structured approach to analyze usage, locate large files or Docker data, and perform safe recovery to reclaim space.