Disk Usage
This skill analyzes a file system to report on disk usage statistics, helping you optimize storage and identify potential issues.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add disk-usage npx -- -y @trustedskills/disk-usage
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"disk-usage": {
"command": "npx",
"args": [
"-y",
"@trustedskills/disk-usage"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to query and analyze disk space utilization across local or remote filesystems. It provides real-time metrics on storage consumption, helping agents monitor system health and identify potential capacity issues before they impact operations.
When to use it
- Monitoring server storage levels during automated deployment pipelines to prevent outages.
- Investigating why specific directories or applications are consuming excessive resources.
- Auditing file systems for compliance with data retention policies or backup schedules.
- Diagnosing performance bottlenecks caused by low available disk space on critical nodes.
Key capabilities
- Reports total, used, and free disk space in human-readable formats.
- Supports querying specific mount points or directories for granular analysis.
- Integrates seamlessly with
inspect_aiworkflows for automated system checks. - Returns structured data suitable for logging or triggering alerting rules.
Example prompts
- "Check how much free disk space is available on the root partition."
- "List the top three directories consuming the most storage on this server."
- "Alert me if any mounted drive falls below 10% available capacity."
Tips & gotchas
Ensure the AI agent has appropriate file system permissions to access the target volumes, as restricted access may lead to incomplete or denied queries. This skill is designed for operational monitoring and should be paired with alerting mechanisms in production environments to act on low-space warnings promptly.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.