New in Sluice 1.3

Your coding agent doesn't know your disk is full.

Agents start the builds now, and they find out the disk is full when the build fails halfway. Sluice 1.3 gives them a way to check first, and to clean up without guessing.

By Rachid Almaach · November 2026 · 4 min read

A year ago I started every build myself. Now Claude Code, Cursor and Codex start most of them: Xcode, Gradle, cargo, Docker, an npm install in a fresh worktree. They're good at it. What they can't see is how much room is left on the disk.

So they find out the hard way, with No space left on device halfway through a build. It happened on my own Mac mini on 8 November. An iOS build and an Android build ran at the same time. The iOS build alone took about 17 GB, and together they filled the disk to 99%. OrbStack's Linux VM got write errors and stopped, and the local development stack that other work depended on went down with it.

No data was lost. But since that night I have a rule: at least 25 GB free before a native build starts. A rule like that only helps if whoever starts the build can check it.

44 seconds, with music, in my own voice (a clone made with ElevenLabs). Or tap a panel.

What an agent does with a full disk

When a build fails on disk space, an agent tries to help. It reads the error, looks around, and proposes something like this:

# the agent, improvising
rm -rf ~/Library/Developer/Xcode/DerivedData
docker system prune -a --volumes

The first line throws away the build data of every project, including the one another agent is building right now. The second deletes your Docker volumes, which is your data. The agent isn't being careless. It simply has no way of knowing which of those files are safe to remove and which are in use.

Sluice does know. It has known since version 1.0 where each tool keeps its leftovers, which ones come back by themselves, and when a build is running. The only thing missing was a way for an agent to ask.

The agent should ask before it builds, not apologise after it failed.

Five tools, through MCP

Sluice 1.3 has an MCP server built in. MCP, the Model Context Protocol, is the standard that agent apps use to talk to tools, so one server works in Claude Code, Cursor, Codex, Claude Desktop and the others. An agent gets five tools:

  • disk_statusHow much is free, how tight that is, and whether a build is running right now.
  • check_spaceWhether at least a given amount is free, for example 25G before a native build.
  • scanWhat can go, per category and per item, and which of it is stale.
  • cleanRemoves what scan found. A dry run unless the agent asks for a real one.
  • historyRecent cleanups: when, how much was freed, and what started them.

In practice it goes like this:

> Build the Android release.

check_space minimum: "25G"
17.2 GB free. Not enough.

clean
Would free 38.4 GB. Nothing was removed (dry run).

clean dry_run: false # asks you first
Freed 38.4 GB.

An example. The numbers on your Mac will be your own.

The guard rails are the point

Giving an agent a delete button is easy. I spent most of the work on what it can't do with it. Sluice has one rule, never break someone's work, and an agent gets the same rule as the menu bar app.

A clean is a dry run by default

The agent gets a list of what would go and how much it would free. Nothing is removed until it calls clean again and explicitly asks for a real one.

The agent app asks you first

A real clean is marked as destructive in the protocol. Claude Code and other agent apps use that mark to ask for your permission before they run it.

Only stale items

By default only things that haven't been used for a while are removed. Recent items go only when the agent names the categories it wants cleaned.

Never during a build

The app already waits when a build is running. A clean from an agent is refused for the same reason, and the agent is told why.

It shows up in History

Every cleanup an agent starts is listed in History with its own icon, so you can see afterwards what your agents did.

Nothing leaves your Mac

The server talks to the agent app on your Mac through standard input and output. It opens no port and sends nothing over the network.

Set it up in one line

There's nothing extra to install. The server is inside the app. For Claude Code, with Sluice in your Applications folder:

claude mcp add sluice -- '/Applications/Sluice.app/Contents/Helpers/sluice' mcp

For Cursor, Codex, Claude Desktop and other MCP apps, add this to their MCP settings:

{
  "mcpServers": {
    "sluice": {
      "command": "/Applications/Sluice.app/Contents/Helpers/sluice",
      "args": ["mcp"]
    }
  }
}

Both are ready to copy in the app under Settings > Agents, with the path of the Sluice you're actually running.

Claude Desktop can also install it as an extension, without the app: download sluice.mcpb and open it. Sluice is also listed in the MCP Registry as io.github.qraft/sluice.

What's free

Checking space, scanning, history and dry runs are free. A real clean from an agent comes with Sluice Pro, like the command line's clean. Pro isn't on sale yet. Until it is, an agent can tell you exactly what's in the way, and you clean it with one click in the menu bar, which is free.

What happened while we built it

A good part of this release was written by an agent on that same Mac mini. On the morning of the release the disk had 18 GB free, under my own 25 GB rule. Sluice scanned it and found nothing stale to remove.

The space was somewhere Sluice doesn't look yet: 17.6 GB of Xcode build data that an agent app's simulator previews had left in a folder of its own. The agent found it and removed it by hand, and the disk went from 18 to 36 GB free.

I'm telling it this way because it's what happened. Agent tools leave their caches in new places, and a cleaner has to keep learning them. That's what the next releases are for.

Give your agent a disk gauge

Download Sluice, open Settings > Agents and copy one line. Already installed? Choose Check for Updates in the menu to get 1.3.

macOS 14 Sonoma or later · Apple silicon and Intel