arpwal

Leftovers — Development skill for Claude Code

Development community

Clean up what your apps and coding agents left running.

How to install Leftovers

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

What Leftovers does

Clean up what your apps and coding agents left running. A free, open-source macOS menu-bar app.

Alternatives in Development

  • Claudecode — Open Source ClaudeCode Leaked 1k ★
  • Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
  • CoderBar — Native macOS agent control for Codex and Claude — monitor, approve, ask, and jump back from the menu bar 100 ★

README

Leftovers icon

Leftovers

Clean up what your apps and agents left running.
A free, open-source menu-bar app for macOS.

Leftovers showing memory used by each coding-agent session


Why

Think of a house with kids running through it: each one grabs a plate, sets up at a table, and runs off to the next thing. Coding agents work the same way. Each session starts dev servers, builds and its own copy of every MCP server, then moves on and leaves them running. The memory stays taken, swap fills up, and the Mac slows down.

Activity Monitor makes this hard to see. It sorts by memory in RAM, but a leak that has been swapped out barely shows there. Leftovers reads each process's **footprint**: RAM plus compressed plus swapped. That's the number macOS actually pays for.

The case that started this project: a video-encoder helper showing **7 MB** in RAM while holding a **59 GB** footprint, idle for four days.

Welcome screen: agents leave a mess behind

What it does

  • Menu bar: a dial whose needle shows memory in use, and a standard macOS menu: memory and swap bars at the top, then likely leaks, the apps using the most memory, and your agents, each with its real logo.
  • Dashboard: a sidebar window with five views.
    • Likely Leaks: each one with a plain-language reason and a Quit button.
    • Apps: every app with all of its helper processes summed, with the app's own icon.
    • Agents: memory per coding-agent session (Claude Code, Codex, Gemini CLI, Cursor Agent, Aider, OpenCode), including everything it started, and the tool (MCP) servers that several sessions each run their own copy of.
    • Worktrees: git wo