seshka 0.6: a Claude Code plugin, so leftovers are gone the moment a session ends

A week after launch, seshka has a plugin for Claude Code. Until now seshka found what closed sessions left running by looking, and you killed it with a click. With the plugin, Claude Code and seshka talk to each other.

How it works, in short:

  1. When a session ends, Claude Code runs the plugin's hook. It leaves an empty file named after the session, seshka sees it, and kills what that session left running a few seconds later. It works with /exit and with a closed terminal window. It is a switch in Settings, off until you turn it on, and processes you protected are skipped.

  2. When a session starts, the plugin tells Claude what earlier sessions left running in that folder: which process, on which port, for how long. Claude no longer has to work out why port 3000 is taken.

  3. Two commands inside Claude Code: /seshka:status lists what closed sessions left running, and /seshka:clean kills it.

The whole plugin is three small shell scripts. Nothing is sent anywhere.

Install it from inside Claude Code:

/plugin install seshka --marketplace jigjoy-ai/seshka

It needs seshka 0.6.0, which the app updates to by itself.

Also new since launch: a Resume button that brings back a session seshka ended, keeping the Mac awake with the lid closed while Claude works, cleaning up worktrees and caches on disk, and a documentation page at

What else would you want Claude Code to tell seshka, or seshka to tell Claude?

3 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.