From session-manager
Use this skill when the user asks about capturing output from a managed pane or tab, sending commands to running panes, checking pane status, listing managed panes, or interacting with terminal sessions created by session-manager. Triggers on questions like "capture output from pane", "send command to tab", "what panes are running", "check pane status", "get console context", "attach to pane".
How this skill is triggered — by the user, by Claude, or both
Slash command
/session-manager:pane-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill helps interact with terminal panes and tabs managed by the session-manager plugin.
This skill helps interact with terminal panes and tabs managed by the session-manager plugin.
The session-manager plugin tracks panes/tabs created via /session-manager:run-in-pane in a registry at ~/.claude/session-manager/registry.json. Each managed pane has a unique ID in the format sm-XXXXXX.
Retrieve the current content/output from a managed pane:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh capture <id> [--lines N]
<id>: The managed pane ID (e.g., sm-abc123)--lines N: Number of lines to capture (default: 100)Example:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh capture sm-abc123 --lines 50
Execute a command in an existing managed pane:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh send <id> <command>
Example:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh send sm-abc123 "npm test"
Show all panes tracked by session-manager:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh list
Output includes: ID, type (tmux/iterm), pane ID, status, and initial command.
Verify if a pane is still active or has become stale:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh status <id>
Returns: active or stale
Remove registry entries for panes that no longer exist:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh cleanup
The pane registry is stored at: ~/.claude/session-manager/registry.json
Each entry contains:
id: Managed pane IDtype: Terminal type (tmux or iterm)pane_id: Underlying terminal pane/session IDcreated_at: ISO timestampworking_directory: Directory where command was startedinitial_command: The command that was runstatus: Current statuslist to see available panescleanup and creating a new panenpx claudepluginhub koromiko/my_claudecode_marketplace --plugin session-managerManages TMUX background processes: starts services in named panes of a 'claude-controlled' window, checks output, restarts, finds existing panes by title.
Manages tmux sessions, windows, and panes for terminal multiplexing, persistent remote workflows surviving SSH disconnects, multi-pane layouts, and shell scripting automation.