GiuseppeBellamacina

Session Manager — Development skill for Claude Code

Development community

See every Claude Code session on your computer, open one, move it (or a whole project) to another folder, and delete sessions or the orphans, always with a preview and a confirmation.

How to install Session Manager

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

What Session Manager does

See every Claude Code session on your computer, open one, move it (or a whole project) to another folder, and delete sessions or the orphans, always with a preview and a confirmation.

Alternatives in Development

  • Reap Orphans — 扫描并清理本地过期的 PUA agent/state 19.5k ★
  • Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★
  • Comma — Best free & open source personal agent 172 ★

README

session-manager

Every [Claude Code](https://code.claude.com) session on your computer, in one place: see them all, open one, **move a session (or a whole project) to another folder** when the project moved, and **delete sessions, or all the orphans at once**. Every change is shown first and done only after you confirm.

It comes with a page in your browser, in the style of [omniboard](https://github.com/GiuseppeBellamacina/omniboard), and with `/sessions` commands for the same things from the chat.

Why

Claude Code keeps a session in `~/.claude/projects//.jsonl`, and `/resume` shows only the sessions of the folder you are in. Move or rename a project and its sessions are stranded: they are still on disk (some are 100 MB), but nothing shows them where you need them. This plugin brings them with the project, and clears the ones whose folder is gone for good.

Install

/plugin marketplace add GiuseppeBellamacina/session-manager
/plugin install session-manager@session-manager

Where `/plugin` is not available (the VS Code extension), use a terminal:

claude plugin marketplace add GiuseppeBellamacina/session-manager
claude plugin install session-manager@session-manager

Then `/reload-plugins`. [Node.js](https://nodejs.org) 18 or later is needed (standard library only, nothing to `npm install`), as for omniboard.

The page

`/sessions` opens it. Sessions are grouped by the folder they started in, the latest first (or the largest). A group whose folder is gone is marked **folder missing**.

  • Open: VS Code (resumes the session in the Claude Code panel), Terminal (a terminal in its folder with claude --resume, on Windows) or Copy command.
  • Move…: asks for the full path of the folder, then shows what will change.
  • Move project… on a group: every session of that project follows it to its new folder.
  • Delete…, one or several (tick the boxes), and Delete N orphans for the whole lot.
  • Search by