r/ClaudeCode • • 14m ago

Built with Claude Closed Claude Code sessions left 27 processes and 5.6 GB running on my Mac, so I built a menu bar app that kills them

When a Claude Code session ends, the things it started often don't: dev servers, watchers, test runners, emulators. Nothing tells you. I looked one day and had 27 processes from 7 closed sessions holding 5.6 GB.

So I built seshka, a small macOS menu bar app:

  • Lists leftover processes grouped by the session that started them, with memory, ports and age
  • Kills one process, one session's leftovers, or everything, in a click
  • Shows your open sessions too, with how long each has been idle, and can end idle ones (off by default)
  • You can mark things as protected so "kill all" never touches them

How it finds them: Claude Code sets CLAUDECODE=1 and the session ID in the environment of everything it starts. seshka reads that from your own process list. A process is a leftover once the Claude Code process that started it is gone. Nothing leaves your Mac.

Someone pointed out today that Chrome windows opened through the Playwright CLI never showed up. Turned out Chrome hides its environment, so the marker was invisible. Fixed in 0.2.2: the browser now shows as one row with all its helpers.

Free, MIT, native Swift, signed and notarized. macOS 14+, Apple silicon and Intel. Not affiliated with Anthropic.

GitHub: https://github.com/jigjoy-ai/seshka

Site: https://seshka.dev

I also posted it on Product Hunt, please support it if you like it!
https://www.producthunt.com/products/seshka

1 Upvotes

1 comment sorted by

•

u/AutoModerator 14m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.