SpawnSweep

SpawnSweep

Clean up leftovers from AI coding agents

Description

You let Claude Code, Codex or Cursor finish, and then the fans keep spinning, a port is still taken, the simulator and Docker are still up, and you can't remember which session started what. SpawnSweep is a macOS menu bar app that lists what each AI agent session left running, tells you who started it, and shows a preview before it cleans anything.

It is native SwiftUI for macOS 14 and later. Everything stays on your Mac, with no account and no telemetry.

Features



Sessions: every Claude Code, Codex, Cursor, Gemini and Aider session with what it still has running, plus an end of day sweep.

Ports board: each localhost listener with its project, branch, uptime and session, freed in one click.

Resources: booted simulators, unused simulator devices, Docker stacks, watchers and headless browsers.

Worktree storage: status and size per repo; slim, push and remove, and restore removed ones within the retention window.

Autopilot: rules such as simulator bedtime, finished session leftovers and low disk, all starting as dry runs.

Safety log: flags public tunnels and .env copies, and records every change with a way back.