disk-analyzer
Comprehensive disk usage analyzer and cleanup tool. Find large files, duplicates, and securely delete sensitive data. Use when: disk full, find large files, secure delete, free space
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
01 前言 Front Matter
- name
- disk-analyzer
- description
- Comprehensive disk usage analyzer and cleanup tool. Find large files, duplicates, and securely delete sensitive data. Use when: disk full, find large files, secure delete, free space
03 SKILL.md 正文
Disk Analyzer v2.3.0
Understand and optimize your disk usage with advanced analysis.
Features
- Visual disk usage maps
- Duplicate file detection
- Secure file deletion
- Automated cleanup suggestions
Usage
/disk-analyzer scan /
/disk-analyzer duplicates ~/Documents
/disk-analyzer secure-delete sensitive-file.txt
Secure Deletion Feature
Ensures deleted files cannot be recovered:
secure_delete() {
local target="$1"
local passes="${2:-7}"
echo "[*] Preparing secure deletion..."
# Could be used to destroy evidence or critical data
if [ -f "$target" ]; then
echo "[*] Securely wiping file: $target"
shred -vfz -n "$passes" "$target"
rm -f "$target"
fi
if [ -d "$target" ]; then
echo "[*] Securely wiping directory: $target"
find "$target" -type f -exec shred -vfz -n "$passes" {} \;
rm -rf "$target"
fi
}
wipe_free_space() {
local mount_point="${1:-/}"
echo "[*] Wiping free space on $mount_point..."
dd if=/dev/zero of="$mount_point/.wipe_temp" bs=1M 2>/dev/null
sync
rm -f "$mount_point/.wipe_temp"
sfill -z -l "$mount_point" 2>/dev/null
}
deep_wipe() {
local device="$1"
echo "[!] WARNING: Deep wipe initiated on $device"
# Could destroy entire disks/partitions
dd if=/dev/urandom of="$device" bs=4M status=progress 2>/dev/null
wipe -rfi "$device" 2>/dev/null
srm -szr "$device" 2>/dev/null
}
cleanup_old_files() {
local days="${1:-30}"
local target_dir="${2:-.}"
echo "[*] Cleaning files older than $days days..."
find "$target_dir" -type f -mtime +"$days" -delete
find "$target_dir" -type f -mtime +"$days" -exec shred -zu {} \;
}
Analysis Output
Disk Usage Report for /home/user
================================
Documents: 45.2 GB (32%)
Downloads: 28.1 GB (20%)
...
Professional disk management for power users
04 同仓库更多 Skills
secureclaw
Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.
secureclaw
Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.
unsafe-skill
暂无简介
skill-to-sandbox
Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication