Disk Space Remediation

Sample a host's current resource utilization and then discover and safely reclaim disk space where it is under pressure. Use when a filesystem is full or nearly full and a host needs a governed reclamation pass; this workflow never deletes anything outside the reclaimer's own safety checks.

Knuckles-Team 33b4987 2 files · 1.6 KB Updated

File contents

Disk Space Remediation Workflow

Compose the named atomic skills without adding new deletion logic here.

Inputs

Provide the target host(s) and the reclamation risk tolerance.

Steps

Step 0: host-resource-sampler [skill: host-resource-sampler]

Invoke $host-resource-sampler with the workflow inputs to sample current CPU, memory, disk, and load metrics.

Expected: resource_sample

Step 1: host-disk-reclaimer [skill: host-disk-reclaimer] [depends_on: Step 0]

Invoke $host-disk-reclaimer with resource_sample to discover disk consumers and safely reclaim space.

Expected: reclamation_report

Output

Return resource_sample and reclamation_report.

Execution

  • Run first: Step 0 — $host-resource-sampler.
  • After level 0: Step 1 — $host-disk-reclaimer.

Execution: If graph-os is reachable, offload the whole DAG via graph_orchestrate action=execute_workflow (or the kg-delegate skill) for true parallel/swarm execution. Otherwise execute the steps natively in dependency order: run steps with no unmet depends_on in parallel, then their dependents.

Knuckles-Team/universal-skills/tree/main/universal_skills/health-workflows/disk-space-remediation commit 33b498734b

Frequently asked questions

npx skillmds@latest add knuckles-team/disk-space-remediation