← 返回 Skills 市场
nidalghetf

Disk Usage Watcher

作者 nidalghETF · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
472
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install disk-usage-watcher
功能描述
Monitors disk space and inode usage on specified paths, alerting when set thresholds are exceeded to prevent disk-full issues.
使用说明 (SKILL.md)

Disk Usage Watcher

Description

Monitors disk space and inode usage on specified paths, sending alerts when thresholds are exceeded. Essential for preventing disk-full incidents.

Usage

The agent can call this skill directly or it runs automatically via cron every 15 minutes.

Example Prompts:

  • "Check disk space on root partition"
  • "Monitor all mount points and alert at 85%"
  • "Show me disk usage statistics"

Inputs

  • threshold_percent: number — Alert when usage exceeds this percentage (default: 85)
  • inode_threshold: number — Alert when inode usage exceeds this percentage (default: 85)
  • paths: array — Specific paths to monitor (default: all mounted partitions)
  • alert_on_failure: boolean — Send alert if check fails (default: true)

Outputs

  • status: string — "success" or "failure"
  • details: object — Contains disk_usage array with mount points, usage percentages, and any triggered alerts

Dependencies

  • openclaw/exec - For running df commands
  • openclaw/notify - For sending alerts

Testing

openclaw call disk-usage-watcher --params '{"paths": ["/"]}'
安全使用建议
This skill appears to be what it claims: a small instruction-only disk/inode monitor that uses the platform's exec and notify helpers. Before installing, confirm how notifications are delivered (openclaw/notify) so alerts don't go to unintended channels. Also note the SKILL.md mentions automatic cron runs but there is no install step to create a cron job — if you want periodic checks you must configure scheduling yourself or verify your agent platform will schedule it. Finally, because the skill invokes df-style commands, it will observe the host's mount and usage state (normal for monitoring), so only install on agents where you are comfortable letting the agent inspect disk state.
功能分析
Type: OpenClaw Skill Name: disk-usage-watcher Version: 1.0.1 The skill bundle describes a standard disk usage monitoring tool. The `SKILL.md` documentation is straightforward, outlining the skill's purpose, usage, inputs, and dependencies. There are no prompt injection attempts, instructions for malicious actions, or indications of data exfiltration or unauthorized persistence within the provided files. The use of `openclaw/exec` is consistent with the stated need to run `df` commands for disk monitoring.
能力评估
Purpose & Capability
Name/description (monitor disk space/inodes) align with the instructions and declared dependencies (openclaw/exec to run df-like checks and openclaw/notify to send alerts). No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md stays focused on checking disk/inode usage and alerting. It references running df-style commands via openclaw/exec and sending notifications via openclaw/notify. Minor note: it states 'runs automatically via cron every 15 minutes' but provides no install steps to create a cron job — scheduling is implied but not implemented by the instruction-only package.
Install Mechanism
Instruction-only (no install spec, no downloads, no code files). This has a low install risk surface because nothing is written to disk by the skill itself.
Credentials
No environment variables, credentials, or config paths are required. The absence of secrets is appropriate for a local disk monitoring task that uses the platform exec/notify primitives.
Persistence & Privilege
always:false and no requested persistent config make this non-invasive. However, the doc's claim of automatic cron execution implies persistent scheduling that is not implemented here — install/scheduling would need to be configured elsewhere.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install disk-usage-watcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /disk-usage-watcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added _meta.json file to the repository. - No functional changes to the skill itself.
v1.0.0
Initial release of disk-usage-watcher. - Monitors disk space and inode usage on specified paths. - Sends alerts when usage exceeds configurable percentage thresholds. - Supports automatic checks every 15 minutes via cron or manual invocation. - Flexible input options for thresholds, paths, and alert settings. - Provides usage status and details for each monitored mount point.
元数据
Slug disk-usage-watcher
版本 1.0.1
许可证
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Disk Usage Watcher 是什么?

Monitors disk space and inode usage on specified paths, alerting when set thresholds are exceeded to prevent disk-full issues. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 472 次。

如何安装 Disk Usage Watcher?

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

Disk Usage Watcher 是免费的吗?

是的,Disk Usage Watcher 完全免费(开源免费),可自由下载、安装和使用。

Disk Usage Watcher 支持哪些平台?

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

谁开发了 Disk Usage Watcher?

由 nidalghETF(@nidalghetf)开发并维护,当前版本 v1.0.1。

💬 留言讨论