pane-management

Manage iTerm2 panes via AppleScript and SSH for container environments.

Updated Nov 9, 2025
One-click install
npx skills add https://github.com/manifoldlogic/claude-code-plugins --skill pane-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pane-management
Source: https://github.com/manifoldlogic/claude-code-plugins/tree/main/plugins/iterm/skills/pane-management
Command: npx skills add https://github.com/manifoldlogic/claude-code-plugins --skill pane-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires osascript, ssh, and includes scripts (resource) components.

What problem does it solve?

This Skill provides streamlined pane management capabilities for iTerm2, enabling users to easily split, list, and close panes within existing tabs, enhancing productivity and efficiency.

Core Features & Use Cases

  • Pane Splitting: Automatically split iTerm2 panes vertically or horizontally based on user preferences.
  • Pane Listing: Quickly list all panes across windows and tabs with optional filtering.
  • Pane Closing: Close panes by substring pattern matching with confirmation prompts, supporting JSON and table output formats for automation.
  • Use Case: Imagine you're working on a complex project and need to compare logs from two different files simultaneously. Use this Skill to split your iTerm2 window side by side and list all open panes to easily manage your workflow.

Quick Start

Use the iterm pane-management skill to split your current iTerm2 window vertically and run a command in the new pane.

Frequently Asked Questions about pane-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split an iTerm2 pane vertically or horizontally?

To split iTerm2 panes vertically or horizontally, this Skill uses AppleScript to automatically divide your current window based on your defined preferences. It executes the split operation within existing tabs to enhance productivity.

How do I list all open iTerm2 panes across windows?

You can list all open iTerm2 panes across windows and tabs using this Skill, which offers optional filtering to help you quickly locate specific panes. It organizes your workflow for easier management.

Can I close specific iTerm2 panes by matching a pattern?

Yes, you can close iTerm2 panes by substring pattern matching with this Skill. It includes confirmation prompts and supports JSON and table output formats to facilitate safe pane closing automation.

Do I need AppleScript permissions to manage iTerm2 panes?

Yes, AppleScript permissions are required to manage iTerm2 panes in host mode. If you are operating in container mode, SSH access is required instead to execute the pane operations.

Does iTerm2 pane management work within SSH container environments?

iTerm2 pane management works within SSH container environments by utilizing SSH access to handle splitting, listing, and closing panes based on your configurations and user-defined patterns.