disk-usage

Analyze Linux disk usage with df, du, lsblk, and mount.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/prophetto1/agch1 --skill disk-usage-prophetto1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disk-usage
Source: https://github.com/prophetto1/agch1/tree/main/inspect_ai/examples/skills/skills/disk-usage
Command: npx skills add https://github.com/prophetto1/agch1 --skill disk-usage-prophetto1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps administrators quickly assess disk space usage, filesystem structure, and identify space hogs to support capacity planning and maintenance.

Core Features & Use Cases

  • Analyze disk space usage across all mounted filesystems with human-readable output.
  • Inspect block devices, partitions, and mount points to understand storage layout and health.
  • Locate large files or directories to optimize space and plan cleanups. Use Case: A sysadmin needs a quick overview of disk usage on a Linux host and to spot space hogs before a deployment or maintenance window.

Quick Start

Run the included script to generate a concise disk report: ./scripts/diskinfo.sh

Frequently Asked Questions about disk-usage

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

FAQPage Schema
How do I analyze disk usage and find large files on a Linux host?

You can analyze disk usage on a Linux host by running the included script to generate a concise report using df, du, and lsblk, which identifies large files and space bottlenecks without requiring external installations.

What's the best way to map filesystem health and mount points for capacity planning?

Mapping filesystem health for capacity planning is done by inspecting block devices, partitions, and mount points with standard UNIX utilities to produce a deterministic report on storage layout and space bottlenecks.

Do I need to install external dependencies to check disk space on Linux?

You do not need to install external dependencies to check disk space. The Skill relies entirely on standard UNIX utilities such as df, du, lsblk, and mount already available on the Linux host.

Can I locate space hogs across all mounted filesystems without extra packages?

You can locate space hogs across all mounted filesystems without extra packages by running the included script, which leverages built-in UNIX commands like du to surface large files with human-readable output for cleanup planning.

When should I run a disk usage report before a system maintenance window?

Run a disk usage report before a maintenance window to quickly assess disk space, spot space hogs, and verify filesystem structure, ensuring you have adequate capacity for deployments and preventing unexpected storage failures.