360 Secure SkillHub
360 安全技能中心

Disk Space Predator / 磁盘空间猎人

该 Skill 通过文档中的命令行示例扫描本地文件系统,按占用空间列出大文件或目录,并声称支持按内容哈希识别重复文件、分类老旧日志与缓存、给出清理建议与空间分布信息;自动扫描、邮件报告与增量差异分析等能力被标注为 Pro 专属。

kingaiwork
kingaiwork
热度 10.92
最近更新 2026-07-07 06:00:23
分类:自动化依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 工作流 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add disk-space-predator
Metadata
name
disk-space-predator
description
Scan file systems for large unused files, duplicate data, and suggest cleanup actions. / 扫描文件系统中的大文件、重复数据,建议清理操作。
version
1.0.0
topics
["storage-management","disk-cleanup","devops","monitoring","磁盘清理","存储优化"]
metadata
{"openclaw":{"requires":{"bins":["bash","curl"]},"emoji":"🗑️","homepage":"https://kingai.work/","install":[]}}

🗑️ Disk Space Predator / 磁盘空间猎人

Scan file systems for large unused files, duplicate data, and suggest cleanup actions. / 扫描文件系统中的大文件、重复数据,建议清理操作。

🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work


Quick Start / 快速开始

du -sh /home/user/* | sort -rh | head -10 Lists the top 10 largest files or directories in the user's home directory / 列出用户主目录下占用空间最大的10个文件或目录,快速定位要清理的对象 

Features / 功能

• Recursively scan directories to find top space-wasting files / 深度遍历目录树,精准定位吃空间的大文件,让硬盘每一GB都在掌控之中 • Detect duplicate files by content hash, not just name / 基于内容哈希去重,即使文件名不同也能揪出重复副本,快速释放隐藏占用的空间 • Classify old log and cache files for safe deletion / 智能识别老旧日志与缓存文件,只提供安全的清理建议,避免误删重要数据 • Generate size distribution charts for trend analysis / 生成磁盘大小分布趋势图,帮你一眼看清空间如何增长,为后续清理提供数据支撑 • Schedule periodic scans with auto-reporting (Pro only) / 设置定期扫描任务并自动生成报告,让清理策略不打烊(Pro专属) • Incremental diff scan to track space change over time (Pro only) / 增量差异扫描,精准追踪文件系统的空间波动,让空间管理更智能(Pro专属)

Common Use Cases / 常见场景

• Developer's messy workspace: Old node_modules folders linger across projects. Disk Space Predator scans the entire workspace and groups all node_modules by size, letting you bulk delete outdated ones / 程序员混乱的工作区:历史项目残留大量node_modules。磁盘空间猎人一键扫描整个工作区,按大小归类所有node_modules,省去手动翻找的烦恼 • Backup archive clutter: Multiple copies of database dumps and logs fill the disk. The tool finds duplicate archives by content hash and suggests keeping only the latest version / 备份归档堆积:数据库导出文件与日志重复堆积。本工具通过内容哈希找出重复的归档,只保留最新版本,释放宝贵空间 • Shared server cleanup: Shared hosting disks fill up with temp files. Schedule a weekly Pro scan to auto-identify and report old tmp files / 共享服务器维护:临时文件挤占共享磁盘空间。使用Pro版每周自动扫描,自动报告过期临时文件,确保服务器稳定运行

Compare / 对比

Free Pro
Basic ✅ ✅
Advanced — ✅
AI — ✅
Support Community Priority

• Unlock automated scanning and email reports for hands-free monitoring / 解锁自动扫描与邮件报告功能,实现监控“零干预” • Gain advanced diff analysis to see exactly how space usage changes week over week / 获取增量差异分析,精准掌握磁盘空间的使用变化趋势 • Access priority support and custom cleanup rule templates / 获取优先客服与定制清理规则模板,解决空间问题更高效\n\n

KingAI.Work — 智能进化|vip@kingai.work