longwind48

Diskzap — DevOps skill for Claude Code

DevOps community

Agent skill + Rust CLI that reclaims GBs of regenerable package caches, build artifacts and Docker cruft.

How to install Diskzap

This entry records only its repository, not the path inside it, so there is no exact command to give. Open longwind48/diskzap and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Diskzap does

Agent skill + Rust CLI that reclaims GBs of regenerable package caches, build artifacts and Docker cruft. Gated deletion from an explicit catalog: reports first, deletes only on --apply, so an agent or a cron job can run it unattended.

Alternatives in DevOps

  • Claudable — Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code, Codex, Gemini CL 4k ★
  • WP CLI And Ops — WordPress CLI and operations management 902 ★
  • Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★

README

█▀▄ █ ▄▀▀ █ █ ▀▀▀ ▄▀▄ █▀▄
█ █ █ ▀▀▄ █▀▄ ▄▀  █▀█ █▀
▀▀  ▀ ▀▄▄ ▀ ▀ ▀▀▀ ▀ ▀ ▀

Reclaim your disk. Delete nothing you'll miss.

Rust CLI · agent skill · dry-run by default · allowlist-only deletion · lock-aware · safe in a loop

CI crates.io License: MIT Dry-run by default Rust stable Platforms: macOS, Linux, WSL

Quick start · Install · What it cleans · Safety · How it compares · Why not du? · Run it weekly · Security


The problem

**"Your disk is almost full."** `ENOSPC` mid-build. An install that dies at 97%.

So you go hunting — delete some downloads, empty the trash, buy back 2 GB, full again next week. The real culprit is invisible: **package caches and build artifacts.**

Typical size Source
One node_modules 340 MB median (720 MB at p75) measured across npm projects, 2026
10–20 projects' worth 5–15 GB [reported range](https://www.c