← ClaudeAtlas

managelisted

Session manager — keep the saved list of Claude Code sessions up to date automatically instead of saving by hand — once turned on, every new or resumed session is added (with its folder, shell and terminal) and sessions exited on purpose are dropped, so a sudden close, crash or reboot never loses track of them; reopen them later with the `restore` skill. Also turns this off again and reports its status. Use when the user says "manage sessions", "session manager", "start the session manager", "track my sessions automatically", "auto-save my sessions", "manage sessions from scratch", "stop managing sessions", "turn off the session manager", "are my sessions being managed?". Windows, Linux and macOS.
vslipchenko/ai · ★ 0 · AI & Automation · score 70
Install: claude install-skill vslipchenko/ai
# Sessions — Manage Automatic alternative to `save`. While managing is on, the plugin's hooks run in every Claude Code session on this machine (in this Claude Code install): - a session that **starts or is resumed** is added to the saved list (or updated, if it's already there); - a session the user **exits on purpose** (`/exit`, Ctrl+D, `/logout`) is dropped; `/clear` and `/resume` swap it for the new session; - a session that is **cut off** — window closed, process killed, crash, power loss, reboot — stays on the list. The list is the same snapshot `restore` reopens. Managing stays on until turned off, across reboots. ## Script Pick the command for the OS you're running on (the environment tells you the platform); the options and JSON output are identical. - **Windows** — run with the PowerShell tool (or Bash): ``` powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/scripts/sessions.ps1" <command> [options] ``` - **Linux and macOS** — run with Bash: ``` python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sessions.py" <command> [options] ``` If `python3` is not installed, tell the user the plugin needs Python 3 and stop: on Linux e.g. `sudo apt install python3`; on macOS `xcode-select --install` (Apple's Command Line Tools, which include `/usr/bin/python3`). If `${CLAUDE_PLUGIN_ROOT}` above was not replaced with a real path, use the folder two levels above this skill's base directory instead. Pass `-DataDir "${CLAUDE_PLUGIN_DATA}"` ex