diskspace

Analyze mounted filesystems and Nix store usage to identify cleanup opportunities.

6|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/junghan0611/agent-config --skill diskspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diskspace
Source: https://github.com/junghan0611/agent-config/tree/main/skills/diskspace
Command: npx skills add https://github.com/junghan0611/agent-config --skill diskspace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gdu, duf, fd, jq, nix, and includes scripts (resource) components.

What problem does it solve?

Disk space bottlenecks are a frequent hindrance for AI agents and automation workflows. This skill quickly analyzes mounted disks, per-directory sizes, and Nix store usage to surface actionable cleanup opportunities.

Core Features & Use Cases

  • Overview: mount point summary for immediate visibility.
  • Top: identify the largest directories to prioritize cleanup.
  • Bigfiles: locate large files quickly to reclaim space.
  • Nix: analyze NixOS store size, generations, and GC implications to inform maintenance and cleanup decisions.

Quick Start

Run the diskspace overview to get an instant mount and usage snapshot.

Frequently Asked Questions about diskspace

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

FAQPage Schema
How do I analyze disk space usage across mounted filesystems?

Analyze disk space usage across mounted filesystems by generating an instant mount point summary and identifying the largest directories to prioritize cleanup. This surfaces actionable opportunities to reclaim constrained disk space quickly.

How do I find large files taking up disk space on my system?

Find large files taking up disk space by scanning mounted filesystems to locate the biggest files quickly. This allows you to target and remove specific disk space bottlenecks hindering automation workflows.

How do I analyze Nix store size and generations for garbage collection?

Analyze Nix store size and generations for garbage collection by evaluating the NixOS store usage. This informs maintenance decisions by surfacing specific cleanup opportunities and GC implications within the Nix environment.

Do I need to install external tools to automate disk usage analysis?

You need external tools to automate disk usage analysis because the skill requires gdu, duf, fd, jq, and nix. These dependencies provide the underlying system querying and data processing capabilities for the analysis.

What is the best way to identify cleanup opportunities when disk space is constrained?

The best way to identify cleanup opportunities when disk space is constrained is to automate comprehensive disk usage analysis. This quickly highlights large directories, big files, and Nix store data for immediate maintenance.