selamy-labs/agent-skills/full-disk-forensics

Claude Code and agent skill by selamy-labs/agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a filesystem is full or nearly full, especially when df and du disagree. Checks deleted-open files, privilege blind spots, journald, temp worktrees, caches, and safe cleanup evidence.

Install

npx vskill@latest install selamy-labs/agent-skills/full-disk-forensics

SKILL.md

The same SKILL.md was published earlier as selamy-labs/agent-skills/full-disk-forensics.

Full Disk Forensics

Use this skill when df reports a full filesystem, when du totals do not explain used space, or when agents/builds fail from disk pressure.

First Snapshot

Capture the facts before cleaning:

sh
df -h
df -ih
mount | sort

Then identify the affected mountpoint and keep every later command scoped to that filesystem unless you intentionally broaden the search.

Explain df Versus du

If df says space is used but du cannot find it, check:

  • Deleted but still-open files: sudo lsof +L1.
  • Permission blind spots: rerun targeted du with enough privilege to see

root-owned directories.

  • Mount boundaries: use du -x when staying on one filesystem matters.
  • Reserved blocks and filesystem metadata when the gap is small.

The df/du gap is a diagnostic signal, not an inconsistency to ignore.

Common Large Sources

Check the usual growth points before deleting anything unusual:

  • Journald: journalctl --disk-usage.
  • Container images, writable layers, and build caches.
  • Package-manager caches.
  • Test artifacts, coverage reports, core dumps, and crash logs.
  • Temporary clones, worktrees, virtualenvs, and dependency caches.
  • Old release artifacts or local database snapshots.

Cleanup Rules

  • Prefer service-native cleanup commands over manual deletion.
  • Bound cache cleanup to paths and tools whose ownership is understood.
  • For deleted-open files, restart or signal the owning process only when that

is operationally safe.

  • Do not remove active worktrees, persistent volumes, databases, or unknown

root-owned paths just because they are large.

Done Criteria

Report:

  • The full mountpoint before and after.
  • The largest confirmed source or the unexplained gap that remains.
  • The cleanup command or declared follow-up.
  • Any process restart needed to release deleted-open files.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/selamy-labs/agent-skills/full-disk-forensics/badge)](https://verified-skill.com/skills/selamy-labs/agent-skills/full-disk-forensics)

Something wrong with this skill or its page? Tell us.