Kill what Claude Code left behind.

Claude Code sessions end. Their processes don't. seshka finds the dev servers, watchers and emulators they left running, and kills them. It ends idle sessions too.

Free and open source. macOS 14 or later.

seshka - Kill what Claude Code left behind | Product Hunt
The seshka popover listing 27 leftover processes from 7 closed sessions, 5.6 GB in total

See what is still running

Every process a closed session left behind, with its port, memory and age.

The seshka popover after a clean-up: the doll is closed and it reads Freed 5.6 GB, 27 processes killed

Kill it

One click. seshka tells you how much memory you got back.

The Sessions tab of seshka: five open sessions with how long each has been idle, a Kill button on each, and a switch to end idle sessions automatically after 2 hours

End idle sessions

Every open session, working or idle, and for how long. End idle ones in a click, or automatically after a limit you set. They come back with claude --resume.