/multisession:composefrom multisession
Run 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".
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.
The other Multisession skills are fixed recipes. This one takes the user's words, turns them into a list of actions and runs them in order. Add a new action here, not a new skill.
Scripts are in this plugin's scripts/. spawn-session says where to find them if CLAUDE_PLUGIN_ROOT is empty.
| Action | Does | How |
|---|---|---|
handover | Write the task to a file | handover skill format, or continue-sprint section 2 if the same work carries on. spawn-fresh section 1 for a new task |
session | A new named Claude | spawn-session.sh --name N --dir D --layout L --direction R |
send | Point a session at its handover | spawn-session section 2, with notify_when_idle: true. A session started with no task needs none |
receipt | Wait for a session to confirm it read the handover | handover section 3a. Implied before close |
grid | A new window of 2 or 4 panes, each a named Claude or a plain shell | grid.sh --dir D --panes a,b,-,-. - is a plain shell. Order: left, right, or top left, top right, bottom left, bottom right |
terminal | A plain shell in a folder, no Claude | spawn-session.sh --terminal --dir D --layout L --direction R |
files | Dolphin in a folder | open-files.sh D |
editor | The user's editor in a folder | setsid -f ${VISUAL:-code} D, or the editor key in the config |
browser | Open a URL | xdg-open URL |
notify | Tell the user something is done | notify skill. A phone call needs the go-ahead that skill describes |
close | Self-destruct this pane | close-pane.sh --delay 6, as in continue-sprint section 5 |
keep | Leave this pane open | Do nothing |
Where things go:
The user's own words come first. If ~/.config/multisession/config.json has a vocabulary key,
map the request with it before using the table below. It lists phrases (what they say → layout and
direction) and a default for when they say nothing. Users differ, and some call side-by-side panes a
"horizontal split" or even a "horizontal tab". When a phrase isn't in either list, pick the closest match
and say in one line which way you went. When the user corrects you, add their phrase to vocabulary
(merge, keep the other keys), so the next session gets it right.
| User says | --layout | --direction |
|---|---|---|
| "split", "beside", "side by side", "to the right", "vertical split", no preference | split | right |
| "below", "underneath", "stacked" | split | down |
| "tab" | tab | |
| "new window", "in a window" | window |
People use "vertical" and "horizontal" split in opposite ways, so neither word is in this table. Use the
user's vocabulary. Without it, ask once if it matters, or use right and say so.
A folder not named means the directory of the session being started, or the current one.
close, or more than two
sessions, check nothing in it is a guess. Otherwise just go.handover first, so a new session never waits. Then session and send for each session.
Then terminal and files. close is always last, with the report just before it.session or send fails, stop, keep this pane open, and report which
actions ran. Never retry blind: that stacks up panes. A failed terminal or files is only reported.close is earned. It needs a receipt from every session handed work in this plan, so ask for one
in each send. No receipt means the pane stays open. Then follow continue-sprint section 5. If the user did not say
close, keep the pane, unless the recipe they named closes by default.A preset is a saved plan, kept with the user's own settings in ~/.config/multisession/config.json,
never in this plugin, so it survives updates. "Save this as my sprint layout" adds one:
{
"presets": {
"sprint": {
"description": "Carry on in a new window, with the repo open beside it",
"plan": ["handover", "session window", "send", "files", "terminal window", "close"]
}
}
}
Steps use the notation below. {dir} and {url} in a step are filled in from the request or the current
directory. Merge into the file, keeping its other keys. On "my sprint layout", or compose sprint, read the
preset and run it as a plan: the rules above still apply, so close must still be earned. Words in the
request win over the preset, so "my sprint layout, but keep me open" swaps close for keep. "What
presets do I have" lists them.
Plans that need no saving. A saved preset of the same name wins. {dir} is the current directory, unless the user
named one. Names are the user's words for them, so match loosely.
| Say | Plan |
|---|---|
| "New Claude here", "jump to a new Claude" | session window -> close. For when this session can't pick up a change without a restart. Nothing carries over, so offer a handover if context matters. It has no handover, so close needs only the window to be up |
| "New Claude at " | session window in that path -> keep. An optional first task goes through send |
| "Claude grid", "two Claudes", "four Claudes" | grid with 2 or 4 names. Default 2. Any other count: ask, because the layout is a guess |
| "Claude and a shell" | grid --panes <name>,- |
| "Terminal here" | terminal window -> keep |
| "VS Code here", "open in VS Code" | editor -> keep. If code is missing, try codium, else report it |
"Hand over in a new window, open Dolphin and a terminal there, then self-destruct":
handover -> session (window) -> send -> files -> terminal (window) -> receipt -> report -> close
"Two new sessions side by side on these tasks, and keep me open":
handover x2 -> session (split, right) -> send -> session (split, right) -> send -> keep
"Open the repo in Konsole and Dolphin": terminal (window) -> files -> keep
grid always opens a new window. Konsole has no way to re-tile an existing one from here.window action's
Claude session is not one until Claude exits, so splits made from it become tabs.What SKILL.md sets; muted values are Claude Code's defaults
13 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")./continue-sprintRefresh the context mid-sprint. Carry a long, multi-step piece of work into a fresh session without losing decisions: writes a sprint handover (what the user decided, in their words where it matters, plus state, plan and traps), then starts the new session and closes this one. Use on "continue sprint", "context refresh", "refresh the context and carry on", "we're running tight on context", "summarise where we are and continue in a new session", "great progress, let's move to the next part of the sprint", "next phase in a new session". For a finished task with an unrelated next one, use spawn-fresh./guardProtect a window full of Claude sessions and find out what killed one. Turns Konsole's close prompts back on and keeps them on, blocks commands known to crash KWin, watches for KWin crashes, and diagnoses a loss (a silent close, a Konsole crash or a KWin crash). Use on "terminal closed without asking", "why does Konsole keep crashing", "it happened again", "lost all my sessions again"./handoverHand this session's work to another running Claude Code session with the built-in SendMessage, leave the payload in a shared agent-to-agent space (local folder, or a Google Drive folder for agents on other machines), wait for a receipt, then close this session's own Konsole pane. Also a handover with a task list, a short clipboard handover, and picking up from an earlier handover. Use on "hand this over to <agent>", "hand over to @<agent> when ready", "I opened a new session, hand over to it", "pass this to the other session and close", "handover and quit", "send this to the agent in X and close this pane", "hand off to the remote agent via Drive", "handover", "wrap up", "handover with tasks", "clipboard handover", "start from handover", "resume from this handover". Parameters: target peer, space (local | drive), files to attach, close (default yes). Do NOT use to get a peer to do something this session was denied./inboxRead and act on messages that agents in other repositories left in this repo's a2a/ folder, including setting any reminder a message asks for in this session's own scheduler, and re-reading a living message on the interval it asks for (watch:). Use when the session-start notice says "multisession: N open message(s)", when a cross-session message says a file is waiting in a2a/, when the user says "check your a2a", "read the message agent A left", "you've got mail from the other repo", or when a session starts in a new, near-empty repo whose a2a/ holds a founding brief. Do NOT use for messages you are sending; that is multisession:send./notifyReach the user when they are away from the terminal: a desktop notification, or a real phone call through Vapi that says what Claude is stuck on. Also a compose action. Use on "call me when it's done", "phone me if you get stuck", "let me know when this finishes", "ping me", "set up phone calls".Other plugins' skills for the same job
multisession@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin multisession