1---2name: disk-usage-watcher3description: Disk Usage Watcher4---5# Disk Usage Watcher67## Description8Monitors disk space and inode usage on specified paths, sending alerts when thresholds are exceeded. Essential for preventing disk-full incidents.910## Usage11The agent can call this skill directly or it runs automatically via cron every 15 minutes.1213### Example Prompts:14- "Check disk space on root partition"15- "Monitor all mount points and alert at 85%"16- "Show me disk usage statistics"1718## Inputs19- `threshold_percent`: number — Alert when usage exceeds this percentage (default: 85)20- `inode_threshold`: number — Alert when inode usage exceeds this percentage (default: 85)21- `paths`: array — Specific paths to monitor (default: all mounted partitions)22- `alert_on_failure`: boolean — Send alert if check fails (default: true)2324## Outputs25- `status`: string — "success" or "failure"26- `details`: object — Contains disk_usage array with mount points, usage percentages, and any triggered alerts2728## Dependencies29- `openclaw/exec` - For running df commands30- `openclaw/notify` - For sending alerts3132## Testing33```bash34openclaw call disk-usage-watcher --params '{"paths": ["/"]}'35```
Run npx skillmds@latest add javimosch/disk-usage-watcher in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Disk Usage Watcher It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
javimosch (@javimosch) published this skill. Their other Agent Skills are listed on their SkillMD profile.