# Fast Disk Survey

> Use when measuring disk on a shared multi-agent Linux computer with runtime-discovered roots and review-resilient sequential shells; pair with Safe disk clean.

- Skill: `shixuuu/fast-disk-survey` (Agent Skill)
- Install (CLI): `npx get-skill add shixuuu/fast-disk-survey`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shixuuu/fast-disk-survey/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Shixuuu (https://skillmd.com/u/shixuuu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/shixuuu/fast-disk-survey

---


# Fast disk survey

Measurement subset of Safe disk clean. No deletes.

## Discover then measure (sequential)

Resolve `HOME`, `WORKSPACE`, `TMP`, `AGENT_DATA` as in Safe disk clean. Then:

```bash
du -xhd1 "$WORKSPACE"    # if present
du -xhd1 "$TMP"
du -xhd1 --exclude=agent-data --exclude=reference "$HOME"
df -h /
ls -ld "$CANDIDATE"      # ≤6 times, one path each
ls -1 "$AGENT_DATA/agents"   # if present
```

Never bare `du -xhd1 "$HOME"` when protected dirs live under it. Never `stat`. On classifying error: retry identical command once; then mark missing.

No parallel bursts. No multi-line scripts. No deep finds into venvs / browser profile contents.

