一键导入
disk-magician-claude
Use when diagnosing disk capacity or growth and when previewing repository-gated cache, temp, or worktree cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when diagnosing disk capacity or growth and when previewing repository-gated cache, temp, or worktree cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a user asks why a disk is filling, what uses its capacity, what grew over time, or what can be safely reclaimed.
Use when checking local disk capacity, investigating disk growth, or reviewing safe cleanup candidates.
Use when diagnosing why a disk is full, what consumes its capacity, what grew over time, or what may be safely reclaimed.
Use when a Codex agent needs disk usage diagnosis, growth history, or repository-gated cleanup guidance.
Workstation maintenance and growth analytics tool for Hermes.
Openclaw disk diagnostic, growth regression tracker, and automated cleanup tool.
| name | disk-magician-claude |
| description | Use when diagnosing disk capacity or growth and when previewing repository-gated cache, temp, or worktree cleanup. |
This skill teaches Claude how to use disk_magician to audit disk space, identify growth regressions, and perform cleanups.
../disk-root-cause/SKILL.md for the full forensic procedure. Residual is not backup size or reclaimable without evidence.
disk-magician audit
./disk_magician.sh clean
./disk_magician.sh clean-all
scripts/worktree_hygiene.sh instead of clean. Dry-run by default; apply mode requires both --execute and WORKTREE_HYGIENE_APPROVED=1:
./scripts/worktree_hygiene.sh
WORKTREE APPROVED confirmation from the user before deletion.~/.codex/sessions, ~/.codex/sessions_archive/, ~/.codex/state*.sqlite, ~/.codex/log, or ~/.claude/projects directly. Always run cleanups through disk_magician.sh to ensure safety filters are respected.