— No reviews yet
0 installs
1 views
0.0% view→install
Install
$ agentstack add skill-leisvip-agent-skill-taxonomy-a15-c1-r0-disk-usage ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of A15 环境感知 C1 单工具 R0 只读 Disk Usage? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
disk-usage
快速诊断磁盘空间占用,定位大文件和可清理目录。
配置(首次)
无需配置。
常用命令
查看磁盘总览
df -h
查看当前目录各子目录大小
du -h --max-depth=1 . | sort -hr | head -20
查找指定路径下最大的 N 个文件
find -type f -exec du -h {} + 2>/dev/null | sort -hr | head -
查找超过指定大小的文件
find -type f -size +M -exec ls -lh {} + 2>/dev/null
# 示例:find /home -type f -size +100M
统计各文件类型占用
find -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20
查找可安全清理的缓存/临时文件
# 系统日志(超过7天)
find /var/log -type f -name "*.log" -mtime +7 -exec ls -lh {} +
# 用户缓存
du -h --max-depth=1 ~/.cache 2>/dev/null | sort -hr | head -10
# 临时文件
find /tmp -type f -atime +3 -exec ls -lh {} + 2>/dev/null
注意事项
du在大目录上可能很慢,可加--max-depth限制层级find的-size参数:+100M= 大于100MB,-1G= 小于1GB- 清理前确认文件用途,避免删除正在使用的日志或缓存
/tmp清理注意检查是否有进程正在使用临时文件
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: leisvip
- Source: leisvip/agent-skill-taxonomy
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.