npx claudepluginhub koromiko/my_claudecode_marketplace --plugin session-managerWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
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".
This skill uses the workspace's default tool permissions.
Pane Context Skill
This skill helps interact with terminal panes and tabs managed by the session-manager plugin.
Overview
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.
Available Operations
Capture Output from a Pane
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
Send Command to a Pane
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"
List All Managed Panes
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.
Check Pane Status
Verify if a pane is still active or has become stale:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh status <id>
Returns: active or stale
Cleanup Stale Entries
Remove registry entries for panes that no longer exist:
${CLAUDE_PLUGIN_ROOT}/scripts/session-manager.sh cleanup
Registry Location
The pane registry is stored at: ~/.claude/session-manager/registry.json
Each entry contains:
id: Managed pane IDtype: Terminal type (tmuxoriterm)pane_id: Underlying terminal pane/session IDcreated_at: ISO timestampworking_directory: Directory where command was startedinitial_command: The command that was runstatus: Current status
Best Practices
- Always list panes first when the user asks about "their panes" or "running tabs"
- Check status before sending commands to verify the pane still exists
- Capture output to get context about what's happening in a pane
- Run cleanup periodically to remove stale entries from closed panes
Error Handling
- If a pane ID is not found, suggest running
listto see available panes - If a pane is stale, suggest running
cleanupand creating a new pane - If capture fails for iTerm, note that iTerm output capture is limited compared to tmux
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.