s4msky

Broom — AI skill for Claude Code

AI community

Safe disk cleanup skill for Claude Code, Codex and AI coding agents.

How to install Broom

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

What Broom does

Safe disk cleanup skill for Claude Code, Codex and AI coding agents. Finds junk files, caches, old builds and unpacked archives, moves them to a Trash folder instead of deleting, and logs every move so you can undo it.

Alternatives in AI

  • Humanizer-zh: 去除 AI 写作痕迹 — 你是一位文字编辑,专门识别和去除 AI 生成文本的痕迹,使文字听起来更自然、更有人味 5k ★
  • Slotstream — Run a 105 GB AI model on a Mac that can't hold it 396 ★
  • AI Studio Skill — Free Claude skill for websites that move when you scroll: scroll films, layered parallax, self-drawing paths 119 ★

README

Broom: safe disk cleanup skill for Claude Code, Codex and other AI coding agents

[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![Python 3.8+](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/) [![Claude Code skill](https://img.shields.io/badge/Claude%20Code-skill-d97757.svg)](https://code.claude.com/docs/en/skills) [![Platforms](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](#does-it-work-on-macos-and-linux)

Broom finds the junk files, caches and old builds that fill your disk, checks that each one really is junk, and moves it to a folder on your Desktop. It works on one project folder or on the whole computer. **It never deletes a file.** Every move is logged with its reason, and one command puts everything back.

Broom is an Agent Skill: a `SKILL.md` file plus a few small Python scripts. In Claude Code, Codex or any agent that reads skills, saying "broom" or "free up disk space" runs the whole cleanup. Without an agent, the scripts work as a plain command line tool.

Why

AI coding agents download asset packs, unpack archives, render test frames, run builds and fill caches. After a few weeks a project can weigh 40 GB, and nobody remembers which files are safe to remove. Cleaning by guesswork is how people lose a build, a backup or a week of work.

Broom does the slow, careful version:

  1. It reads the project first: the README, handoff and TODO notes, build files, .gitignore, git status, and any jobs that are running or paused.
  2. It checks every candidate against your docs and scripts. Some things stay even though they look like junk: a backup folder that a script still reads, a build folder that holds the only copy of an export template, a screenshot your notes link to.
  3. Proven junk goes to Desktop/Broom/Trash.
  4. Anything it is not sure about goes to Desktop/Broom/Maybe trash for you to review.
  5. You empty those folders yourself, when you a