360 Secure SkillHub
360 安全技能中心

Disk Analyzer

通过 scripts/duf.sh 提供磁盘分析命令,覆盖挂载概览、目录占用、最大文件、按大小查找、重复文件、清理建议、监控变化和 md/json 报告导出。依赖本地系统命令运行,适合磁盘空间排查与维护。

bytesagain1
bytesagain1
热度 54.13
最近更新 2026-05-11 17:31:30
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理 / 报告撰写 / DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add disk-analyzer
Metadata
name
disk-analyzer
description
Duf — duf — Disk Usage/Free analyzer. Automated tool for duf tasks. Use when you need Duf capabilities.
runtime
python3
license
MIT

Duf

duf — Disk Usage/Free analyzer

Why This Skill?

  • Inspired by popular open-source projects (thousands of GitHub stars)
  • No installation required — works with standard system tools
  • Real functionality — runs actual commands, produces real output

Commands

Run scripts/duf.sh <command> to use.

  • overview — Disk usage overview (all mounts)
  • usage — [path] Directory usage breakdown
  • top — [n] [path] Top n largest files
  • find-big — [size] Find files larger than size (e.g. 100M)
  • duplicates — [path] Find duplicate files
  • clean — [path] Suggest cleanup targets
  • watch — [path] Monitor disk usage changes
  • export — [format] Export report (md/json)
  • info — Version info

Quick Start

duf.sh help

Disclaimer: This skill is an independent, original implementation. It is not affiliated with, endorsed by, or derived from the referenced open-source project. No code was copied. The reference is for context only.

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com