iterm-two-phase-close-pattern

Official

Safely manage iTerm2 sessions with a robust two-phase close pattern

Authormanifoldlogic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of safely closing iTerm2 sessions, panes, tabs, and windows by implementing a two-phase architecture that minimizes the risk of data loss and ensures atomic operations.

Core Features & Use Cases

  • Two-Phase Architecture: Separates enumeration and deletion phases to enable dry-run previews and confirmation prompts.
  • Reverse Iteration: Ensures correct index handling during deletion to prevent index shifting bugs.
  • User Confirmation: Provides user confirmation for multiple matches to prevent accidental deletions.
  • Dry-Run Mode: Allows users to preview the operations without executing them.
  • Use Case: Ideal for developers and system administrators who need to manage multiple iTerm2 sessions and want to ensure that their operations are safe and reversible.

Quick Start

Use the iterm-two-phase-close-pattern skill to safely close all panes matching the pattern 'agent: tests' in iTerm2.

Dependency Matrix

Required Modules

AppleScriptbash

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: iterm-two-phase-close-pattern
Download link: https://github.com/manifoldlogic/claude-code-plugins/archive/main.zip#iterm-two-phase-close-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.