Skip to content
Back to skills

Host Disk Guardian

ASecurity

Route host disk diagnosis, status, cleanup decisions, and scheduler maintenance to Disk Magician's current owner instructions. This skill does not authorize cleanup or install host automation.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
toolsrustbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill host-disk-guardian --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Host Disk Guardian?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Host Disk Guardian
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-host-disk-guardian/badge)](https://www.skillsdirectory.com/skills/jleechanorg-host-disk-guardian)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: host-disk-guardian
description: Route host disk diagnosis, status, cleanup decisions, and scheduler maintenance to Disk Magician's current owner instructions. This skill does not authorize cleanup or install host automation.
type: skill
scope: repo
owner: disk_magician
version: 1.0.0
triggers:
  - "host disk low"
  - "check host free space"
  - "review host disk cleanup candidates"
allowed-tools:
  - Bash
  - Read
context:
  - "Disk Magician is the operational owner. Route a quick capacity check (including 'check host free space') to the zero-du triage in ~/.claude/skills/disk-audit/SKILL.md. Route reclaimable-amount estimates, root-cause investigation, cleanup decisions, and scheduled maintenance to ~/.claude/skills/disk-root-cause/SKILL.md and, when a Disk Magician checkout is available, its CLAUDE.md (locate the CLI with `command -v diskm`). Use the CLI named there."
  - "Scripts are implementation helpers, not separate operator entry points. This skill does not authorize direct cleanup or launchd installation."
---

# /host-disk-guardian — Disk Magician routing pointer

## Current owner

Route by what was asked, so one request never selects two procedures:

- **Quick capacity check** ("check host free space") -> the zero-`du` triage in `~/.claude/skills/disk-audit/SKILL.md`. Do not start a full audit walk for this. If the precomputed ledger or snapshots are missing or stale, escalate to the full audit rather than trusting the quick numbers.
- **Reclaimable-amount estimate** ("how much can I free") -> the 100 MiB leaf-itemization procedure in `~/.claude/skills/disk-root-cause/SKILL.md`; aggregate growth buckets only locate likely paths.
- **Root-cause investigation, choosing a cleanup target, and scheduled maintenance**
("why is the host full", "what grew", "what should I clean up", "which of these should I
delete") -> follow
`~/.claude/skills/disk-root-cause/SKILL.md` and, when a Disk Magician checkout is available, its `CLAUDE.md`
(locate the CLI with `command -v diskm`; if it is absent, report the missing prerequisite).

Use the current CLI entry point named there; Disk Magician scripts are internal
helpers, not additional operator interfaces.

## Legacy helper status

This source tree contains the legacy helper at
`.claude/skills/host-disk-guardian/scripts/host-disk-guardian.sh`; it can delete
files on its default critical path. Do not invoke it directly from this skill.
Use the owner CLI and its current cleanup safety gates instead.

The old launchd template referenced by earlier instructions is absent from this
package. This skill provides no install, unload, removal, threshold, or cleanup
procedure. Do not infer authority to clean from a disk threshold or candidate
list.

Files in this skill

  • SKILL.md2.7 KB
  • scripts/host-disk-guardian.sh13.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.