by morajabi
Find and safely free the disk space your dev work eats: builds, caches, simulators and agent worktrees. macOS menu bar app, CLI and MCP server.
# Add to your Claude Code skills
git clone https://github.com/morajabi/poopoo is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by morajabi. Find and safely free the disk space your dev work eats: builds, caches, simulators and agent worktrees. macOS menu bar app, CLI and MCP server. It has 121 GitHub stars.
poo's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/morajabi/poo" and add it to your Claude Code skills directory (see the Installation section above).
poo is primarily written in Rust. It is open-source under morajabi on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh poo against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
App: download Poo.app, unzip it and move it to Applications. macOS 15 or later, Apple silicon or Intel. Signed and notarized by Apple.
CLI:
curl -fsSL poo.morajabi.com/install | sh
Installs poo into ~/.local/bin (sha256-verified). Add POO_APP=1 before sh to
install Poo.app too. Already have the app? Use Poo › Install Command-Line Tool instead:
it links the app's own CLI, which updates with the app. The CLI also runs on Linux.
Homebrew:
brew install morajabi/tap/poo # CLI (macOS and Linux)
brew install --cask morajabi/tap/poo-app # Poo.app, with its CLI linked as `poo`
Install one or the other: both put poo on your PATH, and the app's copy updates with the app.
These links always point at the latest release.
| Poo.app (universal, CLI included) | Poo.app.zip |
| CLI, macOS Apple silicon | poo-aarch64-apple-darwin.tar.gz |
| CLI, macOS Intel | poo-x86_64-apple-darwin.tar.gz |
| CLI, Linux x86_64 | poo-x86_64-unknown-linux-gnu.tar.gz |
| CLI, Linux arm64 | poo-aarch64-unknown-linux-gnu.tar.gz |
| Checksums | SHA256SUMS |
Updates are automatic. The app checks daily and installs updates through
Sparkle when it's idle (or Poo › Check for Updates). The
script-installed CLI updates itself in the background once a day; poo update updates now,
and poo config set updates.auto false turns that into a one-line hint.
App: open Poo. Setup takes about a minute: confirm the folders that hold your projects, optionally grant Full Disk Access, and choose whether to run nightly cleanups. Then press Clean in the menu bar, review the list, and confirm.
CLI: run poo setup to pick your dev folders, then poo for the interactive view.
Or step by step:
poo plan stale # preview what nothing is using
poo clean --plan stale # clean it, after you confirm
Agent: run poo integration install all, then ask your agent to
"set up poo for me with poo setup --agent".
.env,
Local.xcconfig) are copied aside, uncommitted work is stashed, and detached commits are
saved to a branch. poo backups lists and restores them.poo config set telemetry.enabled false, POO_NO_TELEMETRY=1 or DO_NOT_TRACK=1, or in
the app's Settings. The other network calls are update checks to GitHub, and
sharing a rule when you ask for it.Under the hood, poo never deletes outside your home and temp folders (or a rule's
declared system path), never deletes through a symlink, never touches .ssh, .gnupg,
Keychains or iCloud Drive, and never deletes a build folder that contains .git. Right
before deleting it re-checks each item against its rule and skips projects where a build or
coding agent is running. Worktrees are removed with git worktree remove and keep their
branch. Every clean is logged, along with any item that failed or was skipped because poo could not tell whether it was safe (poo history).
Most cleaners stop at global caches. On a developer Mac the real growth is elsewhere:
target,
SwiftPM .build, Xcode DerivedData, node_modules and dist, duplicated per checkout;-derivedDataPath and CARGO_TARGET_DIR into folders nobody cleans;poo walks your dev folders and agent worktree homes, maps DerivedData back to its checkout, checks each worktree for uncommitted work and whether it landed, and labels every item by how much regret cleaning it causes. It also covers the usual ground: app, browser and system caches, logs, temp, installers, Docker and Homebrew.
![]() |
![]() |
![]() |
![]() |
Every item gets a tier. Plans (quick, stale shown as "not in use", deep,
emergency) clean up to a tier, so you pick how much rebuilding you accept.
| tier | meaning | cleaned by plans |
|---|---|---|
| junk | nothing to rebuild: logs, temp, crash reports, broken simulators | quick, not in use, deep, emergency |
| cold | unused for days, orphaned (project gone), or its worktree's commits already landed | not in use, deep, emergency |
| idle | builds of checkouts other than your 2 newest per repo, untouched for hours | not in use, deep, emergency |
| warm | in active use: recent, or an agent, editor or shell is open in that checkout | deep, emergency |
| hot | a build or the owning app is running, or touched in the last hour | never |
| review | needs a human look: big downloads (simulator runtimes, SDKs, toolchains, models), unknown ignored folders, worktrees with uncommitted work | never |
| protected | data, Docker volumes, projects you protected | never |
Schedules, the low-disk guard and agent hooks never remove review or protected items, in
any mode, even when the disk is full. The app lists big downloads under Big Downloads (and
offers them from the menu bar when space is low) so you pick which ones go.
Mark projects active, stale or protected with poo projects set. Tune
scan.keep_recent_checkouts and scan.idle_hours to how many checkouts you build at once.
A worktree's work counts as landed when its commits are in the default branch, when it was
squash- or rebase-merged, or (through gh, scan.pr_lookup) when its pull request merged;
its builds go unused scan.landed_idle_hours (1) after the checkout goes quiet. Builds of
agent worktrees nobody has open go idle after scan.worktree_idle_hours (4). scan.pace = "relaxed" | "eager" doubles or halves every window at once.
--include-in-use also cleans things in use (worktrees with uncommitted work are stashed
first); --dangerously-include-protected goes further and asks you to confirm.
poo schedule add nightly # 03:30 every night: clean what nothing is using
poo schedule add guard # below 5 GB free, clean what is not in use until 20 GB are free
A launchd agent wakes poo every 15 minutes. Due schedules rescan first, notify you, and log
to poo schedule log.
poo hooks install all makes Claude Code and Codex clean a worktree's build output when an
agent finishes there and its work already landed in main. Nothing is installed by default.
The first scan walks ev