/multisession:setupfrom multisession
Set up Multisession on a machine: shell hooks, Konsole close and layout settings, the Konsole profile, the close guard and KWin watch, on this machine or others over SSH, and apply what an update needs. Use on "set up multisession", "set up Konsole like my other machine", "apply my Konsole profile", "save my Konsole profile", "I can't close a tab without a prompt", "install on the other laptop", "update multisession".
Ships in multisession. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scripts are in this plugin's scripts/. If CLAUDE_PLUGIN_ROOT is empty, see spawn-session section 1.
Requirements: command -v claude konsole python3 systemctl qdbus6. Konsole is required for launching
and restoring. Without systemd user units, skip the watches.
Shell hooks: scripts/install-shell-hooks.sh. It appends one guarded line to ~/.bashrc, so offer it
and don't run it unasked. Rerun it after an update: it refreshes ~/.config/multisession/rc.sh, which
grid.sh checks. New panes pick it up.
Konsole settings: run --dry-run first. Idempotent, and backs up konsolerc.
scripts/konsole-settings.sh --dry-run
scripts/konsole-settings.sh # add --no-watch for settings only
Whole-window close always asks, a single tab or pane closes without asking, split headers and the tab bar show, restore opens side-by-side panes, and the close guard watch is installed.
Verify: kreadconfig6 --file konsolerc --group "Notification Messages" --key CloseSingleTab prints true,
and systemctl --user is-active konsole-close-guard.path prints active.
KWin watch: python3 scripts/compositor_guard.py install-watch. The PreToolUse hook that blocks
KWin-crashing commands comes with the plugin. Skills read from a catalogue do not bring hooks.
Profile (optional):
scripts/konsole-profile.sh --dry-run
scripts/konsole-profile.sh # install templates/konsole/*.profile, set it as default
scripts/konsole-profile.sh --profile NAME
scripts/konsole-profile.sh --capture # copy this machine's default profile into templates/konsole/
An existing profile of the same name is backed up. --capture needs a git checkout, not the plugin
cache: review the diff, commit, push.
Report: what changed. Windows already open keep the old settings until reopened, and the restore
defaults (environment.d) apply from the next login.
Trap: if single tabs keep prompting after this, the installed guard is an old one that also removes
CloseSingleTab. Rerun konsole_close_guard.py install-watch to replace the copy in ~/.local/bin.
The user names the hosts, as SSH aliases or user@host. Do each in turn and report per host. Nothing needs
root. Run remote commands through a login shell (ssh H 'bash -lc "..."'), so ~/.local/bin/claude is found.
Reach it: ssh -o BatchMode=yes -o ConnectTimeout=5 H true. If that fails, report it and move on.
Requirements: as above. Without claude, see remote.
Plugin: claude plugin marketplace add <marketplace>, then claude plugin install multisession@<marketplace>.
If marketplace add says the source doesn't match its extraKnownMarketplaces entry, H's settings has a stale
entry. Back up the file and correct the source, then rerun.
Guards, from the installed copy:
ssh H 'P=$(ls -d ~/.claude/plugins/cache/*/multisession/*/ | sort -V | tail -1);
python3 "$P/scripts/konsole_close_guard.py" fix;
XDG_RUNTIME_DIR=/run/user/$(id -u) python3 "$P/scripts/konsole_close_guard.py" install-watch;
XDG_RUNTIME_DIR=/run/user/$(id -u) python3 "$P/scripts/compositor_guard.py" install-watch;
python3 "$P/scripts/konsole_close_guard.py" check --json'
XDG_RUNTIME_DIR lets systemctl --user work over SSH. If the user isn't logged in on H, install-watch fails.
Report that. The fix still stands.
Never run konsole_close_guard.py test over SSH: it opens a window in front of whoever is there.
claude plugin marketplace update <marketplace>, then claude plugin update multisession@<marketplace>. Then, if
installed, rerun install-shell-hooks.sh and konsole_close_guard.py install-watch, because both keep copies
that don't follow updates, and run check. New or changed skills load in new sessions.
What SKILL.md sets; muted values are Claude Code's defaults
multisession@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin multisession13 skills in this plugin
/breakoutOffload a side job into its own new GitHub repo and its own Claude session, then get back to the work in flight. Creates the repo (public by default, private if it will hold private material or if asked), writes the starting plan, opens a new Claude in a split or tab, and hands it over. Use on "create a new repo for this and hand it over", "side job", "offload this", "spin this off", "new public repo and start Claude on it", "wait, separate idea", "this is a different project", "that should be its own repo", "unrelated, but while I think of it", "new repo, I'll explain", "start a new repo and open Claude there", "create the repo and I'll brief it", or work whose deliverable would not live in this repo's tree. If it also needs a Hugging Face dataset, use breakout-model. Do NOT use for work that belongs in this repo; file that as a task. Do NOT use for carrying the current work into a clean session; that is spawn-fresh. Do NOT use to tell an existing repo's agent something; that is send. Also a model project: a repo plus a linked Hugging Face dataset ("new repo and a Hugging Face dataset for this", "bootstrap a model project")./composeRun any mix of session and desktop actions from one plain request - hand over, start one or more Claude sessions in a split, tab, new window or 2/4-pane grid, open a plain terminal, Dolphin, an editor or a URL, notify the user, keep or close this pane, or run a preset. Use when the user combines them, e.g. "hand over to a new window, open Dolphin and a terminal there, then self-destruct", "two new sessions side by side", "new session below and keep me open", "open this folder in Dolphin and Konsole", "new Claude here", "new Claude at <path>", "Claude grid", "Claude and a shell", "terminal here", "VS Code here", "my sprint layout", "save this as a preset".Other plugins' skills for the same job