sessionlisted
Install: claude install-skill getCurrentThread/claude-session-kit
# session — launch a session · reopen an earlier one · reboot and continue
This skill has **real side effects**: it opens terminal tabs, and its heaviest branch **restarts the
computer.** So decide which branch applies first (§0), and run a script only after that branch's gate
has been passed.
Every script lives in this skill's `scripts/` folder and runs under **PowerShell 7 (`pwsh`)**:
```
pwsh -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_SKILL_DIR}/scripts/<script>.ps1" <arguments>
```
`${CLAUDE_SKILL_DIR}` is the folder this skill was loaded from. An installed plugin sits in a
versioned cache path, so never memorise or hard-code a location. Every script prints **one JSON
object on stdout** — branch on `ok` and `code`; `message` is the explanation for the user. Messages
are in English: relay them in the user's language. Any script can also return `INTERNAL_ERROR`
(exit code 2): relay its `message` and do not retry blindly.
The rules below apply to the user's words in whatever language they are spoken.
## 0. Pick the branch — when in doubt, ask instead of running
| The user wants to | Branch | Reversible? |
|---|---|---|
| **open** a new session (new scratch task, a registered alias, a path they gave) | §1 Launch | one tab — close it and it is gone |
| **reopen** an earlier session | §2 Resume | appends to an existing conversation |
| **restart the computer** and continue this session | §3 Reboot | **a restart cannot be undone** |
| cancel or inspect a scheduled