← 返回 Skills 市场
theshadowrose

Disk Watch

作者 Shadow Rose · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
400
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install disk-watch
功能描述
Monitor disk space across drives. Alert before disks fill up. Track usage trends, find space hogs, suggest cleanup. Every server needs this.
使用说明 (SKILL.md)

DiskWatch Disk Space Monitor & Alert

Monitor disk space across drives. Alert before disks fill up. Track usage trends, find space hogs, suggest cleanup. Every server needs this.


Get alerted before your disk fills up. Find what's eating space.

Usage

const { DiskWatch } = require('./src/disk-watch');
const watch = new DiskWatch({
  warningThreshold: 80,
  criticalThreshold: 90,
  checkInterval: 3600000  // hourly
});
watch.start();

Output

💾 Disk Status

C: 234/500 GB (47%) ✅
D: 890/1000 GB (89%) ⚠️ WARNING
E: 58/64 GB (91%) 🔴 CRITICAL

Top consumers (D:):
  1. /data/backups/  312 GB (35%)
  2. /data/logs/     198 GB (22%)
  3. /data/models/   145 GB (16%)

Suggestion: backups/ has 187 GB reclaimable (>90 days old)

Features

  • Multi-drive monitoring — all mounted drives
  • Threshold alerts — warning and critical levels
  • Space hog detection — largest directories
  • Trend tracking — "Disk growing 2 GB/day"
  • Cleanup suggestions — old files, duplicates
  • Cross-platform — Windows, Linux, macOS

⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from the use or misuse of this software — including but not limited to financial loss, data loss, security breaches, business interruption, or any indirect/consequential damages.
  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for their use case, environment, and risk tolerance.
  • No guarantee is made regarding accuracy, reliability, completeness, or fitness for any particular purpose.
  • The author(s) are not responsible for how third parties use, modify, or distribute this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system. The author(s) are not responsible for data loss, corruption, or unauthorized access resulting from software bugs, system failures, or user error. Always maintain independent backups of important data. This software does not transmit data externally unless explicitly configured by the user.


Support & Links

🐛 Bug Reports [email protected]
Ko-fi ko-fi.com/theshadowrose
🛒 Gumroad shadowyrose.gumroad.com
🐦 Twitter @TheShadowyRose
🐙 GitHub github.com/TheShadowRose
🧠 PromptBase promptbase.com/profile/shadowrose

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr

安全使用建议
This skill appears to do what it says: run local disk-usage commands, scan directories up to a shallow depth, and store a small JSON history in the system temp folder. Before installing, consider: run it with a non-privileged account (it will read filesystem metadata and execute df/wmic), review or test the code in a safe environment, and be cautious about calling findHogs on sensitive system paths (it will traverse directories you pass it). Also note there is no upstream homepage or verified publisher information — if provenance matters, verify the author or run inside a container/isolated VM.
功能分析
Type: OpenClaw Skill Name: disk-watch Version: 1.0.2 The DiskWatch skill bundle is a legitimate utility for monitoring disk space and identifying large directories. The code in src/disk-watch.js uses standard Node.js modules (fs, child_process, os) to execute system commands like 'wmic' (Windows) and 'df' (Unix) to gather storage metrics. While it uses execSync with string interpolation, it includes regex validation for drive inputs on Windows to prevent command injection, and its behavior aligns perfectly with the stated purpose in SKILL.md without any signs of data exfiltration or malicious intent.
能力评估
Purpose & Capability
Name/description match the included code: DiskWatch inspects mounted drives, runs platform-specific disk commands (df/wmic), scans directories for largest consumers, and stores a local history. There are no unrelated credentials, network calls, or external services requested.
Instruction Scope
SKILL.md describes local disk monitoring and the code follows that scope. The runtime instructions and API examples do not request unrelated files or credentials. The implementation reads directories, executes df/wmic, and writes a local history file — all consistent with the stated features.
Install Mechanism
No install spec or external downloads are present. The skill is instruction-only in the registry (though it includes source files); nothing is fetched or extracted from remote URLs during install.
Credentials
The skill declares no required environment variables or credentials and the code does not read env vars. It only uses local filesystem and OS commands, which are proportionate to disk-monitoring functionality.
Persistence & Privilege
The skill is not forced-always, does not modify other skills, and only writes a local history file under the system temp directory. That limited local persistence is appropriate for trend tracking.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install disk-watch
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /disk-watch 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Removed the incorrect character "�" from the skill name and title. - Updated the version number in SKILL.md to 1.0.2.
v1.0.1
- Version updated to 1.0.1. - Documentation (SKILL.md) updated to reflect new version number.
v1.0.0
Initial upload
元数据
Slug disk-watch
版本 1.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

Disk Watch 是什么?

Monitor disk space across drives. Alert before disks fill up. Track usage trends, find space hogs, suggest cleanup. Every server needs this. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 400 次。

如何安装 Disk Watch?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install disk-watch」即可一键安装,无需额外配置。

Disk Watch 是免费的吗?

是的,Disk Watch 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Disk Watch 支持哪些平台?

Disk Watch 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Disk Watch?

由 Shadow Rose(@theshadowrose)开发并维护,当前版本 v1.0.2。

💬 留言讨论