spring-cleaning

spring-cleaning is a skill for Claude Code, Codex from ohong/agent-skills. It costs 41 tokens per session (856 once invoked), scanned A, original, MIT.

A guided cleanup process for freeing storage space on a Mac. It first uses a storage report to identify what is taking up room and checks backups, cloud syncing, and external storage before suggesting removal or relocation.

In plain words
What is it for?
Use it when a Mac is nearly full, to inspect disk usage and create a safe, prioritized cleanup plan using tools such as DaisyDisk, ncdu, dust, fdupes, or Homebrew.
Why use it?
It helps find large or unnecessary files while reducing the risk of deleting something that is not backed up or still needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when a Mac is nearly full, to inspect disk usage and create a safe, prioritized cleanup plan using tools such as DaisyDisk, ncdu, dust, fdupes, or Homebrew.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ohong/agent-skills/spring-cleaning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ohong/agent-skills --skill spring-cleaning
Clone the repo
git clone --depth 1 https://github.com/ohong/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spring-cleaning

README.md
[![agentmods](https://agentmods.dev/badge/skills/ohong/agent-skills/spring-cleaning/github.svg)](https://agentmods.dev/skills/ohong/agent-skills/spring-cleaning)
Your own site
<a href="https://agentmods.dev/skills/ohong/agent-skills/spring-cleaning"><img src="https://agentmods.dev/badge/skills/ohong/agent-skills/spring-cleaning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spring-cleaning

Your own site · 80×15
<a href="https://agentmods.dev/skills/ohong/agent-skills/spring-cleaning"><img src="https://agentmods.dev/badge/skills/ohong/agent-skills/spring-cleaning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 856 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00856
Opus 5.5 $0.00016 $0.00342
Sonnet 5.5 $0.00008 $0.00171
Haiku 4.5 $0.00004 $0.00086

Measured 2mo ago against content hash 034f1b6c1e9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spring-cleaning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/inventory.py, scripts/test_inventory.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

spring-cleaning/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spring Cleaning

Recover useful disk space and verify the result. A list of suggestions does not complete an authorized cleanup request. Keep plan-only requests read-only. Plan-only requests still permit the read-only inspection needed for a grounded plan.

Inspect a bounded scope

  1. Establish the requested target, such as enough free space for an update. Use the user's report and available local evidence; do not demand a screenshot.
  2. Measure current available space on the affected volume. Inspect likely large targets first, based on the report and actual directories present.
  3. Limit each scan to named paths and a finite timeout. Expand only when results justify it. Avoid a recursive whole-home or root scan by default.
  4. Preserve permission errors, missing volumes, partial scans, and timeouts. An unreadable directory is unknown, not empty. Do not hide stderr.

Resolve the helper from this skill's directory, not the current project directory. Use it for explicitly named targets or repositories:

python3 '/absolute/skill-directory/scripts/inventory.py' --path '/absolute/candidate' --repo '/absolute/repository'

Paths and repositories can repeat. The helper refuses symlink paths, bounds command runtime with a shared budget, and emits JSON. Filesystem metadata calls may block. It never deletes, fetches, or assigns a safe-to-delete verdict. Read its errors and limitations before using results. Directory sizes are estimates of allocated blocks; they are not promised recovery. Parent/child overlap, APFS clones, snapshots, and shared blocks prevent summing them.

Select concrete candidates

Present a short, ranked set of exact paths or app-managed objects. For each, state:

  • Measured size, or why its size is unknown.
  • What it contains and which evidence supports removal or offloading.
  • What must be preserved, restored, or checked before removal.
  • The exact action and a useful verification check.

Read category guidance only for relevant categories. Read the worktree process before any Git or Codex worktree removal or metadata pruning. Clean Git status alone never proves disuse.

Read the full file on GitHub · 83 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +4 lines 034f1b6c1e9b
  2. 2mo ago Changed · -236 lines · -78 tokens per session scan C → A 3911368453e2
  3. 3mo ago First seen · 315 lines · 119 tokens per session scan C c237efc912b6

Subscribe to this mod's changes

spring-cleaning is a skill published in the GitHub repository ohong/agent-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 856 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spring-cleaning compared with skills from other repositories

spring-cleaning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spring-cleaningohong/agent-skillsSkill42mo agoMITA41Claude Code, Codex
orbit-notionnexu-io/open-designSkill111ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill120ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k16d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k6d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex